Documentation ¶
Index ¶
- Constants
- 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 Not(p predicate.Pet) predicate.Pet
- func Or(predicates ...predicate.Pet) predicate.Pet
Constants ¶
View Source
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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // 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 ¶
This section is empty.
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.