Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func EmailAddress(v string) predicate.User
- func EmailAddressContains(v string) predicate.User
- func EmailAddressContainsFold(v string) predicate.User
- func EmailAddressEQ(v string) predicate.User
- func EmailAddressEqualFold(v string) predicate.User
- func EmailAddressGT(v string) predicate.User
- func EmailAddressGTE(v string) predicate.User
- func EmailAddressHasPrefix(v string) predicate.User
- func EmailAddressHasSuffix(v string) predicate.User
- func EmailAddressIn(vs ...string) predicate.User
- func EmailAddressLT(v string) predicate.User
- func EmailAddressLTE(v string) predicate.User
- func EmailAddressNEQ(v string) predicate.User
- func EmailAddressNotIn(vs ...string) predicate.User
- func Enabled(v bool) predicate.User
- func EnabledEQ(v bool) predicate.User
- func EnabledNEQ(v bool) predicate.User
- func HasCreatedTasks() predicate.User
- func HasCreatedTasksWith(preds ...predicate.Task) predicate.User
- func ID(id uuid.UUID) predicate.User
- func IDEQ(id uuid.UUID) predicate.User
- func IDGT(id uuid.UUID) predicate.User
- func IDGTE(id uuid.UUID) predicate.User
- func IDIn(ids ...uuid.UUID) predicate.User
- func IDLT(id uuid.UUID) predicate.User
- func IDLTE(id uuid.UUID) predicate.User
- func IDNEQ(id uuid.UUID) predicate.User
- func IDNotIn(ids ...uuid.UUID) predicate.User
- func IsSuperUser(v bool) predicate.User
- func IsSuperUserEQ(v bool) predicate.User
- func IsSuperUserNEQ(v bool) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Username(v string) predicate.User
- func UsernameContains(v string) predicate.User
- func UsernameContainsFold(v string) predicate.User
- func UsernameEQ(v string) predicate.User
- func UsernameEqualFold(v string) predicate.User
- func UsernameGT(v string) predicate.User
- func UsernameGTE(v string) predicate.User
- func UsernameHasPrefix(v string) predicate.User
- func UsernameHasSuffix(v string) predicate.User
- func UsernameIn(vs ...string) predicate.User
- func UsernameLT(v string) predicate.User
- func UsernameLTE(v string) predicate.User
- func UsernameNEQ(v string) predicate.User
- func UsernameNotIn(vs ...string) predicate.User
- func ValidColumn(column string) bool
Constants ¶
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" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldEmailAddress holds the string denoting the email_address field in the database. FieldEmailAddress = "email_address" // FieldIsSuperUser holds the string denoting the is_super_user field in the database. FieldIsSuperUser = "is_super_user" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeCreatedTasks holds the string denoting the created_tasks edge name in mutations. EdgeCreatedTasks = "created_tasks" // Table holds the table name of the user in the database. Table = "users" // CreatedTasksTable is the table that holds the created_tasks relation/edge. CreatedTasksTable = "tasks" // CreatedTasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. CreatedTasksInverseTable = "tasks" // CreatedTasksColumn is the table column denoting the created_tasks relation/edge. CreatedTasksColumn = "task_created_by" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldUsername, FieldEnabled, FieldEmailAddress, FieldIsSuperUser, FieldCreatedAt, }
Columns holds all SQL columns for user fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EmailAddress ¶
EmailAddress applies equality check predicate on the "email_address" field. It's identical to EmailAddressEQ.
func EmailAddressContains ¶
EmailAddressContains applies the Contains predicate on the "email_address" field.
func EmailAddressContainsFold ¶
EmailAddressContainsFold applies the ContainsFold predicate on the "email_address" field.
func EmailAddressEQ ¶
EmailAddressEQ applies the EQ predicate on the "email_address" field.
func EmailAddressEqualFold ¶
EmailAddressEqualFold applies the EqualFold predicate on the "email_address" field.
func EmailAddressGT ¶
EmailAddressGT applies the GT predicate on the "email_address" field.
func EmailAddressGTE ¶
EmailAddressGTE applies the GTE predicate on the "email_address" field.
func EmailAddressHasPrefix ¶
EmailAddressHasPrefix applies the HasPrefix predicate on the "email_address" field.
func EmailAddressHasSuffix ¶
EmailAddressHasSuffix applies the HasSuffix predicate on the "email_address" field.
func EmailAddressIn ¶
EmailAddressIn applies the In predicate on the "email_address" field.
func EmailAddressLT ¶
EmailAddressLT applies the LT predicate on the "email_address" field.
func EmailAddressLTE ¶
EmailAddressLTE applies the LTE predicate on the "email_address" field.
func EmailAddressNEQ ¶
EmailAddressNEQ applies the NEQ predicate on the "email_address" field.
func EmailAddressNotIn ¶
EmailAddressNotIn applies the NotIn predicate on the "email_address" field.
func Enabled ¶
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledNEQ ¶
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func HasCreatedTasks ¶
HasCreatedTasks applies the HasEdge predicate on the "created_tasks" edge.
func HasCreatedTasksWith ¶
HasCreatedTasksWith applies the HasEdge predicate on the "created_tasks" edge with a given conditions (other predicates).
func IsSuperUser ¶
IsSuperUser applies equality check predicate on the "is_super_user" field. It's identical to IsSuperUserEQ.
func IsSuperUserEQ ¶
IsSuperUserEQ applies the EQ predicate on the "is_super_user" field.
func IsSuperUserNEQ ¶
IsSuperUserNEQ applies the NEQ predicate on the "is_super_user" field.
func Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.