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 Not(p predicate.Group) predicate.Group
- func Or(predicates ...predicate.Group) predicate.Group
- func ValidColumn(column string) bool
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" // Table holds the table name of the group in the database. Table = "groups" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for group fields.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.