Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GroupInfo) predicate.GroupInfo
- func Desc(v string) predicate.GroupInfo
- func DescContains(v string) predicate.GroupInfo
- func DescContainsFold(v string) predicate.GroupInfo
- func DescEQ(v string) predicate.GroupInfo
- func DescEqualFold(v string) predicate.GroupInfo
- func DescGT(v string) predicate.GroupInfo
- func DescGTE(v string) predicate.GroupInfo
- func DescHasPrefix(v string) predicate.GroupInfo
- func DescHasSuffix(v string) predicate.GroupInfo
- func DescIn(vs ...string) predicate.GroupInfo
- func DescLT(v string) predicate.GroupInfo
- func DescLTE(v string) predicate.GroupInfo
- func DescNEQ(v string) predicate.GroupInfo
- func DescNotIn(vs ...string) predicate.GroupInfo
- func HasGroups() predicate.GroupInfo
- func HasGroupsWith(preds ...predicate.Group) predicate.GroupInfo
- func ID(id int) predicate.GroupInfo
- func IDEQ(id int) predicate.GroupInfo
- func IDGT(id int) predicate.GroupInfo
- func IDGTE(id int) predicate.GroupInfo
- func IDIn(ids ...int) predicate.GroupInfo
- func IDLT(id int) predicate.GroupInfo
- func IDLTE(id int) predicate.GroupInfo
- func IDNEQ(id int) predicate.GroupInfo
- func IDNotIn(ids ...int) predicate.GroupInfo
- func MaxUsers(v int) predicate.GroupInfo
- func MaxUsersEQ(v int) predicate.GroupInfo
- func MaxUsersGT(v int) predicate.GroupInfo
- func MaxUsersGTE(v int) predicate.GroupInfo
- func MaxUsersIn(vs ...int) predicate.GroupInfo
- func MaxUsersLT(v int) predicate.GroupInfo
- func MaxUsersLTE(v int) predicate.GroupInfo
- func MaxUsersNEQ(v int) predicate.GroupInfo
- func MaxUsersNotIn(vs ...int) predicate.GroupInfo
- func Not(p predicate.GroupInfo) predicate.GroupInfo
- func Or(predicates ...predicate.GroupInfo) predicate.GroupInfo
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the groupinfo type in the database. Label = "group_info" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDesc holds the string denoting the desc field in the database. FieldDesc = "desc" // FieldMaxUsers holds the string denoting the max_users field in the database. FieldMaxUsers = "max_users" // EdgeGroups holds the string denoting the groups edge name in mutations. EdgeGroups = "groups" // Table holds the table name of the groupinfo in the database. Table = "group_infos" // GroupsTable is the table the holds the groups relation/edge. GroupsTable = "groups" // GroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupsInverseTable = "groups" // GroupsColumn is the table column denoting the groups relation/edge. GroupsColumn = "group_info" )
Variables ¶
var Columns = []string{ FieldID, FieldDesc, FieldMaxUsers, }
Columns holds all SQL columns for groupinfo fields.
var ( // DefaultMaxUsers holds the default value on creation for the "max_users" field. DefaultMaxUsers int )
Functions ¶
func DescContains ¶
DescContains applies the Contains predicate on the "desc" field.
func DescContainsFold ¶
DescContainsFold applies the ContainsFold predicate on the "desc" field.
func DescEqualFold ¶
DescEqualFold applies the EqualFold predicate on the "desc" field.
func DescHasPrefix ¶
DescHasPrefix applies the HasPrefix predicate on the "desc" field.
func DescHasSuffix ¶
DescHasSuffix applies the HasSuffix predicate on the "desc" field.
func HasGroupsWith ¶
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func MaxUsers ¶
MaxUsers applies equality check predicate on the "max_users" field. It's identical to MaxUsersEQ.
func MaxUsersEQ ¶
MaxUsersEQ applies the EQ predicate on the "max_users" field.
func MaxUsersGT ¶
MaxUsersGT applies the GT predicate on the "max_users" field.
func MaxUsersGTE ¶
MaxUsersGTE applies the GTE predicate on the "max_users" field.
func MaxUsersIn ¶
MaxUsersIn applies the In predicate on the "max_users" field.
func MaxUsersLT ¶
MaxUsersLT applies the LT predicate on the "max_users" field.
func MaxUsersLTE ¶
MaxUsersLTE applies the LTE predicate on the "max_users" field.
func MaxUsersNEQ ¶
MaxUsersNEQ applies the NEQ predicate on the "max_users" field.
func MaxUsersNotIn ¶
MaxUsersNotIn applies the NotIn predicate on the "max_users" field.
func ValidColumn ¶ added in v0.4.3
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.