Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Group) predicate.Group
- func ID(id uuid.UUID) predicate.Group
- func IDEQ(id uuid.UUID) predicate.Group
- func IDGT(id uuid.UUID) predicate.Group
- func IDGTE(id uuid.UUID) predicate.Group
- func IDIn(ids ...uuid.UUID) predicate.Group
- func IDLT(id uuid.UUID) predicate.Group
- func IDLTE(id uuid.UUID) predicate.Group
- func IDNEQ(id uuid.UUID) predicate.Group
- func IDNotIn(ids ...uuid.UUID) predicate.Group
- func Name(v string) predicate.Group
- func NameContains(v string) predicate.Group
- func NameContainsFold(v string) predicate.Group
- func NameEQ(v string) predicate.Group
- func NameEqualFold(v string) predicate.Group
- func NameGT(v string) predicate.Group
- func NameGTE(v string) predicate.Group
- func NameHasPrefix(v string) predicate.Group
- func NameHasSuffix(v string) predicate.Group
- func NameIn(vs ...string) predicate.Group
- func NameLT(v string) predicate.Group
- func NameLTE(v string) predicate.Group
- func NameNEQ(v string) predicate.Group
- func NameNotIn(vs ...string) predicate.Group
- func Not(p predicate.Group) predicate.Group
- func Or(predicates ...predicate.Group) predicate.Group
Constants ¶
View Source
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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // Table holds the table name of the group in the database. Table = "groups" )
Variables ¶
View Source
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultID holds the default value on creation for the id field. DefaultID func() uuid.UUID )
View Source
var Columns = []string{ FieldID, FieldName, }
Columns holds all SQL columns for group fields.
Functions ¶
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.