Documentation
¶
Index ¶
- Constants
- Variables
- func Addr(v string) predicate.Customer
- func AddrContains(v string) predicate.Customer
- func AddrContainsFold(v string) predicate.Customer
- func AddrEQ(v string) predicate.Customer
- func AddrEqualFold(v string) predicate.Customer
- func AddrGT(v string) predicate.Customer
- func AddrGTE(v string) predicate.Customer
- func AddrHasPrefix(v string) predicate.Customer
- func AddrHasSuffix(v string) predicate.Customer
- func AddrIn(vs ...string) predicate.Customer
- func AddrLT(v string) predicate.Customer
- func AddrLTE(v string) predicate.Customer
- func AddrNEQ(v string) predicate.Customer
- func AddrNotIn(vs ...string) predicate.Customer
- func Age(v int32) predicate.Customer
- func AgeEQ(v int32) predicate.Customer
- func AgeGT(v int32) predicate.Customer
- func AgeGTE(v int32) predicate.Customer
- func AgeIn(vs ...int32) predicate.Customer
- func AgeLT(v int32) predicate.Customer
- func AgeLTE(v int32) predicate.Customer
- func AgeNEQ(v int32) predicate.Customer
- func AgeNotIn(vs ...int32) predicate.Customer
- func And(predicates ...predicate.Customer) predicate.Customer
- func CreatedAt(v time.Time) predicate.Customer
- func CreatedAtEQ(v time.Time) predicate.Customer
- func CreatedAtGT(v time.Time) predicate.Customer
- func CreatedAtGTE(v time.Time) predicate.Customer
- func CreatedAtIn(vs ...time.Time) predicate.Customer
- func CreatedAtLT(v time.Time) predicate.Customer
- func CreatedAtLTE(v time.Time) predicate.Customer
- func CreatedAtNEQ(v time.Time) predicate.Customer
- func CreatedAtNotIn(vs ...time.Time) predicate.Customer
- func ID(id int) predicate.Customer
- func IDEQ(id int) predicate.Customer
- func IDGT(id int) predicate.Customer
- func IDGTE(id int) predicate.Customer
- func IDIn(ids ...int) predicate.Customer
- func IDLT(id int) predicate.Customer
- func IDLTE(id int) predicate.Customer
- func IDNEQ(id int) predicate.Customer
- func IDNotIn(ids ...int) predicate.Customer
- func Name(v string) predicate.Customer
- func NameContains(v string) predicate.Customer
- func NameContainsFold(v string) predicate.Customer
- func NameEQ(v string) predicate.Customer
- func NameEqualFold(v string) predicate.Customer
- func NameGT(v string) predicate.Customer
- func NameGTE(v string) predicate.Customer
- func NameHasPrefix(v string) predicate.Customer
- func NameHasSuffix(v string) predicate.Customer
- func NameIn(vs ...string) predicate.Customer
- func NameLT(v string) predicate.Customer
- func NameLTE(v string) predicate.Customer
- func NameNEQ(v string) predicate.Customer
- func NameNotIn(vs ...string) predicate.Customer
- func Not(p predicate.Customer) predicate.Customer
- func Or(predicates ...predicate.Customer) predicate.Customer
- func UpdatedAt(v time.Time) predicate.Customer
- func UpdatedAtEQ(v time.Time) predicate.Customer
- func UpdatedAtGT(v time.Time) predicate.Customer
- func UpdatedAtGTE(v time.Time) predicate.Customer
- func UpdatedAtIn(vs ...time.Time) predicate.Customer
- func UpdatedAtLT(v time.Time) predicate.Customer
- func UpdatedAtLTE(v time.Time) predicate.Customer
- func UpdatedAtNEQ(v time.Time) predicate.Customer
- func UpdatedAtNotIn(vs ...time.Time) predicate.Customer
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the customer type in the database. Label = "customer" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAddr holds the string denoting the addr field in the database. FieldAddr = "addr" // FieldAge holds the string denoting the age field in the database. FieldAge = "age" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the customer in the database. Table = "customers" )
Variables ¶
var Columns = []string{ FieldID, FieldAddr, FieldAge, FieldName, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for customer fields.
Functions ¶
func AddrContains ¶
AddrContains applies the Contains predicate on the "addr" field.
func AddrContainsFold ¶
AddrContainsFold applies the ContainsFold predicate on the "addr" field.
func AddrEqualFold ¶
AddrEqualFold applies the EqualFold predicate on the "addr" field.
func AddrHasPrefix ¶
AddrHasPrefix applies the HasPrefix predicate on the "addr" field.
func AddrHasSuffix ¶
AddrHasSuffix applies the HasSuffix predicate on the "addr" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.