Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ServerType) predicate.ServerType
- func Description(v string) predicate.ServerType
- func DescriptionContains(v string) predicate.ServerType
- func DescriptionContainsFold(v string) predicate.ServerType
- func DescriptionEQ(v string) predicate.ServerType
- func DescriptionEqualFold(v string) predicate.ServerType
- func DescriptionGT(v string) predicate.ServerType
- func DescriptionGTE(v string) predicate.ServerType
- func DescriptionHasPrefix(v string) predicate.ServerType
- func DescriptionHasSuffix(v string) predicate.ServerType
- func DescriptionIn(vs ...string) predicate.ServerType
- func DescriptionIsNil() predicate.ServerType
- func DescriptionLT(v string) predicate.ServerType
- func DescriptionLTE(v string) predicate.ServerType
- func DescriptionNEQ(v string) predicate.ServerType
- func DescriptionNotIn(vs ...string) predicate.ServerType
- func DescriptionNotNil() predicate.ServerType
- func HasServers() predicate.ServerType
- func HasServersWith(preds ...predicate.Server) predicate.ServerType
- func ID(id int) predicate.ServerType
- func IDEQ(id int) predicate.ServerType
- func IDGT(id int) predicate.ServerType
- func IDGTE(id int) predicate.ServerType
- func IDIn(ids ...int) predicate.ServerType
- func IDLT(id int) predicate.ServerType
- func IDLTE(id int) predicate.ServerType
- func IDNEQ(id int) predicate.ServerType
- func IDNotIn(ids ...int) predicate.ServerType
- func Key(v string) predicate.ServerType
- func KeyContains(v string) predicate.ServerType
- func KeyContainsFold(v string) predicate.ServerType
- func KeyEQ(v string) predicate.ServerType
- func KeyEqualFold(v string) predicate.ServerType
- func KeyGT(v string) predicate.ServerType
- func KeyGTE(v string) predicate.ServerType
- func KeyHasPrefix(v string) predicate.ServerType
- func KeyHasSuffix(v string) predicate.ServerType
- func KeyIn(vs ...string) predicate.ServerType
- func KeyLT(v string) predicate.ServerType
- func KeyLTE(v string) predicate.ServerType
- func KeyNEQ(v string) predicate.ServerType
- func KeyNotIn(vs ...string) predicate.ServerType
- func Name(v string) predicate.ServerType
- func NameContains(v string) predicate.ServerType
- func NameContainsFold(v string) predicate.ServerType
- func NameEQ(v string) predicate.ServerType
- func NameEqualFold(v string) predicate.ServerType
- func NameGT(v string) predicate.ServerType
- func NameGTE(v string) predicate.ServerType
- func NameHasPrefix(v string) predicate.ServerType
- func NameHasSuffix(v string) predicate.ServerType
- func NameIn(vs ...string) predicate.ServerType
- func NameLT(v string) predicate.ServerType
- func NameLTE(v string) predicate.ServerType
- func NameNEQ(v string) predicate.ServerType
- func NameNotIn(vs ...string) predicate.ServerType
- func Not(p predicate.ServerType) predicate.ServerType
- func Or(predicates ...predicate.ServerType) predicate.ServerType
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the servertype type in the database. Label = "server_type" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeServers holds the string denoting the servers edge name in mutations. EdgeServers = "servers" // Table holds the table name of the servertype in the database. Table = "server_types" // ServersTable is the table the holds the servers relation/edge. ServersTable = "servers" // ServersInverseTable is the table name for the Server entity. // It exists in this package in order to avoid circular dependency with the "server" package. ServersInverseTable = "servers" // ServersColumn is the table column denoting the servers relation/edge. ServersColumn = "server_server_type" )
Variables ¶
var Columns = []string{ FieldID, FieldKey, FieldName, FieldDescription, }
Columns holds all SQL columns for servertype fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ServerType) predicate.ServerType
And groups list of predicates with the AND operator between them.
func Description ¶
func Description(v string) predicate.ServerType
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ServerType
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ServerType
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ServerType
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ServerType
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ServerType
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ServerType
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ServerType
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ServerType
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ServerType
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ServerType
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ServerType
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ServerType
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ServerType
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ServerType
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ServerType
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasServers ¶
func HasServers() predicate.ServerType
HasServers applies the HasEdge predicate on the "servers" edge.
func HasServersWith ¶
func HasServersWith(preds ...predicate.Server) predicate.ServerType
HasServersWith applies the HasEdge predicate on the "servers" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.ServerType
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ServerType
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ServerType
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ServerType
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ServerType
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.ServerType
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.ServerType
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.ServerType
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.ServerType
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.ServerType
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.ServerType
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.ServerType
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.ServerType
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.ServerType
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.ServerType
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.ServerType
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.ServerType
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.ServerType
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.ServerType
KeyNotIn applies the NotIn predicate on the "key" field.
func Name ¶
func Name(v string) predicate.ServerType
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ServerType
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ServerType
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ServerType
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ServerType
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ServerType
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ServerType
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ServerType
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ServerType
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ServerType
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ServerType
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ServerType
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ServerType
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ServerType
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ServerType) predicate.ServerType
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ServerType) predicate.ServerType
Or groups list of predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.