Documentation ¶
Index ¶
- Constants
- Variables
- func Age(v int) predicate.User
- func AgeEQ(v int) predicate.User
- func AgeGT(v int) predicate.User
- func AgeGTE(v int) predicate.User
- func AgeIn(vs ...int) predicate.User
- func AgeLT(v int) predicate.User
- func AgeLTE(v int) predicate.User
- func AgeNEQ(v int) predicate.User
- func AgeNotIn(vs ...int) predicate.User
- func And(predicates ...predicate.User) predicate.User
- func Blob(v []byte) predicate.User
- func BlobEQ(v []byte) predicate.User
- func BlobGT(v []byte) predicate.User
- func BlobGTE(v []byte) predicate.User
- func BlobIn(vs ...[]byte) predicate.User
- func BlobIsNil() predicate.User
- func BlobLT(v []byte) predicate.User
- func BlobLTE(v []byte) predicate.User
- func BlobNEQ(v []byte) predicate.User
- func BlobNotIn(vs ...[]byte) predicate.User
- func BlobNotNil() predicate.User
- func Buffer(v []byte) predicate.User
- func BufferEQ(v []byte) predicate.User
- func BufferGT(v []byte) predicate.User
- func BufferGTE(v []byte) predicate.User
- func BufferIn(vs ...[]byte) predicate.User
- func BufferIsNil() predicate.User
- func BufferLT(v []byte) predicate.User
- func BufferLTE(v []byte) predicate.User
- func BufferNEQ(v []byte) predicate.User
- func BufferNotIn(vs ...[]byte) predicate.User
- func BufferNotNil() predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func Description(v string) predicate.User
- func DescriptionContains(v string) predicate.User
- func DescriptionContainsFold(v string) predicate.User
- func DescriptionEQ(v string) predicate.User
- func DescriptionEqualFold(v string) predicate.User
- func DescriptionGT(v string) predicate.User
- func DescriptionGTE(v string) predicate.User
- func DescriptionHasPrefix(v string) predicate.User
- func DescriptionHasSuffix(v string) predicate.User
- func DescriptionIn(vs ...string) predicate.User
- func DescriptionIsNil() predicate.User
- func DescriptionLT(v string) predicate.User
- func DescriptionLTE(v string) predicate.User
- func DescriptionNEQ(v string) predicate.User
- func DescriptionNotIn(vs ...string) predicate.User
- func DescriptionNotNil() predicate.User
- func DropOptional(v string) predicate.User
- func DropOptionalContains(v string) predicate.User
- func DropOptionalContainsFold(v string) predicate.User
- func DropOptionalEQ(v string) predicate.User
- func DropOptionalEqualFold(v string) predicate.User
- func DropOptionalGT(v string) predicate.User
- func DropOptionalGTE(v string) predicate.User
- func DropOptionalHasPrefix(v string) predicate.User
- func DropOptionalHasSuffix(v string) predicate.User
- func DropOptionalIn(vs ...string) predicate.User
- func DropOptionalLT(v string) predicate.User
- func DropOptionalLTE(v string) predicate.User
- func DropOptionalNEQ(v string) predicate.User
- func DropOptionalNotIn(vs ...string) predicate.User
- func HasCar() predicate.User
- func HasCarWith(preds ...predicate.Car) predicate.User
- func HasFriends() predicate.User
- func HasFriendsWith(preds ...predicate.User) predicate.User
- func HasPets() predicate.User
- func HasPetsWith(preds ...predicate.Pet) predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func MixedEnumEQ(v MixedEnum) predicate.User
- func MixedEnumIn(vs ...MixedEnum) predicate.User
- func MixedEnumNEQ(v MixedEnum) predicate.User
- func MixedEnumNotIn(vs ...MixedEnum) predicate.User
- func MixedEnumValidator(me MixedEnum) error
- func MixedString(v string) predicate.User
- func MixedStringContains(v string) predicate.User
- func MixedStringContainsFold(v string) predicate.User
- func MixedStringEQ(v string) predicate.User
- func MixedStringEqualFold(v string) predicate.User
- func MixedStringGT(v string) predicate.User
- func MixedStringGTE(v string) predicate.User
- func MixedStringHasPrefix(v string) predicate.User
- func MixedStringHasSuffix(v string) predicate.User
- func MixedStringIn(vs ...string) predicate.User
- func MixedStringLT(v string) predicate.User
- func MixedStringLTE(v string) predicate.User
- func MixedStringNEQ(v string) predicate.User
- func MixedStringNotIn(vs ...string) predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func NewName(v string) predicate.User
- func NewNameContains(v string) predicate.User
- func NewNameContainsFold(v string) predicate.User
- func NewNameEQ(v string) predicate.User
- func NewNameEqualFold(v string) predicate.User
- func NewNameGT(v string) predicate.User
- func NewNameGTE(v string) predicate.User
- func NewNameHasPrefix(v string) predicate.User
- func NewNameHasSuffix(v string) predicate.User
- func NewNameIn(vs ...string) predicate.User
- func NewNameIsNil() predicate.User
- func NewNameLT(v string) predicate.User
- func NewNameLTE(v string) predicate.User
- func NewNameNEQ(v string) predicate.User
- func NewNameNotIn(vs ...string) predicate.User
- func NewNameNotNil() predicate.User
- func NewToken(v string) predicate.User
- func NewTokenContains(v string) predicate.User
- func NewTokenContainsFold(v string) predicate.User
- func NewTokenEQ(v string) predicate.User
- func NewTokenEqualFold(v string) predicate.User
- func NewTokenGT(v string) predicate.User
- func NewTokenGTE(v string) predicate.User
- func NewTokenHasPrefix(v string) predicate.User
- func NewTokenHasSuffix(v string) predicate.User
- func NewTokenIn(vs ...string) predicate.User
- func NewTokenLT(v string) predicate.User
- func NewTokenLTE(v string) predicate.User
- func NewTokenNEQ(v string) predicate.User
- func NewTokenNotIn(vs ...string) predicate.User
- func Nickname(v string) predicate.User
- func NicknameContains(v string) predicate.User
- func NicknameContainsFold(v string) predicate.User
- func NicknameEQ(v string) predicate.User
- func NicknameEqualFold(v string) predicate.User
- func NicknameGT(v string) predicate.User
- func NicknameGTE(v string) predicate.User
- func NicknameHasPrefix(v string) predicate.User
- func NicknameHasSuffix(v string) predicate.User
- func NicknameIn(vs ...string) predicate.User
- func NicknameLT(v string) predicate.User
- func NicknameLTE(v string) predicate.User
- func NicknameNEQ(v string) predicate.User
- func NicknameNotIn(vs ...string) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Phone(v string) predicate.User
- func PhoneContains(v string) predicate.User
- func PhoneContainsFold(v string) predicate.User
- func PhoneEQ(v string) predicate.User
- func PhoneEqualFold(v string) predicate.User
- func PhoneGT(v string) predicate.User
- func PhoneGTE(v string) predicate.User
- func PhoneHasPrefix(v string) predicate.User
- func PhoneHasSuffix(v string) predicate.User
- func PhoneIn(vs ...string) predicate.User
- func PhoneLT(v string) predicate.User
- func PhoneLTE(v string) predicate.User
- func PhoneNEQ(v string) predicate.User
- func PhoneNotIn(vs ...string) predicate.User
- func StateEQ(v State) predicate.User
- func StateIn(vs ...State) predicate.User
- func StateIsNil() predicate.User
- func StateNEQ(v State) predicate.User
- func StateNotIn(vs ...State) predicate.User
- func StateNotNil() predicate.User
- func StateValidator(s State) error
- func StatusEQ(v Status) predicate.User
- func StatusIn(vs ...Status) predicate.User
- func StatusIsNil() predicate.User
- func StatusNEQ(v Status) predicate.User
- func StatusNotIn(vs ...Status) predicate.User
- func StatusNotNil() predicate.User
- func StatusValidator(s Status) error
- func Title(v string) predicate.User
- func TitleContains(v string) predicate.User
- func TitleContainsFold(v string) predicate.User
- func TitleEQ(v string) predicate.User
- func TitleEqualFold(v string) predicate.User
- func TitleGT(v string) predicate.User
- func TitleGTE(v string) predicate.User
- func TitleHasPrefix(v string) predicate.User
- func TitleHasSuffix(v string) predicate.User
- func TitleIn(vs ...string) predicate.User
- func TitleLT(v string) predicate.User
- func TitleLTE(v string) predicate.User
- func TitleNEQ(v string) predicate.User
- func TitleNotIn(vs ...string) predicate.User
- func ValidColumn(column string) bool
- func Workplace(v string) predicate.User
- func WorkplaceContains(v string) predicate.User
- func WorkplaceContainsFold(v string) predicate.User
- func WorkplaceEQ(v string) predicate.User
- func WorkplaceEqualFold(v string) predicate.User
- func WorkplaceGT(v string) predicate.User
- func WorkplaceGTE(v string) predicate.User
- func WorkplaceHasPrefix(v string) predicate.User
- func WorkplaceHasSuffix(v string) predicate.User
- func WorkplaceIn(vs ...string) predicate.User
- func WorkplaceIsNil() predicate.User
- func WorkplaceLT(v string) predicate.User
- func WorkplaceLTE(v string) predicate.User
- func WorkplaceNEQ(v string) predicate.User
- func WorkplaceNotIn(vs ...string) predicate.User
- func WorkplaceNotNil() predicate.User
- type MixedEnum
- type State
- type Status
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldMixedString holds the string denoting the mixed_string field in the database. FieldMixedString = "mixed_string" // FieldMixedEnum holds the string denoting the mixed_enum field in the database. FieldMixedEnum = "mixed_enum" // 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" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldBuffer holds the string denoting the buffer field in the database. FieldBuffer = "buffer" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldNewName holds the string denoting the new_name field in the database. FieldNewName = "renamed" // FieldNewToken holds the string denoting the new_token field in the database. FieldNewToken = "new_token" // FieldBlob holds the string denoting the blob field in the database. FieldBlob = "blob" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldWorkplace holds the string denoting the workplace field in the database. FieldWorkplace = "workplace" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldDropOptional holds the string denoting the drop_optional field in the database. FieldDropOptional = "drop_optional" // EdgeCar holds the string denoting the car edge name in mutations. EdgeCar = "car" // EdgePets holds the string denoting the pets edge name in mutations. EdgePets = "pets" // EdgeFriends holds the string denoting the friends edge name in mutations. EdgeFriends = "friends" // CarFieldID holds the string denoting the ID field of the Car. CarFieldID = "id" // PetFieldID holds the string denoting the ID field of the Pet. PetFieldID = "id" // Table holds the table name of the user in the database. Table = "users" // CarTable is the table that holds the car relation/edge. CarTable = "Car" // CarInverseTable is the table name for the Car entity. // It exists in this package in order to avoid circular dependency with the "car" package. CarInverseTable = "Car" // CarColumn is the table column denoting the car relation/edge. CarColumn = "user_car" // PetsTable is the table that holds the pets relation/edge. PetsTable = "pets" // PetsInverseTable is the table name for the Pet entity. // It exists in this package in order to avoid circular dependency with the "pet" package. PetsInverseTable = "pets" // PetsColumn is the table column denoting the pets relation/edge. PetsColumn = "owner_id" // FriendsTable is the table that holds the friends relation/edge. The primary key declared below. FriendsTable = "friends" )
const DefaultMixedEnum = MixedEnumOn
MixedEnumOn is the default value of the MixedEnum enum.
const DefaultState = StateLoggedIn
StateLoggedIn is the default value of the State enum.
Variables ¶
var ( // DefaultMixedString holds the default value on creation for the "mixed_string" field. DefaultMixedString string // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // DefaultPhone holds the default value on creation for the "phone" field. DefaultPhone string // DefaultBuffer holds the default value on creation for the "buffer" field. DefaultBuffer func() []byte // DefaultTitle holds the default value on creation for the "title" field. DefaultTitle string // DefaultNewToken holds the default value on creation for the "new_token" field. DefaultNewToken func() string // BlobValidator is a validator for the "blob" field. It is called by the builders before save. BlobValidator func([]byte) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultDropOptional holds the default value on creation for the "drop_optional" field. DefaultDropOptional func() string )
var Columns = []string{ FieldID, FieldMixedString, FieldMixedEnum, FieldAge, FieldName, FieldDescription, FieldNickname, FieldPhone, FieldBuffer, FieldTitle, FieldNewName, FieldNewToken, FieldBlob, FieldState, FieldStatus, FieldWorkplace, FieldCreatedAt, FieldDropOptional, }
Columns holds all SQL columns for user fields.
var ( // FriendsPrimaryKey and FriendsColumn2 are the table columns denoting the // primary key for the friends relation (M2M). FriendsPrimaryKey = []string{"user", "friend"} )
Functions ¶
func BlobNotNil ¶
BlobNotNil applies the NotNil predicate on the "blob" field.
func Buffer ¶
Buffer applies equality check predicate on the "buffer" field. It's identical to BufferEQ.
func BufferIsNil ¶
BufferIsNil applies the IsNil predicate on the "buffer" field.
func BufferNotIn ¶
BufferNotIn applies the NotIn predicate on the "buffer" field.
func BufferNotNil ¶
BufferNotNil applies the NotNil predicate on the "buffer" field.
func CreatedAt ¶ added in v0.8.0
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶ added in v0.8.0
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶ added in v0.8.0
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶ added in v0.8.0
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶ added in v0.8.0
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶ added in v0.8.0
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶ added in v0.8.0
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶ added in v0.8.0
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶ added in v0.8.0
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶ added in v0.9.0
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶ added in v0.9.0
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶ added in v0.9.0
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶ added in v0.9.0
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶ added in v0.9.0
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶ added in v0.9.0
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶ added in v0.9.0
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶ added in v0.9.0
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶ added in v0.9.0
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶ added in v0.9.0
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶ added in v0.9.0
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶ added in v0.9.0
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶ added in v0.9.0
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶ added in v0.9.0
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶ added in v0.9.0
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶ added in v0.9.0
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DropOptional ¶ added in v0.11.0
DropOptional applies equality check predicate on the "drop_optional" field. It's identical to DropOptionalEQ.
func DropOptionalContains ¶ added in v0.11.0
DropOptionalContains applies the Contains predicate on the "drop_optional" field.
func DropOptionalContainsFold ¶ added in v0.11.0
DropOptionalContainsFold applies the ContainsFold predicate on the "drop_optional" field.
func DropOptionalEQ ¶ added in v0.11.0
DropOptionalEQ applies the EQ predicate on the "drop_optional" field.
func DropOptionalEqualFold ¶ added in v0.11.0
DropOptionalEqualFold applies the EqualFold predicate on the "drop_optional" field.
func DropOptionalGT ¶ added in v0.11.0
DropOptionalGT applies the GT predicate on the "drop_optional" field.
func DropOptionalGTE ¶ added in v0.11.0
DropOptionalGTE applies the GTE predicate on the "drop_optional" field.
func DropOptionalHasPrefix ¶ added in v0.11.0
DropOptionalHasPrefix applies the HasPrefix predicate on the "drop_optional" field.
func DropOptionalHasSuffix ¶ added in v0.11.0
DropOptionalHasSuffix applies the HasSuffix predicate on the "drop_optional" field.
func DropOptionalIn ¶ added in v0.11.0
DropOptionalIn applies the In predicate on the "drop_optional" field.
func DropOptionalLT ¶ added in v0.11.0
DropOptionalLT applies the LT predicate on the "drop_optional" field.
func DropOptionalLTE ¶ added in v0.11.0
DropOptionalLTE applies the LTE predicate on the "drop_optional" field.
func DropOptionalNEQ ¶ added in v0.11.0
DropOptionalNEQ applies the NEQ predicate on the "drop_optional" field.
func DropOptionalNotIn ¶ added in v0.11.0
DropOptionalNotIn applies the NotIn predicate on the "drop_optional" field.
func HasCarWith ¶
HasCarWith applies the HasEdge predicate on the "car" edge with a given conditions (other predicates).
func HasFriends ¶
HasFriends applies the HasEdge predicate on the "friends" edge.
func HasFriendsWith ¶
HasFriendsWith applies the HasEdge predicate on the "friends" edge with a given conditions (other predicates).
func HasPetsWith ¶
HasPetsWith applies the HasEdge predicate on the "pets" edge with a given conditions (other predicates).
func MixedEnumEQ ¶
MixedEnumEQ applies the EQ predicate on the "mixed_enum" field.
func MixedEnumIn ¶
MixedEnumIn applies the In predicate on the "mixed_enum" field.
func MixedEnumNEQ ¶
MixedEnumNEQ applies the NEQ predicate on the "mixed_enum" field.
func MixedEnumNotIn ¶
MixedEnumNotIn applies the NotIn predicate on the "mixed_enum" field.
func MixedEnumValidator ¶
MixedEnumValidator is a validator for the "mixed_enum" field enum values. It is called by the builders before save.
func MixedString ¶
MixedString applies equality check predicate on the "mixed_string" field. It's identical to MixedStringEQ.
func MixedStringContains ¶
MixedStringContains applies the Contains predicate on the "mixed_string" field.
func MixedStringContainsFold ¶
MixedStringContainsFold applies the ContainsFold predicate on the "mixed_string" field.
func MixedStringEQ ¶
MixedStringEQ applies the EQ predicate on the "mixed_string" field.
func MixedStringEqualFold ¶
MixedStringEqualFold applies the EqualFold predicate on the "mixed_string" field.
func MixedStringGT ¶
MixedStringGT applies the GT predicate on the "mixed_string" field.
func MixedStringGTE ¶
MixedStringGTE applies the GTE predicate on the "mixed_string" field.
func MixedStringHasPrefix ¶
MixedStringHasPrefix applies the HasPrefix predicate on the "mixed_string" field.
func MixedStringHasSuffix ¶
MixedStringHasSuffix applies the HasSuffix predicate on the "mixed_string" field.
func MixedStringIn ¶
MixedStringIn applies the In predicate on the "mixed_string" field.
func MixedStringLT ¶
MixedStringLT applies the LT predicate on the "mixed_string" field.
func MixedStringLTE ¶
MixedStringLTE applies the LTE predicate on the "mixed_string" field.
func MixedStringNEQ ¶
MixedStringNEQ applies the NEQ predicate on the "mixed_string" field.
func MixedStringNotIn ¶
MixedStringNotIn applies the NotIn predicate on the "mixed_string" 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 NewName ¶
NewName applies equality check predicate on the "new_name" field. It's identical to NewNameEQ.
func NewNameContains ¶
NewNameContains applies the Contains predicate on the "new_name" field.
func NewNameContainsFold ¶
NewNameContainsFold applies the ContainsFold predicate on the "new_name" field.
func NewNameEqualFold ¶
NewNameEqualFold applies the EqualFold predicate on the "new_name" field.
func NewNameGTE ¶
NewNameGTE applies the GTE predicate on the "new_name" field.
func NewNameHasPrefix ¶
NewNameHasPrefix applies the HasPrefix predicate on the "new_name" field.
func NewNameHasSuffix ¶
NewNameHasSuffix applies the HasSuffix predicate on the "new_name" field.
func NewNameIsNil ¶
NewNameIsNil applies the IsNil predicate on the "new_name" field.
func NewNameLTE ¶
NewNameLTE applies the LTE predicate on the "new_name" field.
func NewNameNEQ ¶
NewNameNEQ applies the NEQ predicate on the "new_name" field.
func NewNameNotIn ¶
NewNameNotIn applies the NotIn predicate on the "new_name" field.
func NewNameNotNil ¶
NewNameNotNil applies the NotNil predicate on the "new_name" field.
func NewToken ¶ added in v0.11.0
NewToken applies equality check predicate on the "new_token" field. It's identical to NewTokenEQ.
func NewTokenContains ¶ added in v0.11.0
NewTokenContains applies the Contains predicate on the "new_token" field.
func NewTokenContainsFold ¶ added in v0.11.0
NewTokenContainsFold applies the ContainsFold predicate on the "new_token" field.
func NewTokenEQ ¶ added in v0.11.0
NewTokenEQ applies the EQ predicate on the "new_token" field.
func NewTokenEqualFold ¶ added in v0.11.0
NewTokenEqualFold applies the EqualFold predicate on the "new_token" field.
func NewTokenGT ¶ added in v0.11.0
NewTokenGT applies the GT predicate on the "new_token" field.
func NewTokenGTE ¶ added in v0.11.0
NewTokenGTE applies the GTE predicate on the "new_token" field.
func NewTokenHasPrefix ¶ added in v0.11.0
NewTokenHasPrefix applies the HasPrefix predicate on the "new_token" field.
func NewTokenHasSuffix ¶ added in v0.11.0
NewTokenHasSuffix applies the HasSuffix predicate on the "new_token" field.
func NewTokenIn ¶ added in v0.11.0
NewTokenIn applies the In predicate on the "new_token" field.
func NewTokenLT ¶ added in v0.11.0
NewTokenLT applies the LT predicate on the "new_token" field.
func NewTokenLTE ¶ added in v0.11.0
NewTokenLTE applies the LTE predicate on the "new_token" field.
func NewTokenNEQ ¶ added in v0.11.0
NewTokenNEQ applies the NEQ predicate on the "new_token" field.
func NewTokenNotIn ¶ added in v0.11.0
NewTokenNotIn applies the NotIn predicate on the "new_token" field.
func Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" 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 StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Workplace ¶
Workplace applies equality check predicate on the "workplace" field. It's identical to WorkplaceEQ.
func WorkplaceContains ¶
WorkplaceContains applies the Contains predicate on the "workplace" field.
func WorkplaceContainsFold ¶
WorkplaceContainsFold applies the ContainsFold predicate on the "workplace" field.
func WorkplaceEQ ¶
WorkplaceEQ applies the EQ predicate on the "workplace" field.
func WorkplaceEqualFold ¶
WorkplaceEqualFold applies the EqualFold predicate on the "workplace" field.
func WorkplaceGT ¶
WorkplaceGT applies the GT predicate on the "workplace" field.
func WorkplaceGTE ¶
WorkplaceGTE applies the GTE predicate on the "workplace" field.
func WorkplaceHasPrefix ¶
WorkplaceHasPrefix applies the HasPrefix predicate on the "workplace" field.
func WorkplaceHasSuffix ¶
WorkplaceHasSuffix applies the HasSuffix predicate on the "workplace" field.
func WorkplaceIn ¶
WorkplaceIn applies the In predicate on the "workplace" field.
func WorkplaceIsNil ¶
WorkplaceIsNil applies the IsNil predicate on the "workplace" field.
func WorkplaceLT ¶
WorkplaceLT applies the LT predicate on the "workplace" field.
func WorkplaceLTE ¶
WorkplaceLTE applies the LTE predicate on the "workplace" field.
func WorkplaceNEQ ¶
WorkplaceNEQ applies the NEQ predicate on the "workplace" field.
func WorkplaceNotIn ¶
WorkplaceNotIn applies the NotIn predicate on the "workplace" field.
func WorkplaceNotNil ¶
WorkplaceNotNil applies the NotNil predicate on the "workplace" field.