Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func UUID(v uuid.UUID) predicate.User
- func UUIDEQ(v uuid.UUID) predicate.User
- func UUIDGT(v uuid.UUID) predicate.User
- func UUIDGTE(v uuid.UUID) predicate.User
- func UUIDIn(vs ...uuid.UUID) predicate.User
- func UUIDLT(v uuid.UUID) predicate.User
- func UUIDLTE(v uuid.UUID) predicate.User
- func UUIDNEQ(v uuid.UUID) predicate.User
- func UUIDNotIn(vs ...uuid.UUID) predicate.User
- func ValidColumn(column string) bool
Constants ¶
View Source
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // Table holds the table name of the user in the database. Table = "users" )
Variables ¶
View Source
var Columns = []string{ FieldID, FieldUUID, }
Columns holds all SQL columns for user fields.
View Source
var ( // DefaultUUID holds the default value on creation for the "uuid" field. DefaultUUID func() uuid.UUID )
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.