Documentation ¶
Index ¶
- Constants
- Variables
- func Age(v float64) predicate.Pet
- func AgeEQ(v float64) predicate.Pet
- func AgeGT(v float64) predicate.Pet
- func AgeGTE(v float64) predicate.Pet
- func AgeIn(vs ...float64) predicate.Pet
- func AgeLT(v float64) predicate.Pet
- func AgeLTE(v float64) predicate.Pet
- func AgeNEQ(v float64) predicate.Pet
- func AgeNotIn(vs ...float64) predicate.Pet
- func And(predicates ...predicate.Pet) predicate.Pet
- func HasOwner() predicate.Pet
- func HasOwnerWith(preds ...predicate.User) predicate.Pet
- func HasTeam() predicate.Pet
- func HasTeamWith(preds ...predicate.User) predicate.Pet
- func ID(id string) predicate.Pet
- func IDEQ(id string) predicate.Pet
- func IDGT(id string) predicate.Pet
- func IDGTE(id string) predicate.Pet
- func IDIn(ids ...string) predicate.Pet
- func IDLT(id string) predicate.Pet
- func IDLTE(id string) predicate.Pet
- func IDNEQ(id string) predicate.Pet
- func IDNotIn(ids ...string) predicate.Pet
- func Name(v string) predicate.Pet
- func NameContains(v string) predicate.Pet
- func NameEQ(v string) predicate.Pet
- func NameGT(v string) predicate.Pet
- func NameGTE(v string) predicate.Pet
- func NameHasPrefix(v string) predicate.Pet
- func NameHasSuffix(v string) predicate.Pet
- func NameIn(vs ...string) predicate.Pet
- func NameLT(v string) predicate.Pet
- func NameLTE(v string) predicate.Pet
- func NameNEQ(v string) predicate.Pet
- func NameNotIn(vs ...string) predicate.Pet
- func Nickname(v string) predicate.Pet
- func NicknameContains(v string) predicate.Pet
- func NicknameEQ(v string) predicate.Pet
- func NicknameGT(v string) predicate.Pet
- func NicknameGTE(v string) predicate.Pet
- func NicknameHasPrefix(v string) predicate.Pet
- func NicknameHasSuffix(v string) predicate.Pet
- func NicknameIn(vs ...string) predicate.Pet
- func NicknameIsNil() predicate.Pet
- func NicknameLT(v string) predicate.Pet
- func NicknameLTE(v string) predicate.Pet
- func NicknameNEQ(v string) predicate.Pet
- func NicknameNotIn(vs ...string) predicate.Pet
- func NicknameNotNil() predicate.Pet
- func Not(p predicate.Pet) predicate.Pet
- func Or(predicates ...predicate.Pet) predicate.Pet
- func UUID(v uuid.UUID) predicate.Pet
- func UUIDEQ(v uuid.UUID) predicate.Pet
- func UUIDGT(v uuid.UUID) predicate.Pet
- func UUIDGTE(v uuid.UUID) predicate.Pet
- func UUIDIn(vs ...uuid.UUID) predicate.Pet
- func UUIDIsNil() predicate.Pet
- func UUIDLT(v uuid.UUID) predicate.Pet
- func UUIDLTE(v uuid.UUID) predicate.Pet
- func UUIDNEQ(v uuid.UUID) predicate.Pet
- func UUIDNotIn(vs ...uuid.UUID) predicate.Pet
- func UUIDNotNil() predicate.Pet
Constants ¶
const ( // Label holds the string label denoting the pet type in the database. Label = "pet" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // EdgeTeam holds the string denoting the team edge name in mutations. EdgeTeam = "team" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // TeamInverseLabel holds the string label denoting the team inverse edge type in the database. TeamInverseLabel = "user_team" // OwnerInverseLabel holds the string label denoting the owner inverse edge type in the database. OwnerInverseLabel = "user_pets" )
Variables ¶
var ( // DefaultAge holds the default value on creation for the "age" field. DefaultAge float64 )
Functions ¶
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" 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 NameContains ¶
NameContains applies the Contains 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 NicknameEQ ¶
NicknameEQ applies the EQ 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 UUIDNotNil ¶
UUIDNotNil applies the NotNil predicate on the "uuid" field.
Types ¶
This section is empty.