Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Account) predicate.Account
- func AuthID(v string) predicate.Account
- func AuthIDContains(v string) predicate.Account
- func AuthIDContainsFold(v string) predicate.Account
- func AuthIDEQ(v string) predicate.Account
- func AuthIDEqualFold(v string) predicate.Account
- func AuthIDGT(v string) predicate.Account
- func AuthIDGTE(v string) predicate.Account
- func AuthIDHasPrefix(v string) predicate.Account
- func AuthIDHasSuffix(v string) predicate.Account
- func AuthIDIn(vs ...string) predicate.Account
- func AuthIDIsNil() predicate.Account
- func AuthIDLT(v string) predicate.Account
- func AuthIDLTE(v string) predicate.Account
- func AuthIDNEQ(v string) predicate.Account
- func AuthIDNotIn(vs ...string) predicate.Account
- func AuthIDNotNil() predicate.Account
- func Email(v string) predicate.Account
- func EmailContains(v string) predicate.Account
- func EmailContainsFold(v string) predicate.Account
- func EmailEQ(v string) predicate.Account
- func EmailEqualFold(v string) predicate.Account
- func EmailGT(v string) predicate.Account
- func EmailGTE(v string) predicate.Account
- func EmailHasPrefix(v string) predicate.Account
- func EmailHasSuffix(v string) predicate.Account
- func EmailIn(vs ...string) predicate.Account
- func EmailLT(v string) predicate.Account
- func EmailLTE(v string) predicate.Account
- func EmailNEQ(v string) predicate.Account
- func EmailNotIn(vs ...string) predicate.Account
- func HasAuthRoles() predicate.Account
- func HasAuthRolesWith(preds ...predicate.AuthRole) predicate.Account
- func ID(id ulid.ULID) predicate.Account
- func IDEQ(id ulid.ULID) predicate.Account
- func IDGT(id ulid.ULID) predicate.Account
- func IDGTE(id ulid.ULID) predicate.Account
- func IDIn(ids ...ulid.ULID) predicate.Account
- func IDLT(id ulid.ULID) predicate.Account
- func IDLTE(id ulid.ULID) predicate.Account
- func IDNEQ(id ulid.ULID) predicate.Account
- func IDNotIn(ids ...ulid.ULID) predicate.Account
- func Nickname(v string) predicate.Account
- func NicknameContains(v string) predicate.Account
- func NicknameContainsFold(v string) predicate.Account
- func NicknameEQ(v string) predicate.Account
- func NicknameEqualFold(v string) predicate.Account
- func NicknameGT(v string) predicate.Account
- func NicknameGTE(v string) predicate.Account
- func NicknameHasPrefix(v string) predicate.Account
- func NicknameHasSuffix(v string) predicate.Account
- func NicknameIn(vs ...string) predicate.Account
- func NicknameLT(v string) predicate.Account
- func NicknameLTE(v string) predicate.Account
- func NicknameNEQ(v string) predicate.Account
- func NicknameNotIn(vs ...string) predicate.Account
- func Not(p predicate.Account) predicate.Account
- func Or(predicates ...predicate.Account) predicate.Account
- func Password(v string) predicate.Account
- func PasswordContains(v string) predicate.Account
- func PasswordContainsFold(v string) predicate.Account
- func PasswordEQ(v string) predicate.Account
- func PasswordEqualFold(v string) predicate.Account
- func PasswordGT(v string) predicate.Account
- func PasswordGTE(v string) predicate.Account
- func PasswordHasPrefix(v string) predicate.Account
- func PasswordHasSuffix(v string) predicate.Account
- func PasswordIn(vs ...string) predicate.Account
- func PasswordIsNil() predicate.Account
- func PasswordLT(v string) predicate.Account
- func PasswordLTE(v string) predicate.Account
- func PasswordNEQ(v string) predicate.Account
- func PasswordNotIn(vs ...string) predicate.Account
- func PasswordNotNil() predicate.Account
- func PasswordUpdatedAt(v time.Time) predicate.Account
- func PasswordUpdatedAtEQ(v time.Time) predicate.Account
- func PasswordUpdatedAtGT(v time.Time) predicate.Account
- func PasswordUpdatedAtGTE(v time.Time) predicate.Account
- func PasswordUpdatedAtIn(vs ...time.Time) predicate.Account
- func PasswordUpdatedAtLT(v time.Time) predicate.Account
- func PasswordUpdatedAtLTE(v time.Time) predicate.Account
- func PasswordUpdatedAtNEQ(v time.Time) predicate.Account
- func PasswordUpdatedAtNotIn(vs ...time.Time) predicate.Account
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the account type in the database. Label = "account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAuthID holds the string denoting the auth_id field in the database. FieldAuthID = "auth_id" // FieldNickname holds the string denoting the nickname field in the database. FieldNickname = "nickname" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldPasswordUpdatedAt holds the string denoting the password_updated_at field in the database. FieldPasswordUpdatedAt = "password_updated_at" // EdgeAuthRoles holds the string denoting the auth_roles edge name in mutations. EdgeAuthRoles = "auth_roles" // Table holds the table name of the account in the database. Table = "accounts" // AuthRolesTable is the table that holds the auth_roles relation/edge. The primary key declared below. AuthRolesTable = "account_auth_roles" // AuthRolesInverseTable is the table name for the AuthRole entity. // It exists in this package in order to avoid circular dependency with the "authrole" package. AuthRolesInverseTable = "auth_roles" )
Variables ¶
var ( // AuthIDValidator is a validator for the "auth_id" field. It is called by the builders before save. AuthIDValidator func(string) error // NicknameValidator is a validator for the "nickname" field. It is called by the builders before save. NicknameValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // PasswordValidator is a validator for the "password" field. It is called by the builders before save. PasswordValidator func(string) error // DefaultPasswordUpdatedAt holds the default value on creation for the "password_updated_at" field. DefaultPasswordUpdatedAt func() time.Time // UpdateDefaultPasswordUpdatedAt holds the default value on update for the "password_updated_at" field. UpdateDefaultPasswordUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() ulid.ULID )
var ( // AuthRolesPrimaryKey and AuthRolesColumn2 are the table columns denoting the // primary key for the auth_roles relation (M2M). AuthRolesPrimaryKey = []string{"account_id", "auth_role_id"} )
var Columns = []string{ FieldID, FieldAuthID, FieldNickname, FieldEmail, FieldPassword, FieldPasswordUpdatedAt, }
Columns holds all SQL columns for account fields.
Functions ¶
func AuthID ¶
AuthID applies equality check predicate on the "auth_id" field. It's identical to AuthIDEQ.
func AuthIDContains ¶
AuthIDContains applies the Contains predicate on the "auth_id" field.
func AuthIDContainsFold ¶
AuthIDContainsFold applies the ContainsFold predicate on the "auth_id" field.
func AuthIDEqualFold ¶
AuthIDEqualFold applies the EqualFold predicate on the "auth_id" field.
func AuthIDHasPrefix ¶
AuthIDHasPrefix applies the HasPrefix predicate on the "auth_id" field.
func AuthIDHasSuffix ¶
AuthIDHasSuffix applies the HasSuffix predicate on the "auth_id" field.
func AuthIDIsNil ¶
AuthIDIsNil applies the IsNil predicate on the "auth_id" field.
func AuthIDNotIn ¶
AuthIDNotIn applies the NotIn predicate on the "auth_id" field.
func AuthIDNotNil ¶
AuthIDNotNil applies the NotNil predicate on the "auth_id" 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 HasAuthRoles ¶
HasAuthRoles applies the HasEdge predicate on the "auth_roles" edge.
func HasAuthRolesWith ¶
HasAuthRolesWith applies the HasEdge predicate on the "auth_roles" edge with a given conditions (other predicates).
func Nickname ¶
Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func NicknameContains ¶
NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContainsFold ¶
NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameEQ ¶
NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEqualFold ¶
NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameGT ¶
NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGTE ¶
NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameHasPrefix ¶
NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasSuffix ¶
NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameIn ¶
NicknameIn applies the In predicate on the "nickname" field.
func NicknameLT ¶
NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLTE ¶
NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameNEQ ¶
NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNotIn ¶
NicknameNotIn applies the NotIn predicate on the "nickname" field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordIsNil ¶
PasswordIsNil applies the IsNil predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func PasswordNotNil ¶
PasswordNotNil applies the NotNil predicate on the "password" field.
func PasswordUpdatedAt ¶
PasswordUpdatedAt applies equality check predicate on the "password_updated_at" field. It's identical to PasswordUpdatedAtEQ.
func PasswordUpdatedAtEQ ¶
PasswordUpdatedAtEQ applies the EQ predicate on the "password_updated_at" field.
func PasswordUpdatedAtGT ¶
PasswordUpdatedAtGT applies the GT predicate on the "password_updated_at" field.
func PasswordUpdatedAtGTE ¶
PasswordUpdatedAtGTE applies the GTE predicate on the "password_updated_at" field.
func PasswordUpdatedAtIn ¶
PasswordUpdatedAtIn applies the In predicate on the "password_updated_at" field.
func PasswordUpdatedAtLT ¶
PasswordUpdatedAtLT applies the LT predicate on the "password_updated_at" field.
func PasswordUpdatedAtLTE ¶
PasswordUpdatedAtLTE applies the LTE predicate on the "password_updated_at" field.
func PasswordUpdatedAtNEQ ¶
PasswordUpdatedAtNEQ applies the NEQ predicate on the "password_updated_at" field.
func PasswordUpdatedAtNotIn ¶
PasswordUpdatedAtNotIn applies the NotIn predicate on the "password_updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.