Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GroupInfo) predicate.GroupInfo
- func Desc(v string) predicate.GroupInfo
- func DescContains(v string) predicate.GroupInfo
- func DescEQ(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 string) predicate.GroupInfo
- func IDEQ(id string) predicate.GroupInfo
- func IDGT(id string) predicate.GroupInfo
- func IDGTE(id string) predicate.GroupInfo
- func IDIn(ids ...string) predicate.GroupInfo
- func IDLT(id string) predicate.GroupInfo
- func IDLTE(id string) predicate.GroupInfo
- func IDNEQ(id string) predicate.GroupInfo
- func IDNotIn(ids ...string) 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
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" // GroupsInverseLabel holds the string label denoting the groups inverse edge type in the database. GroupsInverseLabel = "group_info" )
Variables ¶
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 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.
Types ¶
This section is empty.