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 int32) predicate.User
- func AgeEQ(v int32) predicate.User
- func AgeGT(v int32) predicate.User
- func AgeGTE(v int32) predicate.User
- func AgeIn(vs ...int32) predicate.User
- func AgeLT(v int32) predicate.User
- func AgeLTE(v int32) predicate.User
- func AgeNEQ(v int32) predicate.User
- func AgeNotIn(vs ...int32) 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 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 DropOptionalIsNil() 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 DropOptionalNotNil() predicate.User
- func HasCar() predicate.User
- func HasCarWith(preds ...predicate.Car) predicate.User
- func HasChildren() predicate.User
- func HasChildrenWith(preds ...predicate.User) predicate.User
- func HasParent() predicate.User
- func HasParentWith(preds ...predicate.User) predicate.User
- func HasSpouse() predicate.User
- func HasSpouseWith(preds ...predicate.User) 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 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 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 OldToken(v string) predicate.User
- func OldTokenContains(v string) predicate.User
- func OldTokenContainsFold(v string) predicate.User
- func OldTokenEQ(v string) predicate.User
- func OldTokenEqualFold(v string) predicate.User
- func OldTokenGT(v string) predicate.User
- func OldTokenGTE(v string) predicate.User
- func OldTokenHasPrefix(v string) predicate.User
- func OldTokenHasSuffix(v string) predicate.User
- func OldTokenIn(vs ...string) predicate.User
- func OldTokenLT(v string) predicate.User
- func OldTokenLTE(v string) predicate.User
- func OldTokenNEQ(v string) predicate.User
- func OldTokenNotIn(vs ...string) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Renamed(v string) predicate.User
- func RenamedContains(v string) predicate.User
- func RenamedContainsFold(v string) predicate.User
- func RenamedEQ(v string) predicate.User
- func RenamedEqualFold(v string) predicate.User
- func RenamedGT(v string) predicate.User
- func RenamedGTE(v string) predicate.User
- func RenamedHasPrefix(v string) predicate.User
- func RenamedHasSuffix(v string) predicate.User
- func RenamedIn(vs ...string) predicate.User
- func RenamedIsNil() predicate.User
- func RenamedLT(v string) predicate.User
- func RenamedLTE(v string) predicate.User
- func RenamedNEQ(v string) predicate.User
- func RenamedNotIn(vs ...string) predicate.User
- func RenamedNotNil() 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 Status(v string) predicate.User
- func StatusContains(v string) predicate.User
- func StatusContainsFold(v string) predicate.User
- func StatusEQ(v string) predicate.User
- func StatusEqualFold(v string) predicate.User
- func StatusGT(v string) predicate.User
- func StatusGTE(v string) predicate.User
- func StatusHasPrefix(v string) predicate.User
- func StatusHasSuffix(v string) predicate.User
- func StatusIn(vs ...string) predicate.User
- func StatusIsNil() predicate.User
- func StatusLT(v string) predicate.User
- func StatusLTE(v string) predicate.User
- func StatusNEQ(v string) predicate.User
- func StatusNotIn(vs ...string) predicate.User
- func StatusNotNil() 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 OrderOption
- func ByAddress(opts ...sql.OrderTermOption) OrderOption
- func ByAge(opts ...sql.OrderTermOption) OrderOption
- func ByCarField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDropOptional(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNickname(opts ...sql.OrderTermOption) OrderOption
- func ByOldToken(opts ...sql.OrderTermOption) OrderOption
- func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRenamed(opts ...sql.OrderTermOption) OrderOption
- func BySpouseField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByWorkplace(opts ...sql.OrderTermOption) OrderOption
- type State
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" // 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" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldRenamed holds the string denoting the renamed field in the database. FieldRenamed = "renamed" // FieldOldToken holds the string denoting the old_token field in the database. FieldOldToken = "old_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" // FieldDropOptional holds the string denoting the drop_optional field in the database. FieldDropOptional = "drop_optional" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // EdgeSpouse holds the string denoting the spouse edge name in mutations. EdgeSpouse = "spouse" // EdgeCar holds the string denoting the car edge name in mutations. EdgeCar = "car" // CarFieldID holds the string denoting the ID field of the Car. CarFieldID = "id" // Table holds the table name of the user in the database. Table = "users" // ParentTable is the table that holds the parent relation/edge. ParentTable = "users" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "user_children" // ChildrenTable is the table that holds the children relation/edge. ChildrenTable = "users" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "user_children" // 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" // 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" )
const DefaultState = StateLoggedIn
StateLoggedIn is the default value of the State enum.
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultOldToken holds the default value on creation for the "old_token" field. DefaultOldToken func() string // BlobValidator is a validator for the "blob" field. It is called by the builders before save. BlobValidator func([]byte) error // WorkplaceValidator is a validator for the "workplace" field. It is called by the builders before save. WorkplaceValidator func(string) error )
var Columns = []string{ FieldID, FieldAge, FieldName, FieldDescription, FieldNickname, FieldAddress, FieldRenamed, FieldOldToken, FieldBlob, FieldState, FieldStatus, FieldWorkplace, FieldDropOptional, }
Columns holds all SQL columns for user fields.
var ForeignKeys = []string{
"user_children",
"user_spouse",
}
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 BlobNotNil ¶
BlobNotNil applies the NotNil predicate on the "blob" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DropOptional ¶
DropOptional applies equality check predicate on the "drop_optional" field. It's identical to DropOptionalEQ.
func DropOptionalContains ¶
DropOptionalContains applies the Contains predicate on the "drop_optional" field.
func DropOptionalContainsFold ¶
DropOptionalContainsFold applies the ContainsFold predicate on the "drop_optional" field.
func DropOptionalEQ ¶
DropOptionalEQ applies the EQ predicate on the "drop_optional" field.
func DropOptionalEqualFold ¶
DropOptionalEqualFold applies the EqualFold predicate on the "drop_optional" field.
func DropOptionalGT ¶
DropOptionalGT applies the GT predicate on the "drop_optional" field.
func DropOptionalGTE ¶
DropOptionalGTE applies the GTE predicate on the "drop_optional" field.
func DropOptionalHasPrefix ¶
DropOptionalHasPrefix applies the HasPrefix predicate on the "drop_optional" field.
func DropOptionalHasSuffix ¶
DropOptionalHasSuffix applies the HasSuffix predicate on the "drop_optional" field.
func DropOptionalIn ¶
DropOptionalIn applies the In predicate on the "drop_optional" field.
func DropOptionalIsNil ¶
DropOptionalIsNil applies the IsNil predicate on the "drop_optional" field.
func DropOptionalLT ¶
DropOptionalLT applies the LT predicate on the "drop_optional" field.
func DropOptionalLTE ¶
DropOptionalLTE applies the LTE predicate on the "drop_optional" field.
func DropOptionalNEQ ¶
DropOptionalNEQ applies the NEQ predicate on the "drop_optional" field.
func DropOptionalNotIn ¶
DropOptionalNotIn applies the NotIn predicate on the "drop_optional" field.
func DropOptionalNotNil ¶
DropOptionalNotNil applies the NotNil predicate on the "drop_optional" field.
func HasCarWith ¶
HasCarWith applies the HasEdge predicate on the "car" 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 HasParentWith ¶
HasParentWith applies the HasEdge predicate on the "parent" 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 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 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 OldToken ¶
OldToken applies equality check predicate on the "old_token" field. It's identical to OldTokenEQ.
func OldTokenContains ¶
OldTokenContains applies the Contains predicate on the "old_token" field.
func OldTokenContainsFold ¶
OldTokenContainsFold applies the ContainsFold predicate on the "old_token" field.
func OldTokenEQ ¶
OldTokenEQ applies the EQ predicate on the "old_token" field.
func OldTokenEqualFold ¶
OldTokenEqualFold applies the EqualFold predicate on the "old_token" field.
func OldTokenGT ¶
OldTokenGT applies the GT predicate on the "old_token" field.
func OldTokenGTE ¶
OldTokenGTE applies the GTE predicate on the "old_token" field.
func OldTokenHasPrefix ¶
OldTokenHasPrefix applies the HasPrefix predicate on the "old_token" field.
func OldTokenHasSuffix ¶
OldTokenHasSuffix applies the HasSuffix predicate on the "old_token" field.
func OldTokenIn ¶
OldTokenIn applies the In predicate on the "old_token" field.
func OldTokenLT ¶
OldTokenLT applies the LT predicate on the "old_token" field.
func OldTokenLTE ¶
OldTokenLTE applies the LTE predicate on the "old_token" field.
func OldTokenNEQ ¶
OldTokenNEQ applies the NEQ predicate on the "old_token" field.
func OldTokenNotIn ¶
OldTokenNotIn applies the NotIn predicate on the "old_token" field.
func Renamed ¶
Renamed applies equality check predicate on the "renamed" field. It's identical to RenamedEQ.
func RenamedContains ¶
RenamedContains applies the Contains predicate on the "renamed" field.
func RenamedContainsFold ¶
RenamedContainsFold applies the ContainsFold predicate on the "renamed" field.
func RenamedEqualFold ¶
RenamedEqualFold applies the EqualFold predicate on the "renamed" field.
func RenamedGTE ¶
RenamedGTE applies the GTE predicate on the "renamed" field.
func RenamedHasPrefix ¶
RenamedHasPrefix applies the HasPrefix predicate on the "renamed" field.
func RenamedHasSuffix ¶
RenamedHasSuffix applies the HasSuffix predicate on the "renamed" field.
func RenamedIsNil ¶
RenamedIsNil applies the IsNil predicate on the "renamed" field.
func RenamedLTE ¶
RenamedLTE applies the LTE predicate on the "renamed" field.
func RenamedNEQ ¶
RenamedNEQ applies the NEQ predicate on the "renamed" field.
func RenamedNotIn ¶
RenamedNotIn applies the NotIn predicate on the "renamed" field.
func RenamedNotNil ¶
RenamedNotNil applies the NotNil predicate on the "renamed" 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 Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
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 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.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the User queries.
func ByAddress ¶
func ByAddress(opts ...sql.OrderTermOption) OrderOption
ByAddress orders the results by the address field.
func ByAge ¶
func ByAge(opts ...sql.OrderTermOption) OrderOption
ByAge orders the results by the age field.
func ByCarField ¶
func ByCarField(field string, opts ...sql.OrderTermOption) OrderOption
ByCarField orders the results by car field.
func ByChildren ¶
func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChildren orders the results by children terms.
func ByChildrenCount ¶
func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
ByChildrenCount orders the results by children count.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDropOptional ¶
func ByDropOptional(opts ...sql.OrderTermOption) OrderOption
ByDropOptional orders the results by the drop_optional field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNickname ¶
func ByNickname(opts ...sql.OrderTermOption) OrderOption
ByNickname orders the results by the nickname field.
func ByOldToken ¶
func ByOldToken(opts ...sql.OrderTermOption) OrderOption
ByOldToken orders the results by the old_token field.
func ByParentField ¶
func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
ByParentField orders the results by parent field.
func ByRenamed ¶
func ByRenamed(opts ...sql.OrderTermOption) OrderOption
ByRenamed orders the results by the renamed field.
func BySpouseField ¶
func BySpouseField(field string, opts ...sql.OrderTermOption) OrderOption
BySpouseField orders the results by spouse field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByWorkplace ¶
func ByWorkplace(opts ...sql.OrderTermOption) OrderOption
ByWorkplace orders the results by the workplace field.