Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Group) predicate.Group
- func ID(id int) predicate.Group
- func IDEQ(id int) predicate.Group
- func IDGT(id int) predicate.Group
- func IDGTE(id int) predicate.Group
- func IDIn(ids ...int) predicate.Group
- func IDLT(id int) predicate.Group
- func IDLTE(id int) predicate.Group
- func IDNEQ(id int) predicate.Group
- func IDNotIn(ids ...int) predicate.Group
- func MaxUsers(v int) predicate.Group
- func MaxUsersEQ(v int) predicate.Group
- func MaxUsersGT(v int) predicate.Group
- func MaxUsersGTE(v int) predicate.Group
- func MaxUsersIn(vs ...int) predicate.Group
- func MaxUsersLT(v int) predicate.Group
- func MaxUsersLTE(v int) predicate.Group
- func MaxUsersNEQ(v int) predicate.Group
- func MaxUsersNotIn(vs ...int) predicate.Group
- func Not(p predicate.Group) predicate.Group
- func Or(predicates ...predicate.Group) predicate.Group
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the group type in the database. Label = "group" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMaxUsers holds the string denoting the max_users field in the database. FieldMaxUsers = "max_users" // Table holds the table name of the group in the database. Table = "groups" )
Variables ¶
var Columns = []string{ FieldID, FieldMaxUsers, }
Columns holds all SQL columns for group fields.
Functions ¶
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.