Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Group) predicate.Group
- func CreateAt(v int64) predicate.Group
- func CreateAtEQ(v int64) predicate.Group
- func CreateAtGT(v int64) predicate.Group
- func CreateAtGTE(v int64) predicate.Group
- func CreateAtIn(vs ...int64) predicate.Group
- func CreateAtLT(v int64) predicate.Group
- func CreateAtLTE(v int64) predicate.Group
- func CreateAtNEQ(v int64) predicate.Group
- func CreateAtNotIn(vs ...int64) predicate.Group
- func Description(v string) predicate.Group
- func DescriptionContains(v string) predicate.Group
- func DescriptionContainsFold(v string) predicate.Group
- func DescriptionEQ(v string) predicate.Group
- func DescriptionEqualFold(v string) predicate.Group
- func DescriptionGT(v string) predicate.Group
- func DescriptionGTE(v string) predicate.Group
- func DescriptionHasPrefix(v string) predicate.Group
- func DescriptionHasSuffix(v string) predicate.Group
- func DescriptionIn(vs ...string) predicate.Group
- func DescriptionLT(v string) predicate.Group
- func DescriptionLTE(v string) predicate.Group
- func DescriptionNEQ(v string) predicate.Group
- func DescriptionNotIn(vs ...string) predicate.Group
- func HasUsers() predicate.Group
- func HasUsersWith(preds ...predicate.User) predicate.Group
- func ID(id string) predicate.Group
- func IDEQ(id string) predicate.Group
- func IDGT(id string) predicate.Group
- func IDGTE(id string) predicate.Group
- func IDIn(ids ...string) predicate.Group
- func IDLT(id string) predicate.Group
- func IDLTE(id string) predicate.Group
- func IDNEQ(id string) predicate.Group
- func IDNotIn(ids ...string) predicate.Group
- func Not(p predicate.Group) predicate.Group
- func Or(predicates ...predicate.Group) predicate.Group
- func Title(v string) predicate.Group
- func TitleContains(v string) predicate.Group
- func TitleContainsFold(v string) predicate.Group
- func TitleEQ(v string) predicate.Group
- func TitleEqualFold(v string) predicate.Group
- func TitleGT(v string) predicate.Group
- func TitleGTE(v string) predicate.Group
- func TitleHasPrefix(v string) predicate.Group
- func TitleHasSuffix(v string) predicate.Group
- func TitleIn(vs ...string) predicate.Group
- func TitleLT(v string) predicate.Group
- func TitleLTE(v string) predicate.Group
- func TitleNEQ(v string) predicate.Group
- func TitleNotIn(vs ...string) predicate.Group
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" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCreateAt holds the string denoting the create_at field in the database. FieldCreateAt = "create_at" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // Table holds the table name of the group in the database. Table = "groups" // UsersTable is the table the holds the users relation/edge. UsersTable = "users" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // UsersColumn is the table column denoting the users relation/edge. UsersColumn = "group_users" )
Variables ¶
var Columns = []string{ FieldID, FieldTitle, FieldDescription, FieldCreateAt, }
Columns holds all SQL columns for group fields.
var ( // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
Functions ¶
func CreateAt ¶
CreateAt applies equality check predicate on the "create_at" field. It's identical to CreateAtEQ.
func CreateAtEQ ¶
CreateAtEQ applies the EQ predicate on the "create_at" field.
func CreateAtGT ¶
CreateAtGT applies the GT predicate on the "create_at" field.
func CreateAtGTE ¶
CreateAtGTE applies the GTE predicate on the "create_at" field.
func CreateAtIn ¶
CreateAtIn applies the In predicate on the "create_at" field.
func CreateAtLT ¶
CreateAtLT applies the LT predicate on the "create_at" field.
func CreateAtLTE ¶
CreateAtLTE applies the LTE predicate on the "create_at" field.
func CreateAtNEQ ¶
CreateAtNEQ applies the NEQ predicate on the "create_at" field.
func CreateAtNotIn ¶
CreateAtNotIn applies the NotIn predicate on the "create_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
Types ¶
This section is empty.