Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WhiteList) predicate.WhiteList
- func HasOwner() predicate.WhiteList
- func HasOwnerWith(preds ...predicate.ServiceProvider) predicate.WhiteList
- func ID(id int) predicate.WhiteList
- func IDEQ(id int) predicate.WhiteList
- func IDGT(id int) predicate.WhiteList
- func IDGTE(id int) predicate.WhiteList
- func IDIn(ids ...int) predicate.WhiteList
- func IDLT(id int) predicate.WhiteList
- func IDLTE(id int) predicate.WhiteList
- func IDNEQ(id int) predicate.WhiteList
- func IDNotIn(ids ...int) predicate.WhiteList
- func Not(p predicate.WhiteList) predicate.WhiteList
- func Or(predicates ...predicate.WhiteList) predicate.WhiteList
- func Path(v string) predicate.WhiteList
- func PathContains(v string) predicate.WhiteList
- func PathContainsFold(v string) predicate.WhiteList
- func PathEQ(v string) predicate.WhiteList
- func PathEqualFold(v string) predicate.WhiteList
- func PathGT(v string) predicate.WhiteList
- func PathGTE(v string) predicate.WhiteList
- func PathHasPrefix(v string) predicate.WhiteList
- func PathHasSuffix(v string) predicate.WhiteList
- func PathIn(vs ...string) predicate.WhiteList
- func PathLT(v string) predicate.WhiteList
- func PathLTE(v string) predicate.WhiteList
- func PathNEQ(v string) predicate.WhiteList
- func PathNotIn(vs ...string) predicate.WhiteList
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the whitelist type in the database. Label = "white_list" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the whitelist in the database. Table = "white_lists" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "white_lists" // OwnerInverseTable is the table name for the ServiceProvider entity. // It exists in this package in order to avoid circular dependency with the "serviceprovider" package. OwnerInverseTable = "service_providers" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "service_provider_whitelists" )
Variables ¶
var Columns = []string{ FieldID, FieldPath, }
Columns holds all SQL columns for whitelist fields.
var ForeignKeys = []string{
"service_provider_whitelists",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "white_lists" table and are not defined as standalone fields in the schema.
Functions ¶
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.ServiceProvider) predicate.WhiteList
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func PathContains ¶
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEqualFold ¶
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathHasPrefix ¶
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.