Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Zone) predicate.Zone
- func Domain(v string) predicate.Zone
- func DomainContains(v string) predicate.Zone
- func DomainContainsFold(v string) predicate.Zone
- func DomainEQ(v string) predicate.Zone
- func DomainEqualFold(v string) predicate.Zone
- func DomainGT(v string) predicate.Zone
- func DomainGTE(v string) predicate.Zone
- func DomainHasPrefix(v string) predicate.Zone
- func DomainHasSuffix(v string) predicate.Zone
- func DomainIn(vs ...string) predicate.Zone
- func DomainLT(v string) predicate.Zone
- func DomainLTE(v string) predicate.Zone
- func DomainNEQ(v string) predicate.Zone
- func DomainNotIn(vs ...string) predicate.Zone
- func HasOwner() predicate.Zone
- func HasOwnerWith(preds ...predicate.User) predicate.Zone
- func ID(id int) predicate.Zone
- func IDEQ(id int) predicate.Zone
- func IDGT(id int) predicate.Zone
- func IDGTE(id int) predicate.Zone
- func IDIn(ids ...int) predicate.Zone
- func IDLT(id int) predicate.Zone
- func IDLTE(id int) predicate.Zone
- func IDNEQ(id int) predicate.Zone
- func IDNotIn(ids ...int) predicate.Zone
- func Not(p predicate.Zone) predicate.Zone
- func Or(predicates ...predicate.Zone) predicate.Zone
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the zone type in the database. Label = "zone" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDomain holds the string denoting the domain field in the database. FieldDomain = "domain" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the zone in the database. Table = "zones" // OwnerTable is the table the holds the owner relation/edge. OwnerTable = "zones" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "user_zones" )
Variables ¶
var Columns = []string{ FieldID, FieldDomain, }
Columns holds all SQL columns for zone fields.
var ForeignKeys = []string{
"user_zones",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "zones" table and are not defined as standalone fields in the schema.
Functions ¶
func Domain ¶
Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.
func DomainContains ¶
DomainContains applies the Contains predicate on the "domain" field.
func DomainContainsFold ¶
DomainContainsFold applies the ContainsFold predicate on the "domain" field.
func DomainEqualFold ¶
DomainEqualFold applies the EqualFold predicate on the "domain" field.
func DomainHasPrefix ¶
DomainHasPrefix applies the HasPrefix predicate on the "domain" field.
func DomainHasSuffix ¶
DomainHasSuffix applies the HasSuffix predicate on the "domain" field.
func DomainNotIn ¶
DomainNotIn applies the NotIn predicate on the "domain" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.