Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Users) predicate.Users
- func CreatedAt(v time.Time) predicate.Users
- func CreatedAtEQ(v time.Time) predicate.Users
- func CreatedAtGT(v time.Time) predicate.Users
- func CreatedAtGTE(v time.Time) predicate.Users
- func CreatedAtIn(vs ...time.Time) predicate.Users
- func CreatedAtLT(v time.Time) predicate.Users
- func CreatedAtLTE(v time.Time) predicate.Users
- func CreatedAtNEQ(v time.Time) predicate.Users
- func CreatedAtNotIn(vs ...time.Time) predicate.Users
- func Email(v string) predicate.Users
- func EmailContains(v string) predicate.Users
- func EmailContainsFold(v string) predicate.Users
- func EmailEQ(v string) predicate.Users
- func EmailEqualFold(v string) predicate.Users
- func EmailGT(v string) predicate.Users
- func EmailGTE(v string) predicate.Users
- func EmailHasPrefix(v string) predicate.Users
- func EmailHasSuffix(v string) predicate.Users
- func EmailIn(vs ...string) predicate.Users
- func EmailLT(v string) predicate.Users
- func EmailLTE(v string) predicate.Users
- func EmailNEQ(v string) predicate.Users
- func EmailNotIn(vs ...string) predicate.Users
- func FullName(v string) predicate.Users
- func FullNameContains(v string) predicate.Users
- func FullNameContainsFold(v string) predicate.Users
- func FullNameEQ(v string) predicate.Users
- func FullNameEqualFold(v string) predicate.Users
- func FullNameGT(v string) predicate.Users
- func FullNameGTE(v string) predicate.Users
- func FullNameHasPrefix(v string) predicate.Users
- func FullNameHasSuffix(v string) predicate.Users
- func FullNameIn(vs ...string) predicate.Users
- func FullNameLT(v string) predicate.Users
- func FullNameLTE(v string) predicate.Users
- func FullNameNEQ(v string) predicate.Users
- func FullNameNotIn(vs ...string) predicate.Users
- func HashedPassword(v string) predicate.Users
- func HashedPasswordContains(v string) predicate.Users
- func HashedPasswordContainsFold(v string) predicate.Users
- func HashedPasswordEQ(v string) predicate.Users
- func HashedPasswordEqualFold(v string) predicate.Users
- func HashedPasswordGT(v string) predicate.Users
- func HashedPasswordGTE(v string) predicate.Users
- func HashedPasswordHasPrefix(v string) predicate.Users
- func HashedPasswordHasSuffix(v string) predicate.Users
- func HashedPasswordIn(vs ...string) predicate.Users
- func HashedPasswordIsNil() predicate.Users
- func HashedPasswordLT(v string) predicate.Users
- func HashedPasswordLTE(v string) predicate.Users
- func HashedPasswordNEQ(v string) predicate.Users
- func HashedPasswordNotIn(vs ...string) predicate.Users
- func HashedPasswordNotNil() predicate.Users
- func ID(id uuid.UUID) predicate.Users
- func IDEQ(id uuid.UUID) predicate.Users
- func IDGT(id uuid.UUID) predicate.Users
- func IDGTE(id uuid.UUID) predicate.Users
- func IDIn(ids ...uuid.UUID) predicate.Users
- func IDLT(id uuid.UUID) predicate.Users
- func IDLTE(id uuid.UUID) predicate.Users
- func IDNEQ(id uuid.UUID) predicate.Users
- func IDNotIn(ids ...uuid.UUID) predicate.Users
- func Not(p predicate.Users) predicate.Users
- func Or(predicates ...predicate.Users) predicate.Users
- func PasswordChangedAt(v time.Time) predicate.Users
- func PasswordChangedAtEQ(v time.Time) predicate.Users
- func PasswordChangedAtGT(v time.Time) predicate.Users
- func PasswordChangedAtGTE(v time.Time) predicate.Users
- func PasswordChangedAtIn(vs ...time.Time) predicate.Users
- func PasswordChangedAtIsNil() predicate.Users
- func PasswordChangedAtLT(v time.Time) predicate.Users
- func PasswordChangedAtLTE(v time.Time) predicate.Users
- func PasswordChangedAtNEQ(v time.Time) predicate.Users
- func PasswordChangedAtNotIn(vs ...time.Time) predicate.Users
- func PasswordChangedAtNotNil() predicate.Users
- func Username(v string) predicate.Users
- func UsernameContains(v string) predicate.Users
- func UsernameContainsFold(v string) predicate.Users
- func UsernameEQ(v string) predicate.Users
- func UsernameEqualFold(v string) predicate.Users
- func UsernameGT(v string) predicate.Users
- func UsernameGTE(v string) predicate.Users
- func UsernameHasPrefix(v string) predicate.Users
- func UsernameHasSuffix(v string) predicate.Users
- func UsernameIn(vs ...string) predicate.Users
- func UsernameLT(v string) predicate.Users
- func UsernameLTE(v string) predicate.Users
- func UsernameNEQ(v string) predicate.Users
- func UsernameNotIn(vs ...string) predicate.Users
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the users type in the database. Label = "users" // 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" // FieldHashedPassword holds the string denoting the hashed_password field in the database. FieldHashedPassword = "hashed_password" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldFullName holds the string denoting the full_name field in the database. FieldFullName = "full_name" // FieldPasswordChangedAt holds the string denoting the password_changed_at field in the database. FieldPasswordChangedAt = "password_changed_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the users in the database. Table = "users" )
Variables ¶
var ( // UsernameValidator is a validator for the "username" field. It is called by the builders before save. UsernameValidator func(string) error // HashedPasswordValidator is a validator for the "hashed_password" field. It is called by the builders before save. HashedPasswordValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // FullNameValidator is a validator for the "full_name" field. It is called by the builders before save. FullNameValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt time.Time )
var Columns = []string{ FieldID, FieldUsername, FieldHashedPassword, FieldEmail, FieldFullName, FieldPasswordChangedAt, FieldCreatedAt, }
Columns holds all SQL columns for users 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 Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func FullName ¶
FullName applies equality check predicate on the "full_name" field. It's identical to FullNameEQ.
func FullNameContains ¶
FullNameContains applies the Contains predicate on the "full_name" field.
func FullNameContainsFold ¶
FullNameContainsFold applies the ContainsFold predicate on the "full_name" field.
func FullNameEQ ¶
FullNameEQ applies the EQ predicate on the "full_name" field.
func FullNameEqualFold ¶
FullNameEqualFold applies the EqualFold predicate on the "full_name" field.
func FullNameGT ¶
FullNameGT applies the GT predicate on the "full_name" field.
func FullNameGTE ¶
FullNameGTE applies the GTE predicate on the "full_name" field.
func FullNameHasPrefix ¶
FullNameHasPrefix applies the HasPrefix predicate on the "full_name" field.
func FullNameHasSuffix ¶
FullNameHasSuffix applies the HasSuffix predicate on the "full_name" field.
func FullNameIn ¶
FullNameIn applies the In predicate on the "full_name" field.
func FullNameLT ¶
FullNameLT applies the LT predicate on the "full_name" field.
func FullNameLTE ¶
FullNameLTE applies the LTE predicate on the "full_name" field.
func FullNameNEQ ¶
FullNameNEQ applies the NEQ predicate on the "full_name" field.
func FullNameNotIn ¶
FullNameNotIn applies the NotIn predicate on the "full_name" field.
func HashedPassword ¶
HashedPassword applies equality check predicate on the "hashed_password" field. It's identical to HashedPasswordEQ.
func HashedPasswordContains ¶
HashedPasswordContains applies the Contains predicate on the "hashed_password" field.
func HashedPasswordContainsFold ¶
HashedPasswordContainsFold applies the ContainsFold predicate on the "hashed_password" field.
func HashedPasswordEQ ¶
HashedPasswordEQ applies the EQ predicate on the "hashed_password" field.
func HashedPasswordEqualFold ¶
HashedPasswordEqualFold applies the EqualFold predicate on the "hashed_password" field.
func HashedPasswordGT ¶
HashedPasswordGT applies the GT predicate on the "hashed_password" field.
func HashedPasswordGTE ¶
HashedPasswordGTE applies the GTE predicate on the "hashed_password" field.
func HashedPasswordHasPrefix ¶
HashedPasswordHasPrefix applies the HasPrefix predicate on the "hashed_password" field.
func HashedPasswordHasSuffix ¶
HashedPasswordHasSuffix applies the HasSuffix predicate on the "hashed_password" field.
func HashedPasswordIn ¶
HashedPasswordIn applies the In predicate on the "hashed_password" field.
func HashedPasswordIsNil ¶
HashedPasswordIsNil applies the IsNil predicate on the "hashed_password" field.
func HashedPasswordLT ¶
HashedPasswordLT applies the LT predicate on the "hashed_password" field.
func HashedPasswordLTE ¶
HashedPasswordLTE applies the LTE predicate on the "hashed_password" field.
func HashedPasswordNEQ ¶
HashedPasswordNEQ applies the NEQ predicate on the "hashed_password" field.
func HashedPasswordNotIn ¶
HashedPasswordNotIn applies the NotIn predicate on the "hashed_password" field.
func HashedPasswordNotNil ¶
HashedPasswordNotNil applies the NotNil predicate on the "hashed_password" field.
func PasswordChangedAt ¶
PasswordChangedAt applies equality check predicate on the "password_changed_at" field. It's identical to PasswordChangedAtEQ.
func PasswordChangedAtEQ ¶
PasswordChangedAtEQ applies the EQ predicate on the "password_changed_at" field.
func PasswordChangedAtGT ¶
PasswordChangedAtGT applies the GT predicate on the "password_changed_at" field.
func PasswordChangedAtGTE ¶
PasswordChangedAtGTE applies the GTE predicate on the "password_changed_at" field.
func PasswordChangedAtIn ¶
PasswordChangedAtIn applies the In predicate on the "password_changed_at" field.
func PasswordChangedAtIsNil ¶
PasswordChangedAtIsNil applies the IsNil predicate on the "password_changed_at" field.
func PasswordChangedAtLT ¶
PasswordChangedAtLT applies the LT predicate on the "password_changed_at" field.
func PasswordChangedAtLTE ¶
PasswordChangedAtLTE applies the LTE predicate on the "password_changed_at" field.
func PasswordChangedAtNEQ ¶
PasswordChangedAtNEQ applies the NEQ predicate on the "password_changed_at" field.
func PasswordChangedAtNotIn ¶
PasswordChangedAtNotIn applies the NotIn predicate on the "password_changed_at" field.
func PasswordChangedAtNotNil ¶
PasswordChangedAtNotNil applies the NotNil predicate on the "password_changed_at" 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.