Documentation ¶
Index ¶
- Constants
- Variables
- func Alias(v string) predicate.User
- func AliasContains(v string) predicate.User
- func AliasContainsFold(v string) predicate.User
- func AliasEQ(v string) predicate.User
- func AliasEqualFold(v string) predicate.User
- func AliasGT(v string) predicate.User
- func AliasGTE(v string) predicate.User
- func AliasHasPrefix(v string) predicate.User
- func AliasHasSuffix(v string) predicate.User
- func AliasIn(vs ...string) predicate.User
- func AliasIsNil() predicate.User
- func AliasLT(v string) predicate.User
- func AliasLTE(v string) predicate.User
- func AliasNEQ(v string) predicate.User
- func AliasNotIn(vs ...string) predicate.User
- func AliasNotNil() predicate.User
- func And(predicates ...predicate.User) predicate.User
- func EmailAddress(v string) predicate.User
- func EmailAddressContains(v string) predicate.User
- func EmailAddressContainsFold(v string) predicate.User
- func EmailAddressEQ(v string) predicate.User
- func EmailAddressEqualFold(v string) predicate.User
- func EmailAddressGT(v string) predicate.User
- func EmailAddressGTE(v string) predicate.User
- func EmailAddressHasPrefix(v string) predicate.User
- func EmailAddressHasSuffix(v string) predicate.User
- func EmailAddressIn(vs ...string) predicate.User
- func EmailAddressLT(v string) predicate.User
- func EmailAddressLTE(v string) predicate.User
- func EmailAddressNEQ(v string) predicate.User
- func EmailAddressNotIn(vs ...string) predicate.User
- func HasAdministered() predicate.User
- func HasAdministeredWith(preds ...predicate.Category) 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 Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func ValidColumn(column string) bool
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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEmailAddress holds the string denoting the email_address field in the database. FieldEmailAddress = "email_address" // FieldAlias holds the string denoting the alias field in the database. FieldAlias = "alias" // EdgeAdministered holds the string denoting the administered edge name in mutations. EdgeAdministered = "administered" // Table holds the table name of the user in the database. Table = "users" // AdministeredTable is the table that holds the administered relation/edge. AdministeredTable = "categories" // AdministeredInverseTable is the table name for the Category entity. // It exists in this package in order to avoid circular dependency with the "category" package. AdministeredInverseTable = "categories" // AdministeredColumn is the table column denoting the administered relation/edge. AdministeredColumn = "category_admin" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldEmailAddress, FieldAlias, }
Columns holds all SQL columns for user fields.
Functions ¶
func Alias ¶
Alias applies equality check predicate on the "alias" field. It's identical to AliasEQ.
func AliasContains ¶
AliasContains applies the Contains predicate on the "alias" field.
func AliasContainsFold ¶
AliasContainsFold applies the ContainsFold predicate on the "alias" field.
func AliasEqualFold ¶
AliasEqualFold applies the EqualFold predicate on the "alias" field.
func AliasHasPrefix ¶
AliasHasPrefix applies the HasPrefix predicate on the "alias" field.
func AliasHasSuffix ¶
AliasHasSuffix applies the HasSuffix predicate on the "alias" field.
func AliasIsNil ¶
AliasIsNil applies the IsNil predicate on the "alias" field.
func AliasNotIn ¶
AliasNotIn applies the NotIn predicate on the "alias" field.
func AliasNotNil ¶
AliasNotNil applies the NotNil predicate on the "alias" field.
func EmailAddress ¶
EmailAddress applies equality check predicate on the "email_address" field. It's identical to EmailAddressEQ.
func EmailAddressContains ¶
EmailAddressContains applies the Contains predicate on the "email_address" field.
func EmailAddressContainsFold ¶
EmailAddressContainsFold applies the ContainsFold predicate on the "email_address" field.
func EmailAddressEQ ¶
EmailAddressEQ applies the EQ predicate on the "email_address" field.
func EmailAddressEqualFold ¶
EmailAddressEqualFold applies the EqualFold predicate on the "email_address" field.
func EmailAddressGT ¶
EmailAddressGT applies the GT predicate on the "email_address" field.
func EmailAddressGTE ¶
EmailAddressGTE applies the GTE predicate on the "email_address" field.
func EmailAddressHasPrefix ¶
EmailAddressHasPrefix applies the HasPrefix predicate on the "email_address" field.
func EmailAddressHasSuffix ¶
EmailAddressHasSuffix applies the HasSuffix predicate on the "email_address" field.
func EmailAddressIn ¶
EmailAddressIn applies the In predicate on the "email_address" field.
func EmailAddressLT ¶
EmailAddressLT applies the LT predicate on the "email_address" field.
func EmailAddressLTE ¶
EmailAddressLTE applies the LTE predicate on the "email_address" field.
func EmailAddressNEQ ¶
EmailAddressNEQ applies the NEQ predicate on the "email_address" field.
func EmailAddressNotIn ¶
EmailAddressNotIn applies the NotIn predicate on the "email_address" field.
func HasAdministered ¶
HasAdministered applies the HasEdge predicate on the "administered" edge.
func HasAdministeredWith ¶
HasAdministeredWith applies the HasEdge predicate on the "administered" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.