Documentation ¶
Index ¶
- Constants
- Variables
- func Active(v schema.Status) predicate.FieldType
- func ActiveEQ(v schema.Status) predicate.FieldType
- func ActiveIsNil() predicate.FieldType
- func ActiveNEQ(v schema.Status) predicate.FieldType
- func ActiveNotNil() predicate.FieldType
- func And(predicates ...predicate.FieldType) predicate.FieldType
- func Datetime(v time.Time) predicate.FieldType
- func DatetimeEQ(v time.Time) predicate.FieldType
- func DatetimeGT(v time.Time) predicate.FieldType
- func DatetimeGTE(v time.Time) predicate.FieldType
- func DatetimeIn(vs ...time.Time) predicate.FieldType
- func DatetimeIsNil() predicate.FieldType
- func DatetimeLT(v time.Time) predicate.FieldType
- func DatetimeLTE(v time.Time) predicate.FieldType
- func DatetimeNEQ(v time.Time) predicate.FieldType
- func DatetimeNotIn(vs ...time.Time) predicate.FieldType
- func DatetimeNotNil() predicate.FieldType
- func Decimal(v float64) predicate.FieldType
- func DecimalEQ(v float64) predicate.FieldType
- func DecimalGT(v float64) predicate.FieldType
- func DecimalGTE(v float64) predicate.FieldType
- func DecimalIn(vs ...float64) predicate.FieldType
- func DecimalIsNil() predicate.FieldType
- func DecimalLT(v float64) predicate.FieldType
- func DecimalLTE(v float64) predicate.FieldType
- func DecimalNEQ(v float64) predicate.FieldType
- func DecimalNotIn(vs ...float64) predicate.FieldType
- func DecimalNotNil() predicate.FieldType
- func Deleted(v sql.NullBool) predicate.FieldType
- func DeletedAt(v sql.NullTime) predicate.FieldType
- func DeletedAtEQ(v sql.NullTime) predicate.FieldType
- func DeletedAtGT(v sql.NullTime) predicate.FieldType
- func DeletedAtGTE(v sql.NullTime) predicate.FieldType
- func DeletedAtIn(vs ...sql.NullTime) predicate.FieldType
- func DeletedAtIsNil() predicate.FieldType
- func DeletedAtLT(v sql.NullTime) predicate.FieldType
- func DeletedAtLTE(v sql.NullTime) predicate.FieldType
- func DeletedAtNEQ(v sql.NullTime) predicate.FieldType
- func DeletedAtNotIn(vs ...sql.NullTime) predicate.FieldType
- func DeletedAtNotNil() predicate.FieldType
- func DeletedEQ(v sql.NullBool) predicate.FieldType
- func DeletedIsNil() predicate.FieldType
- func DeletedNEQ(v sql.NullBool) predicate.FieldType
- func DeletedNotNil() predicate.FieldType
- func Dir(v http.Dir) predicate.FieldType
- func DirContains(v http.Dir) predicate.FieldType
- func DirContainsFold(v http.Dir) predicate.FieldType
- func DirEQ(v http.Dir) predicate.FieldType
- func DirEqualFold(v http.Dir) predicate.FieldType
- func DirGT(v http.Dir) predicate.FieldType
- func DirGTE(v http.Dir) predicate.FieldType
- func DirHasPrefix(v http.Dir) predicate.FieldType
- func DirHasSuffix(v http.Dir) predicate.FieldType
- func DirIn(vs ...http.Dir) predicate.FieldType
- func DirIsNil() predicate.FieldType
- func DirLT(v http.Dir) predicate.FieldType
- func DirLTE(v http.Dir) predicate.FieldType
- func DirNEQ(v http.Dir) predicate.FieldType
- func DirNotIn(vs ...http.Dir) predicate.FieldType
- func DirNotNil() predicate.FieldType
- func ID(id int) predicate.FieldType
- func IDEQ(id int) predicate.FieldType
- func IDGT(id int) predicate.FieldType
- func IDGTE(id int) predicate.FieldType
- func IDIn(ids ...int) predicate.FieldType
- func IDLT(id int) predicate.FieldType
- func IDLTE(id int) predicate.FieldType
- func IDNEQ(id int) predicate.FieldType
- func IDNotIn(ids ...int) predicate.FieldType
- func IP(v net.IP) predicate.FieldType
- func IPEQ(v net.IP) predicate.FieldType
- func IPGT(v net.IP) predicate.FieldType
- func IPGTE(v net.IP) predicate.FieldType
- func IPIn(vs ...net.IP) predicate.FieldType
- func IPIsNil() predicate.FieldType
- func IPLT(v net.IP) predicate.FieldType
- func IPLTE(v net.IP) predicate.FieldType
- func IPNEQ(v net.IP) predicate.FieldType
- func IPNotIn(vs ...net.IP) predicate.FieldType
- func IPNotNil() predicate.FieldType
- func Int(v int) predicate.FieldType
- func Int16(v int16) predicate.FieldType
- func Int16EQ(v int16) predicate.FieldType
- func Int16GT(v int16) predicate.FieldType
- func Int16GTE(v int16) predicate.FieldType
- func Int16In(vs ...int16) predicate.FieldType
- func Int16LT(v int16) predicate.FieldType
- func Int16LTE(v int16) predicate.FieldType
- func Int16NEQ(v int16) predicate.FieldType
- func Int16NotIn(vs ...int16) predicate.FieldType
- func Int32(v int32) predicate.FieldType
- func Int32EQ(v int32) predicate.FieldType
- func Int32GT(v int32) predicate.FieldType
- func Int32GTE(v int32) predicate.FieldType
- func Int32In(vs ...int32) predicate.FieldType
- func Int32LT(v int32) predicate.FieldType
- func Int32LTE(v int32) predicate.FieldType
- func Int32NEQ(v int32) predicate.FieldType
- func Int32NotIn(vs ...int32) predicate.FieldType
- func Int64(v int64) predicate.FieldType
- func Int64EQ(v int64) predicate.FieldType
- func Int64GT(v int64) predicate.FieldType
- func Int64GTE(v int64) predicate.FieldType
- func Int64In(vs ...int64) predicate.FieldType
- func Int64LT(v int64) predicate.FieldType
- func Int64LTE(v int64) predicate.FieldType
- func Int64NEQ(v int64) predicate.FieldType
- func Int64NotIn(vs ...int64) predicate.FieldType
- func Int8(v int8) predicate.FieldType
- func Int8EQ(v int8) predicate.FieldType
- func Int8GT(v int8) predicate.FieldType
- func Int8GTE(v int8) predicate.FieldType
- func Int8In(vs ...int8) predicate.FieldType
- func Int8LT(v int8) predicate.FieldType
- func Int8LTE(v int8) predicate.FieldType
- func Int8NEQ(v int8) predicate.FieldType
- func Int8NotIn(vs ...int8) predicate.FieldType
- func IntEQ(v int) predicate.FieldType
- func IntGT(v int) predicate.FieldType
- func IntGTE(v int) predicate.FieldType
- func IntIn(vs ...int) predicate.FieldType
- func IntLT(v int) predicate.FieldType
- func IntLTE(v int) predicate.FieldType
- func IntNEQ(v int) predicate.FieldType
- func IntNotIn(vs ...int) predicate.FieldType
- func Link(v schema.Link) predicate.FieldType
- func LinkContains(v schema.Link) predicate.FieldType
- func LinkContainsFold(v schema.Link) predicate.FieldType
- func LinkEQ(v schema.Link) predicate.FieldType
- func LinkEqualFold(v schema.Link) predicate.FieldType
- func LinkGT(v schema.Link) predicate.FieldType
- func LinkGTE(v schema.Link) predicate.FieldType
- func LinkHasPrefix(v schema.Link) predicate.FieldType
- func LinkHasSuffix(v schema.Link) predicate.FieldType
- func LinkIn(vs ...schema.Link) predicate.FieldType
- func LinkIsNil() predicate.FieldType
- func LinkLT(v schema.Link) predicate.FieldType
- func LinkLTE(v schema.Link) predicate.FieldType
- func LinkNEQ(v schema.Link) predicate.FieldType
- func LinkNotIn(vs ...schema.Link) predicate.FieldType
- func LinkNotNil() predicate.FieldType
- func Ndir(v http.Dir) predicate.FieldType
- func NdirContains(v http.Dir) predicate.FieldType
- func NdirContainsFold(v http.Dir) predicate.FieldType
- func NdirEQ(v http.Dir) predicate.FieldType
- func NdirEqualFold(v http.Dir) predicate.FieldType
- func NdirGT(v http.Dir) predicate.FieldType
- func NdirGTE(v http.Dir) predicate.FieldType
- func NdirHasPrefix(v http.Dir) predicate.FieldType
- func NdirHasSuffix(v http.Dir) predicate.FieldType
- func NdirIn(vs ...http.Dir) predicate.FieldType
- func NdirIsNil() predicate.FieldType
- func NdirLT(v http.Dir) predicate.FieldType
- func NdirLTE(v http.Dir) predicate.FieldType
- func NdirNEQ(v http.Dir) predicate.FieldType
- func NdirNotIn(vs ...http.Dir) predicate.FieldType
- func NdirNotNil() predicate.FieldType
- func NillableInt(v int) predicate.FieldType
- func NillableInt16(v int16) predicate.FieldType
- func NillableInt16EQ(v int16) predicate.FieldType
- func NillableInt16GT(v int16) predicate.FieldType
- func NillableInt16GTE(v int16) predicate.FieldType
- func NillableInt16In(vs ...int16) predicate.FieldType
- func NillableInt16IsNil() predicate.FieldType
- func NillableInt16LT(v int16) predicate.FieldType
- func NillableInt16LTE(v int16) predicate.FieldType
- func NillableInt16NEQ(v int16) predicate.FieldType
- func NillableInt16NotIn(vs ...int16) predicate.FieldType
- func NillableInt16NotNil() predicate.FieldType
- func NillableInt32(v int32) predicate.FieldType
- func NillableInt32EQ(v int32) predicate.FieldType
- func NillableInt32GT(v int32) predicate.FieldType
- func NillableInt32GTE(v int32) predicate.FieldType
- func NillableInt32In(vs ...int32) predicate.FieldType
- func NillableInt32IsNil() predicate.FieldType
- func NillableInt32LT(v int32) predicate.FieldType
- func NillableInt32LTE(v int32) predicate.FieldType
- func NillableInt32NEQ(v int32) predicate.FieldType
- func NillableInt32NotIn(vs ...int32) predicate.FieldType
- func NillableInt32NotNil() predicate.FieldType
- func NillableInt64(v int64) predicate.FieldType
- func NillableInt64EQ(v int64) predicate.FieldType
- func NillableInt64GT(v int64) predicate.FieldType
- func NillableInt64GTE(v int64) predicate.FieldType
- func NillableInt64In(vs ...int64) predicate.FieldType
- func NillableInt64IsNil() predicate.FieldType
- func NillableInt64LT(v int64) predicate.FieldType
- func NillableInt64LTE(v int64) predicate.FieldType
- func NillableInt64NEQ(v int64) predicate.FieldType
- func NillableInt64NotIn(vs ...int64) predicate.FieldType
- func NillableInt64NotNil() predicate.FieldType
- func NillableInt8(v int8) predicate.FieldType
- func NillableInt8EQ(v int8) predicate.FieldType
- func NillableInt8GT(v int8) predicate.FieldType
- func NillableInt8GTE(v int8) predicate.FieldType
- func NillableInt8In(vs ...int8) predicate.FieldType
- func NillableInt8IsNil() predicate.FieldType
- func NillableInt8LT(v int8) predicate.FieldType
- func NillableInt8LTE(v int8) predicate.FieldType
- func NillableInt8NEQ(v int8) predicate.FieldType
- func NillableInt8NotIn(vs ...int8) predicate.FieldType
- func NillableInt8NotNil() predicate.FieldType
- func NillableIntEQ(v int) predicate.FieldType
- func NillableIntGT(v int) predicate.FieldType
- func NillableIntGTE(v int) predicate.FieldType
- func NillableIntIn(vs ...int) predicate.FieldType
- func NillableIntIsNil() predicate.FieldType
- func NillableIntLT(v int) predicate.FieldType
- func NillableIntLTE(v int) predicate.FieldType
- func NillableIntNEQ(v int) predicate.FieldType
- func NillableIntNotIn(vs ...int) predicate.FieldType
- func NillableIntNotNil() predicate.FieldType
- func Not(p predicate.FieldType) predicate.FieldType
- func NullActive(v schema.Status) predicate.FieldType
- func NullActiveEQ(v schema.Status) predicate.FieldType
- func NullActiveIsNil() predicate.FieldType
- func NullActiveNEQ(v schema.Status) predicate.FieldType
- func NullActiveNotNil() predicate.FieldType
- func NullFloatIsNil() predicate.FieldType
- func NullFloatNotNil() predicate.FieldType
- func NullInt64IsNil() predicate.FieldType
- func NullInt64NotNil() predicate.FieldType
- func NullLink(v schema.Link) predicate.FieldType
- func NullLinkContains(v schema.Link) predicate.FieldType
- func NullLinkContainsFold(v schema.Link) predicate.FieldType
- func NullLinkEQ(v schema.Link) predicate.FieldType
- func NullLinkEqualFold(v schema.Link) predicate.FieldType
- func NullLinkGT(v schema.Link) predicate.FieldType
- func NullLinkGTE(v schema.Link) predicate.FieldType
- func NullLinkHasPrefix(v schema.Link) predicate.FieldType
- func NullLinkHasSuffix(v schema.Link) predicate.FieldType
- func NullLinkIn(vs ...schema.Link) predicate.FieldType
- func NullLinkIsNil() predicate.FieldType
- func NullLinkLT(v schema.Link) predicate.FieldType
- func NullLinkLTE(v schema.Link) predicate.FieldType
- func NullLinkNEQ(v schema.Link) predicate.FieldType
- func NullLinkNotIn(vs ...schema.Link) predicate.FieldType
- func NullLinkNotNil() predicate.FieldType
- func NullStr(v sql.NullString) predicate.FieldType
- func NullStrContains(v sql.NullString) predicate.FieldType
- func NullStrContainsFold(v sql.NullString) predicate.FieldType
- func NullStrEQ(v sql.NullString) predicate.FieldType
- func NullStrEqualFold(v sql.NullString) predicate.FieldType
- func NullStrGT(v sql.NullString) predicate.FieldType
- func NullStrGTE(v sql.NullString) predicate.FieldType
- func NullStrHasPrefix(v sql.NullString) predicate.FieldType
- func NullStrHasSuffix(v sql.NullString) predicate.FieldType
- func NullStrIn(vs ...sql.NullString) predicate.FieldType
- func NullStrIsNil() predicate.FieldType
- func NullStrLT(v sql.NullString) predicate.FieldType
- func NullStrLTE(v sql.NullString) predicate.FieldType
- func NullStrNEQ(v sql.NullString) predicate.FieldType
- func NullStrNotIn(vs ...sql.NullString) predicate.FieldType
- func NullStrNotNil() predicate.FieldType
- func OptionalFloat(v float64) predicate.FieldType
- func OptionalFloat32(v float32) predicate.FieldType
- func OptionalFloat32EQ(v float32) predicate.FieldType
- func OptionalFloat32GT(v float32) predicate.FieldType
- func OptionalFloat32GTE(v float32) predicate.FieldType
- func OptionalFloat32In(vs ...float32) predicate.FieldType
- func OptionalFloat32IsNil() predicate.FieldType
- func OptionalFloat32LT(v float32) predicate.FieldType
- func OptionalFloat32LTE(v float32) predicate.FieldType
- func OptionalFloat32NEQ(v float32) predicate.FieldType
- func OptionalFloat32NotIn(vs ...float32) predicate.FieldType
- func OptionalFloat32NotNil() predicate.FieldType
- func OptionalFloatEQ(v float64) predicate.FieldType
- func OptionalFloatGT(v float64) predicate.FieldType
- func OptionalFloatGTE(v float64) predicate.FieldType
- func OptionalFloatIn(vs ...float64) predicate.FieldType
- func OptionalFloatIsNil() predicate.FieldType
- func OptionalFloatLT(v float64) predicate.FieldType
- func OptionalFloatLTE(v float64) predicate.FieldType
- func OptionalFloatNEQ(v float64) predicate.FieldType
- func OptionalFloatNotIn(vs ...float64) predicate.FieldType
- func OptionalFloatNotNil() predicate.FieldType
- func OptionalInt(v int) predicate.FieldType
- func OptionalInt16(v int16) predicate.FieldType
- func OptionalInt16EQ(v int16) predicate.FieldType
- func OptionalInt16GT(v int16) predicate.FieldType
- func OptionalInt16GTE(v int16) predicate.FieldType
- func OptionalInt16In(vs ...int16) predicate.FieldType
- func OptionalInt16IsNil() predicate.FieldType
- func OptionalInt16LT(v int16) predicate.FieldType
- func OptionalInt16LTE(v int16) predicate.FieldType
- func OptionalInt16NEQ(v int16) predicate.FieldType
- func OptionalInt16NotIn(vs ...int16) predicate.FieldType
- func OptionalInt16NotNil() predicate.FieldType
- func OptionalInt32(v int32) predicate.FieldType
- func OptionalInt32EQ(v int32) predicate.FieldType
- func OptionalInt32GT(v int32) predicate.FieldType
- func OptionalInt32GTE(v int32) predicate.FieldType
- func OptionalInt32In(vs ...int32) predicate.FieldType
- func OptionalInt32IsNil() predicate.FieldType
- func OptionalInt32LT(v int32) predicate.FieldType
- func OptionalInt32LTE(v int32) predicate.FieldType
- func OptionalInt32NEQ(v int32) predicate.FieldType
- func OptionalInt32NotIn(vs ...int32) predicate.FieldType
- func OptionalInt32NotNil() predicate.FieldType
- func OptionalInt64(v int64) predicate.FieldType
- func OptionalInt64EQ(v int64) predicate.FieldType
- func OptionalInt64GT(v int64) predicate.FieldType
- func OptionalInt64GTE(v int64) predicate.FieldType
- func OptionalInt64In(vs ...int64) predicate.FieldType
- func OptionalInt64IsNil() predicate.FieldType
- func OptionalInt64LT(v int64) predicate.FieldType
- func OptionalInt64LTE(v int64) predicate.FieldType
- func OptionalInt64NEQ(v int64) predicate.FieldType
- func OptionalInt64NotIn(vs ...int64) predicate.FieldType
- func OptionalInt64NotNil() predicate.FieldType
- func OptionalInt8(v int8) predicate.FieldType
- func OptionalInt8EQ(v int8) predicate.FieldType
- func OptionalInt8GT(v int8) predicate.FieldType
- func OptionalInt8GTE(v int8) predicate.FieldType
- func OptionalInt8In(vs ...int8) predicate.FieldType
- func OptionalInt8IsNil() predicate.FieldType
- func OptionalInt8LT(v int8) predicate.FieldType
- func OptionalInt8LTE(v int8) predicate.FieldType
- func OptionalInt8NEQ(v int8) predicate.FieldType
- func OptionalInt8NotIn(vs ...int8) predicate.FieldType
- func OptionalInt8NotNil() predicate.FieldType
- func OptionalIntEQ(v int) predicate.FieldType
- func OptionalIntGT(v int) predicate.FieldType
- func OptionalIntGTE(v int) predicate.FieldType
- func OptionalIntIn(vs ...int) predicate.FieldType
- func OptionalIntIsNil() predicate.FieldType
- func OptionalIntLT(v int) predicate.FieldType
- func OptionalIntLTE(v int) predicate.FieldType
- func OptionalIntNEQ(v int) predicate.FieldType
- func OptionalIntNotIn(vs ...int) predicate.FieldType
- func OptionalIntNotNil() predicate.FieldType
- func OptionalUint(v uint) predicate.FieldType
- func OptionalUint16(v uint16) predicate.FieldType
- func OptionalUint16EQ(v uint16) predicate.FieldType
- func OptionalUint16GT(v uint16) predicate.FieldType
- func OptionalUint16GTE(v uint16) predicate.FieldType
- func OptionalUint16In(vs ...uint16) predicate.FieldType
- func OptionalUint16IsNil() predicate.FieldType
- func OptionalUint16LT(v uint16) predicate.FieldType
- func OptionalUint16LTE(v uint16) predicate.FieldType
- func OptionalUint16NEQ(v uint16) predicate.FieldType
- func OptionalUint16NotIn(vs ...uint16) predicate.FieldType
- func OptionalUint16NotNil() predicate.FieldType
- func OptionalUint32(v uint32) predicate.FieldType
- func OptionalUint32EQ(v uint32) predicate.FieldType
- func OptionalUint32GT(v uint32) predicate.FieldType
- func OptionalUint32GTE(v uint32) predicate.FieldType
- func OptionalUint32In(vs ...uint32) predicate.FieldType
- func OptionalUint32IsNil() predicate.FieldType
- func OptionalUint32LT(v uint32) predicate.FieldType
- func OptionalUint32LTE(v uint32) predicate.FieldType
- func OptionalUint32NEQ(v uint32) predicate.FieldType
- func OptionalUint32NotIn(vs ...uint32) predicate.FieldType
- func OptionalUint32NotNil() predicate.FieldType
- func OptionalUint64(v uint64) predicate.FieldType
- func OptionalUint64EQ(v uint64) predicate.FieldType
- func OptionalUint64GT(v uint64) predicate.FieldType
- func OptionalUint64GTE(v uint64) predicate.FieldType
- func OptionalUint64In(vs ...uint64) predicate.FieldType
- func OptionalUint64IsNil() predicate.FieldType
- func OptionalUint64LT(v uint64) predicate.FieldType
- func OptionalUint64LTE(v uint64) predicate.FieldType
- func OptionalUint64NEQ(v uint64) predicate.FieldType
- func OptionalUint64NotIn(vs ...uint64) predicate.FieldType
- func OptionalUint64NotNil() predicate.FieldType
- func OptionalUint8(v uint8) predicate.FieldType
- func OptionalUint8EQ(v uint8) predicate.FieldType
- func OptionalUint8GT(v uint8) predicate.FieldType
- func OptionalUint8GTE(v uint8) predicate.FieldType
- func OptionalUint8In(vs ...uint8) predicate.FieldType
- func OptionalUint8IsNil() predicate.FieldType
- func OptionalUint8LT(v uint8) predicate.FieldType
- func OptionalUint8LTE(v uint8) predicate.FieldType
- func OptionalUint8NEQ(v uint8) predicate.FieldType
- func OptionalUint8NotIn(vs ...uint8) predicate.FieldType
- func OptionalUint8NotNil() predicate.FieldType
- func OptionalUintEQ(v uint) predicate.FieldType
- func OptionalUintGT(v uint) predicate.FieldType
- func OptionalUintGTE(v uint) predicate.FieldType
- func OptionalUintIn(vs ...uint) predicate.FieldType
- func OptionalUintIsNil() predicate.FieldType
- func OptionalUintLT(v uint) predicate.FieldType
- func OptionalUintLTE(v uint) predicate.FieldType
- func OptionalUintNEQ(v uint) predicate.FieldType
- func OptionalUintNotIn(vs ...uint) predicate.FieldType
- func OptionalUintNotNil() predicate.FieldType
- func Or(predicates ...predicate.FieldType) predicate.FieldType
- func RoleEQ(v role.Role) predicate.FieldType
- func RoleIn(vs ...role.Role) predicate.FieldType
- func RoleNEQ(v role.Role) predicate.FieldType
- func RoleNotIn(vs ...role.Role) predicate.FieldType
- func RoleValidator(r role.Role) error
- func SchemaFloat(v schema.Float64) predicate.FieldType
- func SchemaFloat32(v schema.Float32) predicate.FieldType
- func SchemaFloat32EQ(v schema.Float32) predicate.FieldType
- func SchemaFloat32GT(v schema.Float32) predicate.FieldType
- func SchemaFloat32GTE(v schema.Float32) predicate.FieldType
- func SchemaFloat32In(vs ...schema.Float32) predicate.FieldType
- func SchemaFloat32IsNil() predicate.FieldType
- func SchemaFloat32LT(v schema.Float32) predicate.FieldType
- func SchemaFloat32LTE(v schema.Float32) predicate.FieldType
- func SchemaFloat32NEQ(v schema.Float32) predicate.FieldType
- func SchemaFloat32NotIn(vs ...schema.Float32) predicate.FieldType
- func SchemaFloat32NotNil() predicate.FieldType
- func SchemaFloatEQ(v schema.Float64) predicate.FieldType
- func SchemaFloatGT(v schema.Float64) predicate.FieldType
- func SchemaFloatGTE(v schema.Float64) predicate.FieldType
- func SchemaFloatIn(vs ...schema.Float64) predicate.FieldType
- func SchemaFloatIsNil() predicate.FieldType
- func SchemaFloatLT(v schema.Float64) predicate.FieldType
- func SchemaFloatLTE(v schema.Float64) predicate.FieldType
- func SchemaFloatNEQ(v schema.Float64) predicate.FieldType
- func SchemaFloatNotIn(vs ...schema.Float64) predicate.FieldType
- func SchemaFloatNotNil() predicate.FieldType
- func SchemaInt(v schema.Int) predicate.FieldType
- func SchemaInt64(v schema.Int64) predicate.FieldType
- func SchemaInt64EQ(v schema.Int64) predicate.FieldType
- func SchemaInt64GT(v schema.Int64) predicate.FieldType
- func SchemaInt64GTE(v schema.Int64) predicate.FieldType
- func SchemaInt64In(vs ...schema.Int64) predicate.FieldType
- func SchemaInt64IsNil() predicate.FieldType
- func SchemaInt64LT(v schema.Int64) predicate.FieldType
- func SchemaInt64LTE(v schema.Int64) predicate.FieldType
- func SchemaInt64NEQ(v schema.Int64) predicate.FieldType
- func SchemaInt64NotIn(vs ...schema.Int64) predicate.FieldType
- func SchemaInt64NotNil() predicate.FieldType
- func SchemaInt8(v schema.Int8) predicate.FieldType
- func SchemaInt8EQ(v schema.Int8) predicate.FieldType
- func SchemaInt8GT(v schema.Int8) predicate.FieldType
- func SchemaInt8GTE(v schema.Int8) predicate.FieldType
- func SchemaInt8In(vs ...schema.Int8) predicate.FieldType
- func SchemaInt8IsNil() predicate.FieldType
- func SchemaInt8LT(v schema.Int8) predicate.FieldType
- func SchemaInt8LTE(v schema.Int8) predicate.FieldType
- func SchemaInt8NEQ(v schema.Int8) predicate.FieldType
- func SchemaInt8NotIn(vs ...schema.Int8) predicate.FieldType
- func SchemaInt8NotNil() predicate.FieldType
- func SchemaIntEQ(v schema.Int) predicate.FieldType
- func SchemaIntGT(v schema.Int) predicate.FieldType
- func SchemaIntGTE(v schema.Int) predicate.FieldType
- func SchemaIntIn(vs ...schema.Int) predicate.FieldType
- func SchemaIntIsNil() predicate.FieldType
- func SchemaIntLT(v schema.Int) predicate.FieldType
- func SchemaIntLTE(v schema.Int) predicate.FieldType
- func SchemaIntNEQ(v schema.Int) predicate.FieldType
- func SchemaIntNotIn(vs ...schema.Int) predicate.FieldType
- func SchemaIntNotNil() predicate.FieldType
- func StateEQ(v State) predicate.FieldType
- func StateIn(vs ...State) predicate.FieldType
- func StateIsNil() predicate.FieldType
- func StateNEQ(v State) predicate.FieldType
- func StateNotIn(vs ...State) predicate.FieldType
- func StateNotNil() predicate.FieldType
- func StateValidator(s State) error
- func Str(v sql.NullString) predicate.FieldType
- func StrContains(v sql.NullString) predicate.FieldType
- func StrContainsFold(v sql.NullString) predicate.FieldType
- func StrEQ(v sql.NullString) predicate.FieldType
- func StrEqualFold(v sql.NullString) predicate.FieldType
- func StrGT(v sql.NullString) predicate.FieldType
- func StrGTE(v sql.NullString) predicate.FieldType
- func StrHasPrefix(v sql.NullString) predicate.FieldType
- func StrHasSuffix(v sql.NullString) predicate.FieldType
- func StrIn(vs ...sql.NullString) predicate.FieldType
- func StrIsNil() predicate.FieldType
- func StrLT(v sql.NullString) predicate.FieldType
- func StrLTE(v sql.NullString) predicate.FieldType
- func StrNEQ(v sql.NullString) predicate.FieldType
- func StrNotIn(vs ...sql.NullString) predicate.FieldType
- func StrNotNil() predicate.FieldType
- func ValidColumn(column string) bool
- func ValidateOptionalInt32(v int32) predicate.FieldType
- func ValidateOptionalInt32EQ(v int32) predicate.FieldType
- func ValidateOptionalInt32GT(v int32) predicate.FieldType
- func ValidateOptionalInt32GTE(v int32) predicate.FieldType
- func ValidateOptionalInt32In(vs ...int32) predicate.FieldType
- func ValidateOptionalInt32IsNil() predicate.FieldType
- func ValidateOptionalInt32LT(v int32) predicate.FieldType
- func ValidateOptionalInt32LTE(v int32) predicate.FieldType
- func ValidateOptionalInt32NEQ(v int32) predicate.FieldType
- func ValidateOptionalInt32NotIn(vs ...int32) predicate.FieldType
- func ValidateOptionalInt32NotNil() predicate.FieldType
- type State
Constants ¶
const ( // Label holds the string label denoting the fieldtype type in the database. Label = "field_type" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldInt holds the string denoting the int field in the database. FieldInt = "int" // FieldInt8 holds the string denoting the int8 field in the database. FieldInt8 = "int8" // FieldInt16 holds the string denoting the int16 field in the database. FieldInt16 = "int16" // FieldInt32 holds the string denoting the int32 field in the database. FieldInt32 = "int32" // FieldInt64 holds the string denoting the int64 field in the database. FieldInt64 = "int64" // FieldOptionalInt holds the string denoting the optional_int field in the database. FieldOptionalInt = "optional_int" // FieldOptionalInt8 holds the string denoting the optional_int8 field in the database. FieldOptionalInt8 = "optional_int8" // FieldOptionalInt16 holds the string denoting the optional_int16 field in the database. FieldOptionalInt16 = "optional_int16" // FieldOptionalInt32 holds the string denoting the optional_int32 field in the database. FieldOptionalInt32 = "optional_int32" // FieldOptionalInt64 holds the string denoting the optional_int64 field in the database. FieldOptionalInt64 = "optional_int64" // FieldNillableInt holds the string denoting the nillable_int field in the database. FieldNillableInt = "nillable_int" // FieldNillableInt8 holds the string denoting the nillable_int8 field in the database. FieldNillableInt8 = "nillable_int8" // FieldNillableInt16 holds the string denoting the nillable_int16 field in the database. FieldNillableInt16 = "nillable_int16" // FieldNillableInt32 holds the string denoting the nillable_int32 field in the database. FieldNillableInt32 = "nillable_int32" // FieldNillableInt64 holds the string denoting the nillable_int64 field in the database. FieldNillableInt64 = "nillable_int64" // FieldValidateOptionalInt32 holds the string denoting the validate_optional_int32 field in the database. FieldValidateOptionalInt32 = "validate_optional_int32" // FieldOptionalUint holds the string denoting the optional_uint field in the database. FieldOptionalUint = "optional_uint" // FieldOptionalUint8 holds the string denoting the optional_uint8 field in the database. FieldOptionalUint8 = "optional_uint8" // FieldOptionalUint16 holds the string denoting the optional_uint16 field in the database. FieldOptionalUint16 = "optional_uint16" // FieldOptionalUint32 holds the string denoting the optional_uint32 field in the database. FieldOptionalUint32 = "optional_uint32" // FieldOptionalUint64 holds the string denoting the optional_uint64 field in the database. FieldOptionalUint64 = "optional_uint64" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldOptionalFloat holds the string denoting the optional_float field in the database. FieldOptionalFloat = "optional_float" // FieldOptionalFloat32 holds the string denoting the optional_float32 field in the database. FieldOptionalFloat32 = "optional_float32" // FieldDatetime holds the string denoting the datetime field in the database. FieldDatetime = "datetime" // FieldDecimal holds the string denoting the decimal field in the database. FieldDecimal = "decimal" // FieldDir holds the string denoting the dir field in the database. FieldDir = "dir" // FieldNdir holds the string denoting the ndir field in the database. FieldNdir = "ndir" // FieldStr holds the string denoting the str field in the database. FieldStr = "str" // FieldNullStr holds the string denoting the null_str field in the database. FieldNullStr = "null_str" // FieldLink holds the string denoting the link field in the database. FieldLink = "link" // FieldNullLink holds the string denoting the null_link field in the database. FieldNullLink = "null_link" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldNullActive holds the string denoting the null_active field in the database. FieldNullActive = "null_active" // FieldDeleted holds the string denoting the deleted field in the database. FieldDeleted = "deleted" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldIP holds the string denoting the ip field in the database. FieldIP = "ip" // FieldNullInt64 holds the string denoting the null_int64 field in the database. FieldNullInt64 = "null_int64" // FieldSchemaInt holds the string denoting the schema_int field in the database. FieldSchemaInt = "schema_int" // FieldSchemaInt8 holds the string denoting the schema_int8 field in the database. FieldSchemaInt8 = "schema_int8" // FieldSchemaInt64 holds the string denoting the schema_int64 field in the database. FieldSchemaInt64 = "schema_int64" // FieldSchemaFloat holds the string denoting the schema_float field in the database. FieldSchemaFloat = "schema_float" // FieldSchemaFloat32 holds the string denoting the schema_float32 field in the database. FieldSchemaFloat32 = "schema_float32" // FieldNullFloat holds the string denoting the null_float field in the database. FieldNullFloat = "null_float" // FieldRole holds the string denoting the role field in the database. FieldRole = "role" // Table holds the table name of the fieldtype in the database. Table = "field_types" )
const DefaultRole role.Role = "READ"
Variables ¶
var ( // ValidateOptionalInt32Validator is a validator for the "validate_optional_int32" field. It is called by the builders before save. ValidateOptionalInt32Validator func(int32) error // NdirValidator is a validator for the "ndir" field. It is called by the builders before save. NdirValidator func(string) error // LinkValidator is a validator for the "link" field. It is called by the builders before save. LinkValidator func(string) error )
var Columns = []string{ FieldID, FieldInt, FieldInt8, FieldInt16, FieldInt32, FieldInt64, FieldOptionalInt, FieldOptionalInt8, FieldOptionalInt16, FieldOptionalInt32, FieldOptionalInt64, FieldNillableInt, FieldNillableInt8, FieldNillableInt16, FieldNillableInt32, FieldNillableInt64, FieldValidateOptionalInt32, FieldOptionalUint, FieldOptionalUint8, FieldOptionalUint16, FieldOptionalUint32, FieldOptionalUint64, FieldState, FieldOptionalFloat, FieldOptionalFloat32, FieldDatetime, FieldDecimal, FieldDir, FieldNdir, FieldStr, FieldNullStr, FieldLink, FieldNullLink, FieldActive, FieldNullActive, FieldDeleted, FieldDeletedAt, FieldIP, FieldNullInt64, FieldSchemaInt, FieldSchemaInt8, FieldSchemaInt64, FieldSchemaFloat, FieldSchemaFloat32, FieldNullFloat, FieldRole, }
Columns holds all SQL columns for fieldtype fields.
var ForeignKeys = []string{
"file_field",
}
ForeignKeys holds the SQL foreign-keys that are owned by the FieldType type.
Functions ¶
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ActiveIsNil ¶
ActiveIsNil applies the IsNil predicate on the "active" field.
func ActiveNotNil ¶
ActiveNotNil applies the NotNil predicate on the "active" field.
func Datetime ¶
Datetime applies equality check predicate on the "datetime" field. It's identical to DatetimeEQ.
func DatetimeEQ ¶
DatetimeEQ applies the EQ predicate on the "datetime" field.
func DatetimeGT ¶
DatetimeGT applies the GT predicate on the "datetime" field.
func DatetimeGTE ¶
DatetimeGTE applies the GTE predicate on the "datetime" field.
func DatetimeIn ¶
DatetimeIn applies the In predicate on the "datetime" field.
func DatetimeIsNil ¶
DatetimeIsNil applies the IsNil predicate on the "datetime" field.
func DatetimeLT ¶
DatetimeLT applies the LT predicate on the "datetime" field.
func DatetimeLTE ¶
DatetimeLTE applies the LTE predicate on the "datetime" field.
func DatetimeNEQ ¶
DatetimeNEQ applies the NEQ predicate on the "datetime" field.
func DatetimeNotIn ¶
DatetimeNotIn applies the NotIn predicate on the "datetime" field.
func DatetimeNotNil ¶
DatetimeNotNil applies the NotNil predicate on the "datetime" field.
func Decimal ¶
Decimal applies equality check predicate on the "decimal" field. It's identical to DecimalEQ.
func DecimalGTE ¶
DecimalGTE applies the GTE predicate on the "decimal" field.
func DecimalIsNil ¶
DecimalIsNil applies the IsNil predicate on the "decimal" field.
func DecimalLTE ¶
DecimalLTE applies the LTE predicate on the "decimal" field.
func DecimalNEQ ¶
DecimalNEQ applies the NEQ predicate on the "decimal" field.
func DecimalNotIn ¶
DecimalNotIn applies the NotIn predicate on the "decimal" field.
func DecimalNotNil ¶
DecimalNotNil applies the NotNil predicate on the "decimal" field.
func Deleted ¶
Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedIsNil ¶
DeletedIsNil applies the IsNil predicate on the "deleted" field.
func DeletedNEQ ¶
DeletedNEQ applies the NEQ predicate on the "deleted" field.
func DeletedNotNil ¶
DeletedNotNil applies the NotNil predicate on the "deleted" field.
func DirContains ¶
DirContains applies the Contains predicate on the "dir" field.
func DirContainsFold ¶
DirContainsFold applies the ContainsFold predicate on the "dir" field.
func DirEqualFold ¶
DirEqualFold applies the EqualFold predicate on the "dir" field.
func DirHasPrefix ¶
DirHasPrefix applies the HasPrefix predicate on the "dir" field.
func DirHasSuffix ¶
DirHasSuffix applies the HasSuffix predicate on the "dir" field.
func Int16 ¶
Int16 applies equality check predicate on the "int16" field. It's identical to Int16EQ.
func Int16NotIn ¶
Int16NotIn applies the NotIn predicate on the "int16" field.
func Int32 ¶
Int32 applies equality check predicate on the "int32" field. It's identical to Int32EQ.
func Int32NotIn ¶
Int32NotIn applies the NotIn predicate on the "int32" field.
func Int64 ¶
Int64 applies equality check predicate on the "int64" field. It's identical to Int64EQ.
func Int64NotIn ¶
Int64NotIn applies the NotIn predicate on the "int64" field.
func LinkContains ¶
LinkContains applies the Contains predicate on the "link" field.
func LinkContainsFold ¶
LinkContainsFold applies the ContainsFold predicate on the "link" field.
func LinkEqualFold ¶
LinkEqualFold applies the EqualFold predicate on the "link" field.
func LinkHasPrefix ¶
LinkHasPrefix applies the HasPrefix predicate on the "link" field.
func LinkHasSuffix ¶
LinkHasSuffix applies the HasSuffix predicate on the "link" field.
func LinkNotNil ¶
LinkNotNil applies the NotNil predicate on the "link" field.
func NdirContains ¶
NdirContains applies the Contains predicate on the "ndir" field.
func NdirContainsFold ¶
NdirContainsFold applies the ContainsFold predicate on the "ndir" field.
func NdirEqualFold ¶
NdirEqualFold applies the EqualFold predicate on the "ndir" field.
func NdirHasPrefix ¶
NdirHasPrefix applies the HasPrefix predicate on the "ndir" field.
func NdirHasSuffix ¶
NdirHasSuffix applies the HasSuffix predicate on the "ndir" field.
func NdirNotNil ¶
NdirNotNil applies the NotNil predicate on the "ndir" field.
func NillableInt ¶
NillableInt applies equality check predicate on the "nillable_int" field. It's identical to NillableIntEQ.
func NillableInt16 ¶
NillableInt16 applies equality check predicate on the "nillable_int16" field. It's identical to NillableInt16EQ.
func NillableInt16EQ ¶
NillableInt16EQ applies the EQ predicate on the "nillable_int16" field.
func NillableInt16GT ¶
NillableInt16GT applies the GT predicate on the "nillable_int16" field.
func NillableInt16GTE ¶
NillableInt16GTE applies the GTE predicate on the "nillable_int16" field.
func NillableInt16In ¶
NillableInt16In applies the In predicate on the "nillable_int16" field.
func NillableInt16IsNil ¶
NillableInt16IsNil applies the IsNil predicate on the "nillable_int16" field.
func NillableInt16LT ¶
NillableInt16LT applies the LT predicate on the "nillable_int16" field.
func NillableInt16LTE ¶
NillableInt16LTE applies the LTE predicate on the "nillable_int16" field.
func NillableInt16NEQ ¶
NillableInt16NEQ applies the NEQ predicate on the "nillable_int16" field.
func NillableInt16NotIn ¶
NillableInt16NotIn applies the NotIn predicate on the "nillable_int16" field.
func NillableInt16NotNil ¶
NillableInt16NotNil applies the NotNil predicate on the "nillable_int16" field.
func NillableInt32 ¶
NillableInt32 applies equality check predicate on the "nillable_int32" field. It's identical to NillableInt32EQ.
func NillableInt32EQ ¶
NillableInt32EQ applies the EQ predicate on the "nillable_int32" field.
func NillableInt32GT ¶
NillableInt32GT applies the GT predicate on the "nillable_int32" field.
func NillableInt32GTE ¶
NillableInt32GTE applies the GTE predicate on the "nillable_int32" field.
func NillableInt32In ¶
NillableInt32In applies the In predicate on the "nillable_int32" field.
func NillableInt32IsNil ¶
NillableInt32IsNil applies the IsNil predicate on the "nillable_int32" field.
func NillableInt32LT ¶
NillableInt32LT applies the LT predicate on the "nillable_int32" field.
func NillableInt32LTE ¶
NillableInt32LTE applies the LTE predicate on the "nillable_int32" field.
func NillableInt32NEQ ¶
NillableInt32NEQ applies the NEQ predicate on the "nillable_int32" field.
func NillableInt32NotIn ¶
NillableInt32NotIn applies the NotIn predicate on the "nillable_int32" field.
func NillableInt32NotNil ¶
NillableInt32NotNil applies the NotNil predicate on the "nillable_int32" field.
func NillableInt64 ¶
NillableInt64 applies equality check predicate on the "nillable_int64" field. It's identical to NillableInt64EQ.
func NillableInt64EQ ¶
NillableInt64EQ applies the EQ predicate on the "nillable_int64" field.
func NillableInt64GT ¶
NillableInt64GT applies the GT predicate on the "nillable_int64" field.
func NillableInt64GTE ¶
NillableInt64GTE applies the GTE predicate on the "nillable_int64" field.
func NillableInt64In ¶
NillableInt64In applies the In predicate on the "nillable_int64" field.
func NillableInt64IsNil ¶
NillableInt64IsNil applies the IsNil predicate on the "nillable_int64" field.
func NillableInt64LT ¶
NillableInt64LT applies the LT predicate on the "nillable_int64" field.
func NillableInt64LTE ¶
NillableInt64LTE applies the LTE predicate on the "nillable_int64" field.
func NillableInt64NEQ ¶
NillableInt64NEQ applies the NEQ predicate on the "nillable_int64" field.
func NillableInt64NotIn ¶
NillableInt64NotIn applies the NotIn predicate on the "nillable_int64" field.
func NillableInt64NotNil ¶
NillableInt64NotNil applies the NotNil predicate on the "nillable_int64" field.
func NillableInt8 ¶
NillableInt8 applies equality check predicate on the "nillable_int8" field. It's identical to NillableInt8EQ.
func NillableInt8EQ ¶
NillableInt8EQ applies the EQ predicate on the "nillable_int8" field.
func NillableInt8GT ¶
NillableInt8GT applies the GT predicate on the "nillable_int8" field.
func NillableInt8GTE ¶
NillableInt8GTE applies the GTE predicate on the "nillable_int8" field.
func NillableInt8In ¶
NillableInt8In applies the In predicate on the "nillable_int8" field.
func NillableInt8IsNil ¶
NillableInt8IsNil applies the IsNil predicate on the "nillable_int8" field.
func NillableInt8LT ¶
NillableInt8LT applies the LT predicate on the "nillable_int8" field.
func NillableInt8LTE ¶
NillableInt8LTE applies the LTE predicate on the "nillable_int8" field.
func NillableInt8NEQ ¶
NillableInt8NEQ applies the NEQ predicate on the "nillable_int8" field.
func NillableInt8NotIn ¶
NillableInt8NotIn applies the NotIn predicate on the "nillable_int8" field.
func NillableInt8NotNil ¶
NillableInt8NotNil applies the NotNil predicate on the "nillable_int8" field.
func NillableIntEQ ¶
NillableIntEQ applies the EQ predicate on the "nillable_int" field.
func NillableIntGT ¶
NillableIntGT applies the GT predicate on the "nillable_int" field.
func NillableIntGTE ¶
NillableIntGTE applies the GTE predicate on the "nillable_int" field.
func NillableIntIn ¶
NillableIntIn applies the In predicate on the "nillable_int" field.
func NillableIntIsNil ¶
NillableIntIsNil applies the IsNil predicate on the "nillable_int" field.
func NillableIntLT ¶
NillableIntLT applies the LT predicate on the "nillable_int" field.
func NillableIntLTE ¶
NillableIntLTE applies the LTE predicate on the "nillable_int" field.
func NillableIntNEQ ¶
NillableIntNEQ applies the NEQ predicate on the "nillable_int" field.
func NillableIntNotIn ¶
NillableIntNotIn applies the NotIn predicate on the "nillable_int" field.
func NillableIntNotNil ¶
NillableIntNotNil applies the NotNil predicate on the "nillable_int" field.
func NullActive ¶
NullActive applies equality check predicate on the "null_active" field. It's identical to NullActiveEQ.
func NullActiveEQ ¶
NullActiveEQ applies the EQ predicate on the "null_active" field.
func NullActiveIsNil ¶
NullActiveIsNil applies the IsNil predicate on the "null_active" field.
func NullActiveNEQ ¶
NullActiveNEQ applies the NEQ predicate on the "null_active" field.
func NullActiveNotNil ¶
NullActiveNotNil applies the NotNil predicate on the "null_active" field.
func NullFloatIsNil ¶
NullFloatIsNil applies the IsNil predicate on the "null_float" field.
func NullFloatNotNil ¶
NullFloatNotNil applies the NotNil predicate on the "null_float" field.
func NullInt64IsNil ¶
NullInt64IsNil applies the IsNil predicate on the "null_int64" field.
func NullInt64NotNil ¶
NullInt64NotNil applies the NotNil predicate on the "null_int64" field.
func NullLink ¶
NullLink applies equality check predicate on the "null_link" field. It's identical to NullLinkEQ.
func NullLinkContains ¶
NullLinkContains applies the Contains predicate on the "null_link" field.
func NullLinkContainsFold ¶
NullLinkContainsFold applies the ContainsFold predicate on the "null_link" field.
func NullLinkEQ ¶
NullLinkEQ applies the EQ predicate on the "null_link" field.
func NullLinkEqualFold ¶
NullLinkEqualFold applies the EqualFold predicate on the "null_link" field.
func NullLinkGT ¶
NullLinkGT applies the GT predicate on the "null_link" field.
func NullLinkGTE ¶
NullLinkGTE applies the GTE predicate on the "null_link" field.
func NullLinkHasPrefix ¶
NullLinkHasPrefix applies the HasPrefix predicate on the "null_link" field.
func NullLinkHasSuffix ¶
NullLinkHasSuffix applies the HasSuffix predicate on the "null_link" field.
func NullLinkIn ¶
NullLinkIn applies the In predicate on the "null_link" field.
func NullLinkIsNil ¶
NullLinkIsNil applies the IsNil predicate on the "null_link" field.
func NullLinkLT ¶
NullLinkLT applies the LT predicate on the "null_link" field.
func NullLinkLTE ¶
NullLinkLTE applies the LTE predicate on the "null_link" field.
func NullLinkNEQ ¶
NullLinkNEQ applies the NEQ predicate on the "null_link" field.
func NullLinkNotIn ¶
NullLinkNotIn applies the NotIn predicate on the "null_link" field.
func NullLinkNotNil ¶
NullLinkNotNil applies the NotNil predicate on the "null_link" field.
func NullStr ¶
func NullStr(v sql.NullString) predicate.FieldType
NullStr applies equality check predicate on the "null_str" field. It's identical to NullStrEQ.
func NullStrContains ¶
func NullStrContains(v sql.NullString) predicate.FieldType
NullStrContains applies the Contains predicate on the "null_str" field.
func NullStrContainsFold ¶
func NullStrContainsFold(v sql.NullString) predicate.FieldType
NullStrContainsFold applies the ContainsFold predicate on the "null_str" field.
func NullStrEQ ¶
func NullStrEQ(v sql.NullString) predicate.FieldType
NullStrEQ applies the EQ predicate on the "null_str" field.
func NullStrEqualFold ¶
func NullStrEqualFold(v sql.NullString) predicate.FieldType
NullStrEqualFold applies the EqualFold predicate on the "null_str" field.
func NullStrGT ¶
func NullStrGT(v sql.NullString) predicate.FieldType
NullStrGT applies the GT predicate on the "null_str" field.
func NullStrGTE ¶
func NullStrGTE(v sql.NullString) predicate.FieldType
NullStrGTE applies the GTE predicate on the "null_str" field.
func NullStrHasPrefix ¶
func NullStrHasPrefix(v sql.NullString) predicate.FieldType
NullStrHasPrefix applies the HasPrefix predicate on the "null_str" field.
func NullStrHasSuffix ¶
func NullStrHasSuffix(v sql.NullString) predicate.FieldType
NullStrHasSuffix applies the HasSuffix predicate on the "null_str" field.
func NullStrIn ¶
func NullStrIn(vs ...sql.NullString) predicate.FieldType
NullStrIn applies the In predicate on the "null_str" field.
func NullStrIsNil ¶
NullStrIsNil applies the IsNil predicate on the "null_str" field.
func NullStrLT ¶
func NullStrLT(v sql.NullString) predicate.FieldType
NullStrLT applies the LT predicate on the "null_str" field.
func NullStrLTE ¶
func NullStrLTE(v sql.NullString) predicate.FieldType
NullStrLTE applies the LTE predicate on the "null_str" field.
func NullStrNEQ ¶
func NullStrNEQ(v sql.NullString) predicate.FieldType
NullStrNEQ applies the NEQ predicate on the "null_str" field.
func NullStrNotIn ¶
func NullStrNotIn(vs ...sql.NullString) predicate.FieldType
NullStrNotIn applies the NotIn predicate on the "null_str" field.
func NullStrNotNil ¶
NullStrNotNil applies the NotNil predicate on the "null_str" field.
func OptionalFloat ¶
OptionalFloat applies equality check predicate on the "optional_float" field. It's identical to OptionalFloatEQ.
func OptionalFloat32 ¶
OptionalFloat32 applies equality check predicate on the "optional_float32" field. It's identical to OptionalFloat32EQ.
func OptionalFloat32EQ ¶
OptionalFloat32EQ applies the EQ predicate on the "optional_float32" field.
func OptionalFloat32GT ¶
OptionalFloat32GT applies the GT predicate on the "optional_float32" field.
func OptionalFloat32GTE ¶
OptionalFloat32GTE applies the GTE predicate on the "optional_float32" field.
func OptionalFloat32In ¶
OptionalFloat32In applies the In predicate on the "optional_float32" field.
func OptionalFloat32IsNil ¶
OptionalFloat32IsNil applies the IsNil predicate on the "optional_float32" field.
func OptionalFloat32LT ¶
OptionalFloat32LT applies the LT predicate on the "optional_float32" field.
func OptionalFloat32LTE ¶
OptionalFloat32LTE applies the LTE predicate on the "optional_float32" field.
func OptionalFloat32NEQ ¶
OptionalFloat32NEQ applies the NEQ predicate on the "optional_float32" field.
func OptionalFloat32NotIn ¶
OptionalFloat32NotIn applies the NotIn predicate on the "optional_float32" field.
func OptionalFloat32NotNil ¶
OptionalFloat32NotNil applies the NotNil predicate on the "optional_float32" field.
func OptionalFloatEQ ¶
OptionalFloatEQ applies the EQ predicate on the "optional_float" field.
func OptionalFloatGT ¶
OptionalFloatGT applies the GT predicate on the "optional_float" field.
func OptionalFloatGTE ¶
OptionalFloatGTE applies the GTE predicate on the "optional_float" field.
func OptionalFloatIn ¶
OptionalFloatIn applies the In predicate on the "optional_float" field.
func OptionalFloatIsNil ¶
OptionalFloatIsNil applies the IsNil predicate on the "optional_float" field.
func OptionalFloatLT ¶
OptionalFloatLT applies the LT predicate on the "optional_float" field.
func OptionalFloatLTE ¶
OptionalFloatLTE applies the LTE predicate on the "optional_float" field.
func OptionalFloatNEQ ¶
OptionalFloatNEQ applies the NEQ predicate on the "optional_float" field.
func OptionalFloatNotIn ¶
OptionalFloatNotIn applies the NotIn predicate on the "optional_float" field.
func OptionalFloatNotNil ¶
OptionalFloatNotNil applies the NotNil predicate on the "optional_float" field.
func OptionalInt ¶
OptionalInt applies equality check predicate on the "optional_int" field. It's identical to OptionalIntEQ.
func OptionalInt16 ¶
OptionalInt16 applies equality check predicate on the "optional_int16" field. It's identical to OptionalInt16EQ.
func OptionalInt16EQ ¶
OptionalInt16EQ applies the EQ predicate on the "optional_int16" field.
func OptionalInt16GT ¶
OptionalInt16GT applies the GT predicate on the "optional_int16" field.
func OptionalInt16GTE ¶
OptionalInt16GTE applies the GTE predicate on the "optional_int16" field.
func OptionalInt16In ¶
OptionalInt16In applies the In predicate on the "optional_int16" field.
func OptionalInt16IsNil ¶
OptionalInt16IsNil applies the IsNil predicate on the "optional_int16" field.
func OptionalInt16LT ¶
OptionalInt16LT applies the LT predicate on the "optional_int16" field.
func OptionalInt16LTE ¶
OptionalInt16LTE applies the LTE predicate on the "optional_int16" field.
func OptionalInt16NEQ ¶
OptionalInt16NEQ applies the NEQ predicate on the "optional_int16" field.
func OptionalInt16NotIn ¶
OptionalInt16NotIn applies the NotIn predicate on the "optional_int16" field.
func OptionalInt16NotNil ¶
OptionalInt16NotNil applies the NotNil predicate on the "optional_int16" field.
func OptionalInt32 ¶
OptionalInt32 applies equality check predicate on the "optional_int32" field. It's identical to OptionalInt32EQ.
func OptionalInt32EQ ¶
OptionalInt32EQ applies the EQ predicate on the "optional_int32" field.
func OptionalInt32GT ¶
OptionalInt32GT applies the GT predicate on the "optional_int32" field.
func OptionalInt32GTE ¶
OptionalInt32GTE applies the GTE predicate on the "optional_int32" field.
func OptionalInt32In ¶
OptionalInt32In applies the In predicate on the "optional_int32" field.
func OptionalInt32IsNil ¶
OptionalInt32IsNil applies the IsNil predicate on the "optional_int32" field.
func OptionalInt32LT ¶
OptionalInt32LT applies the LT predicate on the "optional_int32" field.
func OptionalInt32LTE ¶
OptionalInt32LTE applies the LTE predicate on the "optional_int32" field.
func OptionalInt32NEQ ¶
OptionalInt32NEQ applies the NEQ predicate on the "optional_int32" field.
func OptionalInt32NotIn ¶
OptionalInt32NotIn applies the NotIn predicate on the "optional_int32" field.
func OptionalInt32NotNil ¶
OptionalInt32NotNil applies the NotNil predicate on the "optional_int32" field.
func OptionalInt64 ¶
OptionalInt64 applies equality check predicate on the "optional_int64" field. It's identical to OptionalInt64EQ.
func OptionalInt64EQ ¶
OptionalInt64EQ applies the EQ predicate on the "optional_int64" field.
func OptionalInt64GT ¶
OptionalInt64GT applies the GT predicate on the "optional_int64" field.
func OptionalInt64GTE ¶
OptionalInt64GTE applies the GTE predicate on the "optional_int64" field.
func OptionalInt64In ¶
OptionalInt64In applies the In predicate on the "optional_int64" field.
func OptionalInt64IsNil ¶
OptionalInt64IsNil applies the IsNil predicate on the "optional_int64" field.
func OptionalInt64LT ¶
OptionalInt64LT applies the LT predicate on the "optional_int64" field.
func OptionalInt64LTE ¶
OptionalInt64LTE applies the LTE predicate on the "optional_int64" field.
func OptionalInt64NEQ ¶
OptionalInt64NEQ applies the NEQ predicate on the "optional_int64" field.
func OptionalInt64NotIn ¶
OptionalInt64NotIn applies the NotIn predicate on the "optional_int64" field.
func OptionalInt64NotNil ¶
OptionalInt64NotNil applies the NotNil predicate on the "optional_int64" field.
func OptionalInt8 ¶
OptionalInt8 applies equality check predicate on the "optional_int8" field. It's identical to OptionalInt8EQ.
func OptionalInt8EQ ¶
OptionalInt8EQ applies the EQ predicate on the "optional_int8" field.
func OptionalInt8GT ¶
OptionalInt8GT applies the GT predicate on the "optional_int8" field.
func OptionalInt8GTE ¶
OptionalInt8GTE applies the GTE predicate on the "optional_int8" field.
func OptionalInt8In ¶
OptionalInt8In applies the In predicate on the "optional_int8" field.
func OptionalInt8IsNil ¶
OptionalInt8IsNil applies the IsNil predicate on the "optional_int8" field.
func OptionalInt8LT ¶
OptionalInt8LT applies the LT predicate on the "optional_int8" field.
func OptionalInt8LTE ¶
OptionalInt8LTE applies the LTE predicate on the "optional_int8" field.
func OptionalInt8NEQ ¶
OptionalInt8NEQ applies the NEQ predicate on the "optional_int8" field.
func OptionalInt8NotIn ¶
OptionalInt8NotIn applies the NotIn predicate on the "optional_int8" field.
func OptionalInt8NotNil ¶
OptionalInt8NotNil applies the NotNil predicate on the "optional_int8" field.
func OptionalIntEQ ¶
OptionalIntEQ applies the EQ predicate on the "optional_int" field.
func OptionalIntGT ¶
OptionalIntGT applies the GT predicate on the "optional_int" field.
func OptionalIntGTE ¶
OptionalIntGTE applies the GTE predicate on the "optional_int" field.
func OptionalIntIn ¶
OptionalIntIn applies the In predicate on the "optional_int" field.
func OptionalIntIsNil ¶
OptionalIntIsNil applies the IsNil predicate on the "optional_int" field.
func OptionalIntLT ¶
OptionalIntLT applies the LT predicate on the "optional_int" field.
func OptionalIntLTE ¶
OptionalIntLTE applies the LTE predicate on the "optional_int" field.
func OptionalIntNEQ ¶
OptionalIntNEQ applies the NEQ predicate on the "optional_int" field.
func OptionalIntNotIn ¶
OptionalIntNotIn applies the NotIn predicate on the "optional_int" field.
func OptionalIntNotNil ¶
OptionalIntNotNil applies the NotNil predicate on the "optional_int" field.
func OptionalUint ¶
OptionalUint applies equality check predicate on the "optional_uint" field. It's identical to OptionalUintEQ.
func OptionalUint16 ¶
OptionalUint16 applies equality check predicate on the "optional_uint16" field. It's identical to OptionalUint16EQ.
func OptionalUint16EQ ¶
OptionalUint16EQ applies the EQ predicate on the "optional_uint16" field.
func OptionalUint16GT ¶
OptionalUint16GT applies the GT predicate on the "optional_uint16" field.
func OptionalUint16GTE ¶
OptionalUint16GTE applies the GTE predicate on the "optional_uint16" field.
func OptionalUint16In ¶
OptionalUint16In applies the In predicate on the "optional_uint16" field.
func OptionalUint16IsNil ¶
OptionalUint16IsNil applies the IsNil predicate on the "optional_uint16" field.
func OptionalUint16LT ¶
OptionalUint16LT applies the LT predicate on the "optional_uint16" field.
func OptionalUint16LTE ¶
OptionalUint16LTE applies the LTE predicate on the "optional_uint16" field.
func OptionalUint16NEQ ¶
OptionalUint16NEQ applies the NEQ predicate on the "optional_uint16" field.
func OptionalUint16NotIn ¶
OptionalUint16NotIn applies the NotIn predicate on the "optional_uint16" field.
func OptionalUint16NotNil ¶
OptionalUint16NotNil applies the NotNil predicate on the "optional_uint16" field.
func OptionalUint32 ¶
OptionalUint32 applies equality check predicate on the "optional_uint32" field. It's identical to OptionalUint32EQ.
func OptionalUint32EQ ¶
OptionalUint32EQ applies the EQ predicate on the "optional_uint32" field.
func OptionalUint32GT ¶
OptionalUint32GT applies the GT predicate on the "optional_uint32" field.
func OptionalUint32GTE ¶
OptionalUint32GTE applies the GTE predicate on the "optional_uint32" field.
func OptionalUint32In ¶
OptionalUint32In applies the In predicate on the "optional_uint32" field.
func OptionalUint32IsNil ¶
OptionalUint32IsNil applies the IsNil predicate on the "optional_uint32" field.
func OptionalUint32LT ¶
OptionalUint32LT applies the LT predicate on the "optional_uint32" field.
func OptionalUint32LTE ¶
OptionalUint32LTE applies the LTE predicate on the "optional_uint32" field.
func OptionalUint32NEQ ¶
OptionalUint32NEQ applies the NEQ predicate on the "optional_uint32" field.
func OptionalUint32NotIn ¶
OptionalUint32NotIn applies the NotIn predicate on the "optional_uint32" field.
func OptionalUint32NotNil ¶
OptionalUint32NotNil applies the NotNil predicate on the "optional_uint32" field.
func OptionalUint64 ¶
OptionalUint64 applies equality check predicate on the "optional_uint64" field. It's identical to OptionalUint64EQ.
func OptionalUint64EQ ¶
OptionalUint64EQ applies the EQ predicate on the "optional_uint64" field.
func OptionalUint64GT ¶
OptionalUint64GT applies the GT predicate on the "optional_uint64" field.
func OptionalUint64GTE ¶
OptionalUint64GTE applies the GTE predicate on the "optional_uint64" field.
func OptionalUint64In ¶
OptionalUint64In applies the In predicate on the "optional_uint64" field.
func OptionalUint64IsNil ¶
OptionalUint64IsNil applies the IsNil predicate on the "optional_uint64" field.
func OptionalUint64LT ¶
OptionalUint64LT applies the LT predicate on the "optional_uint64" field.
func OptionalUint64LTE ¶
OptionalUint64LTE applies the LTE predicate on the "optional_uint64" field.
func OptionalUint64NEQ ¶
OptionalUint64NEQ applies the NEQ predicate on the "optional_uint64" field.
func OptionalUint64NotIn ¶
OptionalUint64NotIn applies the NotIn predicate on the "optional_uint64" field.
func OptionalUint64NotNil ¶
OptionalUint64NotNil applies the NotNil predicate on the "optional_uint64" field.
func OptionalUint8 ¶
OptionalUint8 applies equality check predicate on the "optional_uint8" field. It's identical to OptionalUint8EQ.
func OptionalUint8EQ ¶
OptionalUint8EQ applies the EQ predicate on the "optional_uint8" field.
func OptionalUint8GT ¶
OptionalUint8GT applies the GT predicate on the "optional_uint8" field.
func OptionalUint8GTE ¶
OptionalUint8GTE applies the GTE predicate on the "optional_uint8" field.
func OptionalUint8In ¶
OptionalUint8In applies the In predicate on the "optional_uint8" field.
func OptionalUint8IsNil ¶
OptionalUint8IsNil applies the IsNil predicate on the "optional_uint8" field.
func OptionalUint8LT ¶
OptionalUint8LT applies the LT predicate on the "optional_uint8" field.
func OptionalUint8LTE ¶
OptionalUint8LTE applies the LTE predicate on the "optional_uint8" field.
func OptionalUint8NEQ ¶
OptionalUint8NEQ applies the NEQ predicate on the "optional_uint8" field.
func OptionalUint8NotIn ¶
OptionalUint8NotIn applies the NotIn predicate on the "optional_uint8" field.
func OptionalUint8NotNil ¶
OptionalUint8NotNil applies the NotNil predicate on the "optional_uint8" field.
func OptionalUintEQ ¶
OptionalUintEQ applies the EQ predicate on the "optional_uint" field.
func OptionalUintGT ¶
OptionalUintGT applies the GT predicate on the "optional_uint" field.
func OptionalUintGTE ¶
OptionalUintGTE applies the GTE predicate on the "optional_uint" field.
func OptionalUintIn ¶
OptionalUintIn applies the In predicate on the "optional_uint" field.
func OptionalUintIsNil ¶
OptionalUintIsNil applies the IsNil predicate on the "optional_uint" field.
func OptionalUintLT ¶
OptionalUintLT applies the LT predicate on the "optional_uint" field.
func OptionalUintLTE ¶
OptionalUintLTE applies the LTE predicate on the "optional_uint" field.
func OptionalUintNEQ ¶
OptionalUintNEQ applies the NEQ predicate on the "optional_uint" field.
func OptionalUintNotIn ¶
OptionalUintNotIn applies the NotIn predicate on the "optional_uint" field.
func OptionalUintNotNil ¶
OptionalUintNotNil applies the NotNil predicate on the "optional_uint" field.
func RoleValidator ¶
RoleValidator is a validator for the "role" field enum values. It is called by the builders before save.
func SchemaFloat ¶
SchemaFloat applies equality check predicate on the "schema_float" field. It's identical to SchemaFloatEQ.
func SchemaFloat32 ¶
SchemaFloat32 applies equality check predicate on the "schema_float32" field. It's identical to SchemaFloat32EQ.
func SchemaFloat32EQ ¶
SchemaFloat32EQ applies the EQ predicate on the "schema_float32" field.
func SchemaFloat32GT ¶
SchemaFloat32GT applies the GT predicate on the "schema_float32" field.
func SchemaFloat32GTE ¶
SchemaFloat32GTE applies the GTE predicate on the "schema_float32" field.
func SchemaFloat32In ¶
SchemaFloat32In applies the In predicate on the "schema_float32" field.
func SchemaFloat32IsNil ¶
SchemaFloat32IsNil applies the IsNil predicate on the "schema_float32" field.
func SchemaFloat32LT ¶
SchemaFloat32LT applies the LT predicate on the "schema_float32" field.
func SchemaFloat32LTE ¶
SchemaFloat32LTE applies the LTE predicate on the "schema_float32" field.
func SchemaFloat32NEQ ¶
SchemaFloat32NEQ applies the NEQ predicate on the "schema_float32" field.
func SchemaFloat32NotIn ¶
SchemaFloat32NotIn applies the NotIn predicate on the "schema_float32" field.
func SchemaFloat32NotNil ¶
SchemaFloat32NotNil applies the NotNil predicate on the "schema_float32" field.
func SchemaFloatEQ ¶
SchemaFloatEQ applies the EQ predicate on the "schema_float" field.
func SchemaFloatGT ¶
SchemaFloatGT applies the GT predicate on the "schema_float" field.
func SchemaFloatGTE ¶
SchemaFloatGTE applies the GTE predicate on the "schema_float" field.
func SchemaFloatIn ¶
SchemaFloatIn applies the In predicate on the "schema_float" field.
func SchemaFloatIsNil ¶
SchemaFloatIsNil applies the IsNil predicate on the "schema_float" field.
func SchemaFloatLT ¶
SchemaFloatLT applies the LT predicate on the "schema_float" field.
func SchemaFloatLTE ¶
SchemaFloatLTE applies the LTE predicate on the "schema_float" field.
func SchemaFloatNEQ ¶
SchemaFloatNEQ applies the NEQ predicate on the "schema_float" field.
func SchemaFloatNotIn ¶
SchemaFloatNotIn applies the NotIn predicate on the "schema_float" field.
func SchemaFloatNotNil ¶
SchemaFloatNotNil applies the NotNil predicate on the "schema_float" field.
func SchemaInt ¶
SchemaInt applies equality check predicate on the "schema_int" field. It's identical to SchemaIntEQ.
func SchemaInt64 ¶
SchemaInt64 applies equality check predicate on the "schema_int64" field. It's identical to SchemaInt64EQ.
func SchemaInt64EQ ¶
SchemaInt64EQ applies the EQ predicate on the "schema_int64" field.
func SchemaInt64GT ¶
SchemaInt64GT applies the GT predicate on the "schema_int64" field.
func SchemaInt64GTE ¶
SchemaInt64GTE applies the GTE predicate on the "schema_int64" field.
func SchemaInt64In ¶
SchemaInt64In applies the In predicate on the "schema_int64" field.
func SchemaInt64IsNil ¶
SchemaInt64IsNil applies the IsNil predicate on the "schema_int64" field.
func SchemaInt64LT ¶
SchemaInt64LT applies the LT predicate on the "schema_int64" field.
func SchemaInt64LTE ¶
SchemaInt64LTE applies the LTE predicate on the "schema_int64" field.
func SchemaInt64NEQ ¶
SchemaInt64NEQ applies the NEQ predicate on the "schema_int64" field.
func SchemaInt64NotIn ¶
SchemaInt64NotIn applies the NotIn predicate on the "schema_int64" field.
func SchemaInt64NotNil ¶
SchemaInt64NotNil applies the NotNil predicate on the "schema_int64" field.
func SchemaInt8 ¶
SchemaInt8 applies equality check predicate on the "schema_int8" field. It's identical to SchemaInt8EQ.
func SchemaInt8EQ ¶
SchemaInt8EQ applies the EQ predicate on the "schema_int8" field.
func SchemaInt8GT ¶
SchemaInt8GT applies the GT predicate on the "schema_int8" field.
func SchemaInt8GTE ¶
SchemaInt8GTE applies the GTE predicate on the "schema_int8" field.
func SchemaInt8In ¶
SchemaInt8In applies the In predicate on the "schema_int8" field.
func SchemaInt8IsNil ¶
SchemaInt8IsNil applies the IsNil predicate on the "schema_int8" field.
func SchemaInt8LT ¶
SchemaInt8LT applies the LT predicate on the "schema_int8" field.
func SchemaInt8LTE ¶
SchemaInt8LTE applies the LTE predicate on the "schema_int8" field.
func SchemaInt8NEQ ¶
SchemaInt8NEQ applies the NEQ predicate on the "schema_int8" field.
func SchemaInt8NotIn ¶
SchemaInt8NotIn applies the NotIn predicate on the "schema_int8" field.
func SchemaInt8NotNil ¶
SchemaInt8NotNil applies the NotNil predicate on the "schema_int8" field.
func SchemaIntEQ ¶
SchemaIntEQ applies the EQ predicate on the "schema_int" field.
func SchemaIntGT ¶
SchemaIntGT applies the GT predicate on the "schema_int" field.
func SchemaIntGTE ¶
SchemaIntGTE applies the GTE predicate on the "schema_int" field.
func SchemaIntIn ¶
SchemaIntIn applies the In predicate on the "schema_int" field.
func SchemaIntIsNil ¶
SchemaIntIsNil applies the IsNil predicate on the "schema_int" field.
func SchemaIntLT ¶
SchemaIntLT applies the LT predicate on the "schema_int" field.
func SchemaIntLTE ¶
SchemaIntLTE applies the LTE predicate on the "schema_int" field.
func SchemaIntNEQ ¶
SchemaIntNEQ applies the NEQ predicate on the "schema_int" field.
func SchemaIntNotIn ¶
SchemaIntNotIn applies the NotIn predicate on the "schema_int" field.
func SchemaIntNotNil ¶
SchemaIntNotNil applies the NotNil predicate on the "schema_int" field.
func StateIsNil ¶
StateIsNil applies the IsNil predicate on the "state" field.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func StateNotNil ¶
StateNotNil applies the NotNil predicate on the "state" field.
func StateValidator ¶
StateValidator is a validator for the "state" field enum values. It is called by the builders before save.
func Str ¶
func Str(v sql.NullString) predicate.FieldType
Str applies equality check predicate on the "str" field. It's identical to StrEQ.
func StrContains ¶
func StrContains(v sql.NullString) predicate.FieldType
StrContains applies the Contains predicate on the "str" field.
func StrContainsFold ¶
func StrContainsFold(v sql.NullString) predicate.FieldType
StrContainsFold applies the ContainsFold predicate on the "str" field.
func StrEQ ¶
func StrEQ(v sql.NullString) predicate.FieldType
StrEQ applies the EQ predicate on the "str" field.
func StrEqualFold ¶
func StrEqualFold(v sql.NullString) predicate.FieldType
StrEqualFold applies the EqualFold predicate on the "str" field.
func StrGT ¶
func StrGT(v sql.NullString) predicate.FieldType
StrGT applies the GT predicate on the "str" field.
func StrGTE ¶
func StrGTE(v sql.NullString) predicate.FieldType
StrGTE applies the GTE predicate on the "str" field.
func StrHasPrefix ¶
func StrHasPrefix(v sql.NullString) predicate.FieldType
StrHasPrefix applies the HasPrefix predicate on the "str" field.
func StrHasSuffix ¶
func StrHasSuffix(v sql.NullString) predicate.FieldType
StrHasSuffix applies the HasSuffix predicate on the "str" field.
func StrIn ¶
func StrIn(vs ...sql.NullString) predicate.FieldType
StrIn applies the In predicate on the "str" field.
func StrLT ¶
func StrLT(v sql.NullString) predicate.FieldType
StrLT applies the LT predicate on the "str" field.
func StrLTE ¶
func StrLTE(v sql.NullString) predicate.FieldType
StrLTE applies the LTE predicate on the "str" field.
func StrNEQ ¶
func StrNEQ(v sql.NullString) predicate.FieldType
StrNEQ applies the NEQ predicate on the "str" field.
func StrNotIn ¶
func StrNotIn(vs ...sql.NullString) predicate.FieldType
StrNotIn applies the NotIn predicate on the "str" field.
func ValidColumn ¶ added in v0.4.3
ValidColumn reports if the column name is valid (part of the table columns).
func ValidateOptionalInt32 ¶
ValidateOptionalInt32 applies equality check predicate on the "validate_optional_int32" field. It's identical to ValidateOptionalInt32EQ.
func ValidateOptionalInt32EQ ¶
ValidateOptionalInt32EQ applies the EQ predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32GT ¶
ValidateOptionalInt32GT applies the GT predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32GTE ¶
ValidateOptionalInt32GTE applies the GTE predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32In ¶
ValidateOptionalInt32In applies the In predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32IsNil ¶
ValidateOptionalInt32IsNil applies the IsNil predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32LT ¶
ValidateOptionalInt32LT applies the LT predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32LTE ¶
ValidateOptionalInt32LTE applies the LTE predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32NEQ ¶
ValidateOptionalInt32NEQ applies the NEQ predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32NotIn ¶
ValidateOptionalInt32NotIn applies the NotIn predicate on the "validate_optional_int32" field.
func ValidateOptionalInt32NotNil ¶
ValidateOptionalInt32NotNil applies the NotNil predicate on the "validate_optional_int32" field.