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