Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Revision) predicate.Revision
- func ID(id string) predicate.Revision
- func IDEQ(id string) predicate.Revision
- func IDGT(id string) predicate.Revision
- func IDGTE(id string) predicate.Revision
- func IDIn(ids ...string) predicate.Revision
- func IDLT(id string) predicate.Revision
- func IDLTE(id string) predicate.Revision
- func IDNEQ(id string) predicate.Revision
- func IDNotIn(ids ...string) predicate.Revision
- func Not(p predicate.Revision) predicate.Revision
- func Or(predicates ...predicate.Revision) predicate.Revision
- func ValidColumn(column string) bool
Constants ¶
View Source
const ( // Label holds the string label denoting the revision type in the database. Label = "revision" // FieldID holds the string denoting the id field in the database. FieldID = "id" // Table holds the table name of the revision in the database. Table = "revisions" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for revision fields.
Functions ¶
func ValidColumn ¶
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.