Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.User
- func AddressContains(v string) predicate.User
- func AddressContainsFold(v string) predicate.User
- func AddressEQ(v string) predicate.User
- func AddressEqualFold(v string) predicate.User
- func AddressGT(v string) predicate.User
- func AddressGTE(v string) predicate.User
- func AddressHasPrefix(v string) predicate.User
- func AddressHasSuffix(v string) predicate.User
- func AddressIn(vs ...string) predicate.User
- func AddressIsNil() predicate.User
- func AddressLT(v string) predicate.User
- func AddressLTE(v string) predicate.User
- func AddressNEQ(v string) predicate.User
- func AddressNotIn(vs ...string) predicate.User
- func AddressNotNil() predicate.User
- 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 EmploymentEQ(v Employment) predicate.User
- func EmploymentIn(vs ...Employment) predicate.User
- func EmploymentNEQ(v Employment) predicate.User
- func EmploymentNotIn(vs ...Employment) predicate.User
- func EmploymentValidator(e Employment) error
- func HasCard() predicate.User
- func HasCardWith(preds ...predicate.Card) predicate.User
- func HasChildren() predicate.User
- func HasChildrenWith(preds ...predicate.User) predicate.User
- func HasFiles() predicate.User
- func HasFilesWith(preds ...predicate.File) predicate.User
- func HasFollowers() predicate.User
- func HasFollowersWith(preds ...predicate.User) predicate.User
- func HasFollowing() predicate.User
- func HasFollowingWith(preds ...predicate.User) predicate.User
- func HasFriends() predicate.User
- func HasFriendsWith(preds ...predicate.User) predicate.User
- func HasGroups() predicate.User
- func HasGroupsWith(preds ...predicate.Group) predicate.User
- func HasParent() predicate.User
- func HasParentWith(preds ...predicate.User) predicate.User
- func HasPets() predicate.User
- func HasPetsWith(preds ...predicate.Pet) predicate.User
- func HasSpouse() predicate.User
- func HasSpouseWith(preds ...predicate.User) predicate.User
- func HasTeam() predicate.User
- func HasTeamWith(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 Last(v string) predicate.User
- func LastContains(v string) predicate.User
- func LastContainsFold(v string) predicate.User
- func LastEQ(v string) predicate.User
- func LastEqualFold(v string) predicate.User
- func LastGT(v string) predicate.User
- func LastGTE(v string) predicate.User
- func LastHasPrefix(v string) predicate.User
- func LastHasSuffix(v string) predicate.User
- func LastIn(vs ...string) predicate.User
- func LastLT(v string) predicate.User
- func LastLTE(v string) predicate.User
- func LastNEQ(v string) predicate.User
- func LastNotIn(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 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 NicknameIsNil() 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 NicknameNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func OptionalInt(v int) predicate.User
- func OptionalIntEQ(v int) predicate.User
- func OptionalIntGT(v int) predicate.User
- func OptionalIntGTE(v int) predicate.User
- func OptionalIntIn(vs ...int) predicate.User
- func OptionalIntIsNil() predicate.User
- func OptionalIntLT(v int) predicate.User
- func OptionalIntLTE(v int) predicate.User
- func OptionalIntNEQ(v int) predicate.User
- func OptionalIntNotIn(vs ...int) predicate.User
- func OptionalIntNotNil() predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Password(v string) predicate.User
- func PasswordContains(v string) predicate.User
- func PasswordContainsFold(v string) predicate.User
- func PasswordEQ(v string) predicate.User
- func PasswordEqualFold(v string) predicate.User
- func PasswordGT(v string) predicate.User
- func PasswordGTE(v string) predicate.User
- func PasswordHasPrefix(v string) predicate.User
- func PasswordHasSuffix(v string) predicate.User
- func PasswordIn(vs ...string) predicate.User
- func PasswordIsNil() predicate.User
- func PasswordLT(v string) predicate.User
- func PasswordLTE(v string) predicate.User
- func PasswordNEQ(v string) predicate.User
- func PasswordNotIn(vs ...string) predicate.User
- func PasswordNotNil() 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 PhoneIsNil() 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 PhoneNotNil() predicate.User
- func RoleEQ(v Role) predicate.User
- func RoleIn(vs ...Role) predicate.User
- func RoleNEQ(v Role) predicate.User
- func RoleNotIn(vs ...Role) predicate.User
- func RoleValidator(r Role) error
- func SSOCert(v string) predicate.User
- func SSOCertContains(v string) predicate.User
- func SSOCertContainsFold(v string) predicate.User
- func SSOCertEQ(v string) predicate.User
- func SSOCertEqualFold(v string) predicate.User
- func SSOCertGT(v string) predicate.User
- func SSOCertGTE(v string) predicate.User
- func SSOCertHasPrefix(v string) predicate.User
- func SSOCertHasSuffix(v string) predicate.User
- func SSOCertIn(vs ...string) predicate.User
- func SSOCertIsNil() predicate.User
- func SSOCertLT(v string) predicate.User
- func SSOCertLTE(v string) predicate.User
- func SSOCertNEQ(v string) predicate.User
- func SSOCertNotIn(vs ...string) predicate.User
- func SSOCertNotNil() predicate.User
- func ValidColumn(column string) bool
- type Employment
- type Role
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 = "id" // FieldOptionalInt holds the string denoting the optional_int field in the database. FieldOptionalInt = "optional_int" // 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" // FieldLast holds the string denoting the last field in the database. FieldLast = "last" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldRole holds the string denoting the role field in the database. FieldRole = "role" // FieldEmployment holds the string denoting the employment field in the database. FieldEmployment = "employment" // FieldSSOCert holds the string denoting the ssocert field in the database. FieldSSOCert = "sso_cert" // EdgeCard holds the string denoting the card edge name in mutations. EdgeCard = "card" // EdgePets holds the string denoting the pets edge name in mutations. EdgePets = "pets" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeGroups holds the string denoting the groups edge name in mutations. EdgeGroups = "groups" // EdgeFriends holds the string denoting the friends edge name in mutations. EdgeFriends = "friends" // EdgeFollowers holds the string denoting the followers edge name in mutations. EdgeFollowers = "followers" // EdgeFollowing holds the string denoting the following edge name in mutations. EdgeFollowing = "following" // EdgeTeam holds the string denoting the team edge name in mutations. EdgeTeam = "team" // EdgeSpouse holds the string denoting the spouse edge name in mutations. EdgeSpouse = "spouse" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // Table holds the table name of the user in the database. Table = "users" // CardTable is the table that holds the card relation/edge. CardTable = "cards" // CardInverseTable is the table name for the Card entity. // It exists in this package in order to avoid circular dependency with the "card" package. CardInverseTable = "cards" // CardColumn is the table column denoting the card relation/edge. CardColumn = "user_card" // PetsTable is the table that holds the pets relation/edge. PetsTable = "pet" // 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 = "pet" // PetsColumn is the table column denoting the pets relation/edge. PetsColumn = "user_pets" // FilesTable is the table that holds the files relation/edge. FilesTable = "files" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" // FilesColumn is the table column denoting the files relation/edge. FilesColumn = "user_files" // GroupsTable is the table that holds the groups relation/edge. The primary key declared below. GroupsTable = "user_groups" // GroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupsInverseTable = "groups" // FriendsTable is the table that holds the friends relation/edge. The primary key declared below. FriendsTable = "user_friends" // FollowersTable is the table that holds the followers relation/edge. The primary key declared below. FollowersTable = "user_following" // FollowingTable is the table that holds the following relation/edge. The primary key declared below. FollowingTable = "user_following" // TeamTable is the table that holds the team relation/edge. TeamTable = "pet" // TeamInverseTable is the table name for the Pet entity. // It exists in this package in order to avoid circular dependency with the "pet" package. TeamInverseTable = "pet" // TeamColumn is the table column denoting the team relation/edge. TeamColumn = "user_team" // SpouseTable is the table that holds the spouse relation/edge. SpouseTable = "users" // SpouseColumn is the table column denoting the spouse relation/edge. SpouseColumn = "user_spouse" // ChildrenTable is the table that holds the children relation/edge. ChildrenTable = "users" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "user_parent" // ParentTable is the table that holds the parent relation/edge. ParentTable = "users" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "user_parent" )
const DefaultEmployment = EmploymentFullTime
EmploymentFullTime is the default value of the Employment enum.
const DefaultRole = RoleUser
RoleUser is the default value of the Role enum.
Variables ¶
var ( // GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the // primary key for the groups relation (M2M). GroupsPrimaryKey = []string{"user_id", "group_id"} // FriendsPrimaryKey and FriendsColumn2 are the table columns denoting the // primary key for the friends relation (M2M). FriendsPrimaryKey = []string{"user_id", "friend_id"} // FollowersPrimaryKey and FollowersColumn2 are the table columns denoting the // primary key for the followers relation (M2M). FollowersPrimaryKey = []string{"user_id", "follower_id"} // FollowingPrimaryKey and FollowingColumn2 are the table columns denoting the // primary key for the following relation (M2M). FollowingPrimaryKey = []string{"user_id", "follower_id"} )
var ( // OptionalIntValidator is a validator for the "optional_int" field. It is called by the builders before save. OptionalIntValidator func(int) error // DefaultLast holds the default value on creation for the "last" field. DefaultLast string // DefaultAddress holds the default value on creation for the "address" field. DefaultAddress func() string )
var Columns = []string{ FieldID, FieldOptionalInt, FieldAge, FieldName, FieldLast, FieldNickname, FieldAddress, FieldPhone, FieldPassword, FieldRole, FieldEmployment, FieldSSOCert, }
Columns holds all SQL columns for user fields.
var ForeignKeys = []string{
"group_blocked",
"user_spouse",
"user_parent",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "users" table and are not defined as standalone fields in the schema.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIsNil ¶
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
AddressNotNil applies the NotNil predicate on the "address" field.
func EmploymentEQ ¶ added in v0.10.0
func EmploymentEQ(v Employment) predicate.User
EmploymentEQ applies the EQ predicate on the "employment" field.
func EmploymentIn ¶ added in v0.10.0
func EmploymentIn(vs ...Employment) predicate.User
EmploymentIn applies the In predicate on the "employment" field.
func EmploymentNEQ ¶ added in v0.10.0
func EmploymentNEQ(v Employment) predicate.User
EmploymentNEQ applies the NEQ predicate on the "employment" field.
func EmploymentNotIn ¶ added in v0.10.0
func EmploymentNotIn(vs ...Employment) predicate.User
EmploymentNotIn applies the NotIn predicate on the "employment" field.
func EmploymentValidator ¶ added in v0.10.0
func EmploymentValidator(e Employment) error
EmploymentValidator is a validator for the "employment" field enum values. It is called by the builders before save.
func HasCardWith ¶
HasCardWith applies the HasEdge predicate on the "card" edge with a given conditions (other predicates).
func HasChildren ¶
HasChildren applies the HasEdge predicate on the "children" edge.
func HasChildrenWith ¶
HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasFollowers ¶
HasFollowers applies the HasEdge predicate on the "followers" edge.
func HasFollowersWith ¶
HasFollowersWith applies the HasEdge predicate on the "followers" edge with a given conditions (other predicates).
func HasFollowing ¶
HasFollowing applies the HasEdge predicate on the "following" edge.
func HasFollowingWith ¶
HasFollowingWith applies the HasEdge predicate on the "following" 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 HasGroupsWith ¶
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func HasParentWith ¶
HasParentWith applies the HasEdge predicate on the "parent" 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 HasSpouseWith ¶
HasSpouseWith applies the HasEdge predicate on the "spouse" edge with a given conditions (other predicates).
func HasTeamWith ¶
HasTeamWith applies the HasEdge predicate on the "team" edge with a given conditions (other predicates).
func LastContains ¶
LastContains applies the Contains predicate on the "last" field.
func LastContainsFold ¶
LastContainsFold applies the ContainsFold predicate on the "last" field.
func LastEqualFold ¶
LastEqualFold applies the EqualFold predicate on the "last" field.
func LastHasPrefix ¶
LastHasPrefix applies the HasPrefix predicate on the "last" field.
func LastHasSuffix ¶
LastHasSuffix applies the HasSuffix predicate on the "last" 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 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 NicknameIsNil ¶
NicknameIsNil applies the IsNil 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 NicknameNotNil ¶
NicknameNotNil applies the NotNil predicate on the "nickname" field.
func OptionalInt ¶
OptionalInt applies equality check predicate on the "optional_int" field. It's identical to OptionalIntEQ.
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 Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordIsNil ¶
PasswordIsNil applies the IsNil predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func PasswordNotNil ¶
PasswordNotNil applies the NotNil predicate on the "password" 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 PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func RoleValidator ¶
RoleValidator is a validator for the "role" field enum values. It is called by the builders before save.
func SSOCert ¶
SSOCert applies equality check predicate on the "SSOCert" field. It's identical to SSOCertEQ.
func SSOCertContains ¶
SSOCertContains applies the Contains predicate on the "SSOCert" field.
func SSOCertContainsFold ¶
SSOCertContainsFold applies the ContainsFold predicate on the "SSOCert" field.
func SSOCertEqualFold ¶
SSOCertEqualFold applies the EqualFold predicate on the "SSOCert" field.
func SSOCertGTE ¶
SSOCertGTE applies the GTE predicate on the "SSOCert" field.
func SSOCertHasPrefix ¶
SSOCertHasPrefix applies the HasPrefix predicate on the "SSOCert" field.
func SSOCertHasSuffix ¶
SSOCertHasSuffix applies the HasSuffix predicate on the "SSOCert" field.
func SSOCertIsNil ¶
SSOCertIsNil applies the IsNil predicate on the "SSOCert" field.
func SSOCertLTE ¶
SSOCertLTE applies the LTE predicate on the "SSOCert" field.
func SSOCertNEQ ¶
SSOCertNEQ applies the NEQ predicate on the "SSOCert" field.
func SSOCertNotIn ¶
SSOCertNotIn applies the NotIn predicate on the "SSOCert" field.
func SSOCertNotNil ¶
SSOCertNotNil applies the NotNil predicate on the "SSOCert" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Employment ¶ added in v0.10.0
type Employment string
Employment defines the type for the "employment" enum field.
const ( EmploymentFullTime Employment = "Full-Time" EmploymentPartTime Employment = "Part-Time" EmploymentContract Employment = "Contract" )
Employment values.
func (Employment) Ptr ¶ added in v0.10.0
func (e Employment) Ptr() *Employment
Ptr returns a new pointer to the enum value.
func (Employment) String ¶ added in v0.10.0
func (e Employment) String() string