user

package
v0.0.0-...-f291767 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldEmailVerifiedAt holds the string denoting the email_verified_at field in the database.
	FieldEmailVerifiedAt = "email_verified_at"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldPassword2 holds the string denoting the password2 field in the database.
	FieldPassword2 = "password2"
	// FieldCountryID holds the string denoting the country_id field in the database.
	FieldCountryID = "country_id"
	// FieldContactCountryID holds the string denoting the contact_country_id field in the database.
	FieldContactCountryID = "contact_country_id"
	// FieldContactNumber holds the string denoting the contact_number field in the database.
	FieldContactNumber = "contact_number"
	// FieldFullContactNumber holds the string denoting the full_contact_number field in the database.
	FieldFullContactNumber = "full_contact_number"
	// FieldIntroducerUserID holds the string denoting the introducer_user_id field in the database.
	FieldIntroducerUserID = "introducer_user_id"
	// FieldLang holds the string denoting the lang field in the database.
	FieldLang = "lang"
	// FieldAvatar holds the string denoting the avatar field in the database.
	FieldAvatar = "avatar"
	// FieldCredit1 holds the string denoting the credit_1 field in the database.
	FieldCredit1 = "credit_1"
	// FieldCredit2 holds the string denoting the credit_2 field in the database.
	FieldCredit2 = "credit_2"
	// FieldCredit3 holds the string denoting the credit_3 field in the database.
	FieldCredit3 = "credit_3"
	// FieldCredit4 holds the string denoting the credit_4 field in the database.
	FieldCredit4 = "credit_4"
	// FieldCredit5 holds the string denoting the credit_5 field in the database.
	FieldCredit5 = "credit_5"
	// FieldBankID holds the string denoting the bank_id field in the database.
	FieldBankID = "bank_id"
	// FieldBankAccountName holds the string denoting the bank_account_name field in the database.
	FieldBankAccountName = "bank_account_name"
	// FieldBankAccountNumber holds the string denoting the bank_account_number field in the database.
	FieldBankAccountNumber = "bank_account_number"
	// FieldNationalID holds the string denoting the national_id field in the database.
	FieldNationalID = "national_id"
	// FieldFirstLogin holds the string denoting the first_login field in the database.
	FieldFirstLogin = "first_login"
	// FieldBanUntil holds the string denoting the ban_until field in the database.
	FieldBanUntil = "ban_until"
	// FieldNewLoginAt holds the string denoting the new_login_at field in the database.
	FieldNewLoginAt = "new_login_at"
	// FieldLastLoginAt holds the string denoting the last_login_at field in the database.
	FieldLastLoginAt = "last_login_at"
	// FieldUnilevel holds the string denoting the unilevel field in the database.
	FieldUnilevel = "unilevel"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// EdgeCountry holds the string denoting the country edge name in mutations.
	EdgeCountry = "country"
	// EdgeContactCountry holds the string denoting the contact_country edge name in mutations.
	EdgeContactCountry = "contact_country"
	// EdgeIntroducer holds the string denoting the introducer edge name in mutations.
	EdgeIntroducer = "introducer"
	// EdgeBank holds the string denoting the bank edge name in mutations.
	EdgeBank = "bank"
	// EdgeIntroducedUsers holds the string denoting the introduced_users edge name in mutations.
	EdgeIntroducedUsers = "introduced_users"
	// Table holds the table name of the user in the database.
	Table = "users"
	// CountryTable is the table that holds the country relation/edge.
	CountryTable = "users"
	// CountryInverseTable is the table name for the Country entity.
	// It exists in this package in order to avoid circular dependency with the "country" package.
	CountryInverseTable = "countries"
	// CountryColumn is the table column denoting the country relation/edge.
	CountryColumn = "country_id"
	// ContactCountryTable is the table that holds the contact_country relation/edge.
	ContactCountryTable = "users"
	// ContactCountryInverseTable is the table name for the Country entity.
	// It exists in this package in order to avoid circular dependency with the "country" package.
	ContactCountryInverseTable = "countries"
	// ContactCountryColumn is the table column denoting the contact_country relation/edge.
	ContactCountryColumn = "contact_country_id"
	// IntroducerTable is the table that holds the introducer relation/edge.
	IntroducerTable = "users"
	// IntroducerColumn is the table column denoting the introducer relation/edge.
	IntroducerColumn = "introducer_user_id"
	// BankTable is the table that holds the bank relation/edge.
	BankTable = "users"
	// BankInverseTable is the table name for the Bank entity.
	// It exists in this package in order to avoid circular dependency with the "bank" package.
	BankInverseTable = "banks"
	// BankColumn is the table column denoting the bank relation/edge.
	BankColumn = "bank_id"
	// IntroducedUsersTable is the table that holds the introduced_users relation/edge.
	IntroducedUsersTable = "users"
	// IntroducedUsersColumn is the table column denoting the introduced_users relation/edge.
	IntroducedUsersColumn = "introducer_user_id"
)

Variables

View Source
var (
	// PasswordValidator is a validator for the "password" field. It is called by the builders before save.
	PasswordValidator func(string) error
	// Password2Validator is a validator for the "password2" field. It is called by the builders before save.
	Password2Validator func(string) error
	// DefaultLang holds the default value on creation for the "lang" field.
	DefaultLang string
	// DefaultCredit1 holds the default value on creation for the "credit_1" field.
	DefaultCredit1 float64
	// DefaultCredit2 holds the default value on creation for the "credit_2" field.
	DefaultCredit2 float64
	// DefaultCredit3 holds the default value on creation for the "credit_3" field.
	DefaultCredit3 float64
	// DefaultCredit4 holds the default value on creation for the "credit_4" field.
	DefaultCredit4 float64
	// DefaultCredit5 holds the default value on creation for the "credit_5" field.
	DefaultCredit5 float64
	// DefaultFirstLogin holds the default value on creation for the "first_login" field.
	DefaultFirstLogin bool
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
)

Columns holds all SQL columns for user fields.

Functions

func And

func And(predicates ...predicate.User) predicate.User

And groups predicates with the AND operator between them.

func Avatar

func Avatar(v string) predicate.User

Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.

func AvatarContains

func AvatarContains(v string) predicate.User

AvatarContains applies the Contains predicate on the "avatar" field.

func AvatarContainsFold

func AvatarContainsFold(v string) predicate.User

AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.

func AvatarEQ

func AvatarEQ(v string) predicate.User

AvatarEQ applies the EQ predicate on the "avatar" field.

func AvatarEqualFold

func AvatarEqualFold(v string) predicate.User

AvatarEqualFold applies the EqualFold predicate on the "avatar" field.

func AvatarGT

func AvatarGT(v string) predicate.User

AvatarGT applies the GT predicate on the "avatar" field.

func AvatarGTE

func AvatarGTE(v string) predicate.User

AvatarGTE applies the GTE predicate on the "avatar" field.

func AvatarHasPrefix

func AvatarHasPrefix(v string) predicate.User

AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.

func AvatarHasSuffix

func AvatarHasSuffix(v string) predicate.User

AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.

func AvatarIn

func AvatarIn(vs ...string) predicate.User

AvatarIn applies the In predicate on the "avatar" field.

func AvatarIsNil

func AvatarIsNil() predicate.User

AvatarIsNil applies the IsNil predicate on the "avatar" field.

func AvatarLT

func AvatarLT(v string) predicate.User

AvatarLT applies the LT predicate on the "avatar" field.

func AvatarLTE

func AvatarLTE(v string) predicate.User

AvatarLTE applies the LTE predicate on the "avatar" field.

func AvatarNEQ

func AvatarNEQ(v string) predicate.User

AvatarNEQ applies the NEQ predicate on the "avatar" field.

func AvatarNotIn

func AvatarNotIn(vs ...string) predicate.User

AvatarNotIn applies the NotIn predicate on the "avatar" field.

func AvatarNotNil

func AvatarNotNil() predicate.User

AvatarNotNil applies the NotNil predicate on the "avatar" field.

func BanUntil

func BanUntil(v time.Time) predicate.User

BanUntil applies equality check predicate on the "ban_until" field. It's identical to BanUntilEQ.

func BanUntilEQ

func BanUntilEQ(v time.Time) predicate.User

BanUntilEQ applies the EQ predicate on the "ban_until" field.

func BanUntilGT

func BanUntilGT(v time.Time) predicate.User

BanUntilGT applies the GT predicate on the "ban_until" field.

func BanUntilGTE

func BanUntilGTE(v time.Time) predicate.User

BanUntilGTE applies the GTE predicate on the "ban_until" field.

func BanUntilIn

func BanUntilIn(vs ...time.Time) predicate.User

BanUntilIn applies the In predicate on the "ban_until" field.

func BanUntilIsNil

func BanUntilIsNil() predicate.User

BanUntilIsNil applies the IsNil predicate on the "ban_until" field.

func BanUntilLT

func BanUntilLT(v time.Time) predicate.User

BanUntilLT applies the LT predicate on the "ban_until" field.

func BanUntilLTE

func BanUntilLTE(v time.Time) predicate.User

BanUntilLTE applies the LTE predicate on the "ban_until" field.

func BanUntilNEQ

func BanUntilNEQ(v time.Time) predicate.User

BanUntilNEQ applies the NEQ predicate on the "ban_until" field.

func BanUntilNotIn

func BanUntilNotIn(vs ...time.Time) predicate.User

BanUntilNotIn applies the NotIn predicate on the "ban_until" field.

func BanUntilNotNil

func BanUntilNotNil() predicate.User

BanUntilNotNil applies the NotNil predicate on the "ban_until" field.

func BankAccountName

func BankAccountName(v string) predicate.User

BankAccountName applies equality check predicate on the "bank_account_name" field. It's identical to BankAccountNameEQ.

func BankAccountNameContains

func BankAccountNameContains(v string) predicate.User

BankAccountNameContains applies the Contains predicate on the "bank_account_name" field.

func BankAccountNameContainsFold

func BankAccountNameContainsFold(v string) predicate.User

BankAccountNameContainsFold applies the ContainsFold predicate on the "bank_account_name" field.

func BankAccountNameEQ

func BankAccountNameEQ(v string) predicate.User

BankAccountNameEQ applies the EQ predicate on the "bank_account_name" field.

func BankAccountNameEqualFold

func BankAccountNameEqualFold(v string) predicate.User

BankAccountNameEqualFold applies the EqualFold predicate on the "bank_account_name" field.

func BankAccountNameGT

func BankAccountNameGT(v string) predicate.User

BankAccountNameGT applies the GT predicate on the "bank_account_name" field.

func BankAccountNameGTE

func BankAccountNameGTE(v string) predicate.User

BankAccountNameGTE applies the GTE predicate on the "bank_account_name" field.

func BankAccountNameHasPrefix

func BankAccountNameHasPrefix(v string) predicate.User

BankAccountNameHasPrefix applies the HasPrefix predicate on the "bank_account_name" field.

func BankAccountNameHasSuffix

func BankAccountNameHasSuffix(v string) predicate.User

BankAccountNameHasSuffix applies the HasSuffix predicate on the "bank_account_name" field.

func BankAccountNameIn

func BankAccountNameIn(vs ...string) predicate.User

BankAccountNameIn applies the In predicate on the "bank_account_name" field.

func BankAccountNameIsNil

func BankAccountNameIsNil() predicate.User

BankAccountNameIsNil applies the IsNil predicate on the "bank_account_name" field.

func BankAccountNameLT

func BankAccountNameLT(v string) predicate.User

BankAccountNameLT applies the LT predicate on the "bank_account_name" field.

func BankAccountNameLTE

func BankAccountNameLTE(v string) predicate.User

BankAccountNameLTE applies the LTE predicate on the "bank_account_name" field.

func BankAccountNameNEQ

func BankAccountNameNEQ(v string) predicate.User

BankAccountNameNEQ applies the NEQ predicate on the "bank_account_name" field.

func BankAccountNameNotIn

func BankAccountNameNotIn(vs ...string) predicate.User

BankAccountNameNotIn applies the NotIn predicate on the "bank_account_name" field.

func BankAccountNameNotNil

func BankAccountNameNotNil() predicate.User

BankAccountNameNotNil applies the NotNil predicate on the "bank_account_name" field.

func BankAccountNumber

func BankAccountNumber(v string) predicate.User

BankAccountNumber applies equality check predicate on the "bank_account_number" field. It's identical to BankAccountNumberEQ.

func BankAccountNumberContains

func BankAccountNumberContains(v string) predicate.User

BankAccountNumberContains applies the Contains predicate on the "bank_account_number" field.

func BankAccountNumberContainsFold

func BankAccountNumberContainsFold(v string) predicate.User

BankAccountNumberContainsFold applies the ContainsFold predicate on the "bank_account_number" field.

func BankAccountNumberEQ

func BankAccountNumberEQ(v string) predicate.User

BankAccountNumberEQ applies the EQ predicate on the "bank_account_number" field.

func BankAccountNumberEqualFold

func BankAccountNumberEqualFold(v string) predicate.User

BankAccountNumberEqualFold applies the EqualFold predicate on the "bank_account_number" field.

func BankAccountNumberGT

func BankAccountNumberGT(v string) predicate.User

BankAccountNumberGT applies the GT predicate on the "bank_account_number" field.

func BankAccountNumberGTE

func BankAccountNumberGTE(v string) predicate.User

BankAccountNumberGTE applies the GTE predicate on the "bank_account_number" field.

func BankAccountNumberHasPrefix

func BankAccountNumberHasPrefix(v string) predicate.User

BankAccountNumberHasPrefix applies the HasPrefix predicate on the "bank_account_number" field.

func BankAccountNumberHasSuffix

func BankAccountNumberHasSuffix(v string) predicate.User

BankAccountNumberHasSuffix applies the HasSuffix predicate on the "bank_account_number" field.

func BankAccountNumberIn

func BankAccountNumberIn(vs ...string) predicate.User

BankAccountNumberIn applies the In predicate on the "bank_account_number" field.

func BankAccountNumberIsNil

func BankAccountNumberIsNil() predicate.User

BankAccountNumberIsNil applies the IsNil predicate on the "bank_account_number" field.

func BankAccountNumberLT

func BankAccountNumberLT(v string) predicate.User

BankAccountNumberLT applies the LT predicate on the "bank_account_number" field.

func BankAccountNumberLTE

func BankAccountNumberLTE(v string) predicate.User

BankAccountNumberLTE applies the LTE predicate on the "bank_account_number" field.

func BankAccountNumberNEQ

func BankAccountNumberNEQ(v string) predicate.User

BankAccountNumberNEQ applies the NEQ predicate on the "bank_account_number" field.

func BankAccountNumberNotIn

func BankAccountNumberNotIn(vs ...string) predicate.User

BankAccountNumberNotIn applies the NotIn predicate on the "bank_account_number" field.

func BankAccountNumberNotNil

func BankAccountNumberNotNil() predicate.User

BankAccountNumberNotNil applies the NotNil predicate on the "bank_account_number" field.

func BankID

func BankID(v uint64) predicate.User

BankID applies equality check predicate on the "bank_id" field. It's identical to BankIDEQ.

func BankIDEQ

func BankIDEQ(v uint64) predicate.User

BankIDEQ applies the EQ predicate on the "bank_id" field.

func BankIDIn

func BankIDIn(vs ...uint64) predicate.User

BankIDIn applies the In predicate on the "bank_id" field.

func BankIDIsNil

func BankIDIsNil() predicate.User

BankIDIsNil applies the IsNil predicate on the "bank_id" field.

func BankIDNEQ

func BankIDNEQ(v uint64) predicate.User

BankIDNEQ applies the NEQ predicate on the "bank_id" field.

func BankIDNotIn

func BankIDNotIn(vs ...uint64) predicate.User

BankIDNotIn applies the NotIn predicate on the "bank_id" field.

func BankIDNotNil

func BankIDNotNil() predicate.User

BankIDNotNil applies the NotNil predicate on the "bank_id" field.

func ContactCountryID

func ContactCountryID(v uint64) predicate.User

ContactCountryID applies equality check predicate on the "contact_country_id" field. It's identical to ContactCountryIDEQ.

func ContactCountryIDEQ

func ContactCountryIDEQ(v uint64) predicate.User

ContactCountryIDEQ applies the EQ predicate on the "contact_country_id" field.

func ContactCountryIDIn

func ContactCountryIDIn(vs ...uint64) predicate.User

ContactCountryIDIn applies the In predicate on the "contact_country_id" field.

func ContactCountryIDIsNil

func ContactCountryIDIsNil() predicate.User

ContactCountryIDIsNil applies the IsNil predicate on the "contact_country_id" field.

func ContactCountryIDNEQ

func ContactCountryIDNEQ(v uint64) predicate.User

ContactCountryIDNEQ applies the NEQ predicate on the "contact_country_id" field.

func ContactCountryIDNotIn

func ContactCountryIDNotIn(vs ...uint64) predicate.User

ContactCountryIDNotIn applies the NotIn predicate on the "contact_country_id" field.

func ContactCountryIDNotNil

func ContactCountryIDNotNil() predicate.User

ContactCountryIDNotNil applies the NotNil predicate on the "contact_country_id" field.

func ContactNumber

func ContactNumber(v string) predicate.User

ContactNumber applies equality check predicate on the "contact_number" field. It's identical to ContactNumberEQ.

func ContactNumberContains

func ContactNumberContains(v string) predicate.User

ContactNumberContains applies the Contains predicate on the "contact_number" field.

func ContactNumberContainsFold

func ContactNumberContainsFold(v string) predicate.User

ContactNumberContainsFold applies the ContainsFold predicate on the "contact_number" field.

func ContactNumberEQ

func ContactNumberEQ(v string) predicate.User

ContactNumberEQ applies the EQ predicate on the "contact_number" field.

func ContactNumberEqualFold

func ContactNumberEqualFold(v string) predicate.User

ContactNumberEqualFold applies the EqualFold predicate on the "contact_number" field.

func ContactNumberGT

func ContactNumberGT(v string) predicate.User

ContactNumberGT applies the GT predicate on the "contact_number" field.

func ContactNumberGTE

func ContactNumberGTE(v string) predicate.User

ContactNumberGTE applies the GTE predicate on the "contact_number" field.

func ContactNumberHasPrefix

func ContactNumberHasPrefix(v string) predicate.User

ContactNumberHasPrefix applies the HasPrefix predicate on the "contact_number" field.

func ContactNumberHasSuffix

func ContactNumberHasSuffix(v string) predicate.User

ContactNumberHasSuffix applies the HasSuffix predicate on the "contact_number" field.

func ContactNumberIn

func ContactNumberIn(vs ...string) predicate.User

ContactNumberIn applies the In predicate on the "contact_number" field.

func ContactNumberIsNil

func ContactNumberIsNil() predicate.User

ContactNumberIsNil applies the IsNil predicate on the "contact_number" field.

func ContactNumberLT

func ContactNumberLT(v string) predicate.User

ContactNumberLT applies the LT predicate on the "contact_number" field.

func ContactNumberLTE

func ContactNumberLTE(v string) predicate.User

ContactNumberLTE applies the LTE predicate on the "contact_number" field.

func ContactNumberNEQ

func ContactNumberNEQ(v string) predicate.User

ContactNumberNEQ applies the NEQ predicate on the "contact_number" field.

func ContactNumberNotIn

func ContactNumberNotIn(vs ...string) predicate.User

ContactNumberNotIn applies the NotIn predicate on the "contact_number" field.

func ContactNumberNotNil

func ContactNumberNotNil() predicate.User

ContactNumberNotNil applies the NotNil predicate on the "contact_number" field.

func CountryID

func CountryID(v uint64) predicate.User

CountryID applies equality check predicate on the "country_id" field. It's identical to CountryIDEQ.

func CountryIDEQ

func CountryIDEQ(v uint64) predicate.User

CountryIDEQ applies the EQ predicate on the "country_id" field.

func CountryIDIn

func CountryIDIn(vs ...uint64) predicate.User

CountryIDIn applies the In predicate on the "country_id" field.

func CountryIDIsNil

func CountryIDIsNil() predicate.User

CountryIDIsNil applies the IsNil predicate on the "country_id" field.

func CountryIDNEQ

func CountryIDNEQ(v uint64) predicate.User

CountryIDNEQ applies the NEQ predicate on the "country_id" field.

func CountryIDNotIn

func CountryIDNotIn(vs ...uint64) predicate.User

CountryIDNotIn applies the NotIn predicate on the "country_id" field.

func CountryIDNotNil

func CountryIDNotNil() predicate.User

CountryIDNotNil applies the NotNil predicate on the "country_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.User

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.User

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.User

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.User

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.User

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.User

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.User

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.User

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.User

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Credit1

func Credit1(v float64) predicate.User

Credit1 applies equality check predicate on the "credit_1" field. It's identical to Credit1EQ.

func Credit1EQ

func Credit1EQ(v float64) predicate.User

Credit1EQ applies the EQ predicate on the "credit_1" field.

func Credit1GT

func Credit1GT(v float64) predicate.User

Credit1GT applies the GT predicate on the "credit_1" field.

func Credit1GTE

func Credit1GTE(v float64) predicate.User

Credit1GTE applies the GTE predicate on the "credit_1" field.

func Credit1In

func Credit1In(vs ...float64) predicate.User

Credit1In applies the In predicate on the "credit_1" field.

func Credit1LT

func Credit1LT(v float64) predicate.User

Credit1LT applies the LT predicate on the "credit_1" field.

func Credit1LTE

func Credit1LTE(v float64) predicate.User

Credit1LTE applies the LTE predicate on the "credit_1" field.

func Credit1NEQ

func Credit1NEQ(v float64) predicate.User

Credit1NEQ applies the NEQ predicate on the "credit_1" field.

func Credit1NotIn

func Credit1NotIn(vs ...float64) predicate.User

Credit1NotIn applies the NotIn predicate on the "credit_1" field.

func Credit2

func Credit2(v float64) predicate.User

Credit2 applies equality check predicate on the "credit_2" field. It's identical to Credit2EQ.

func Credit2EQ

func Credit2EQ(v float64) predicate.User

Credit2EQ applies the EQ predicate on the "credit_2" field.

func Credit2GT

func Credit2GT(v float64) predicate.User

Credit2GT applies the GT predicate on the "credit_2" field.

func Credit2GTE

func Credit2GTE(v float64) predicate.User

Credit2GTE applies the GTE predicate on the "credit_2" field.

func Credit2In

func Credit2In(vs ...float64) predicate.User

Credit2In applies the In predicate on the "credit_2" field.

func Credit2LT

func Credit2LT(v float64) predicate.User

Credit2LT applies the LT predicate on the "credit_2" field.

func Credit2LTE

func Credit2LTE(v float64) predicate.User

Credit2LTE applies the LTE predicate on the "credit_2" field.

func Credit2NEQ

func Credit2NEQ(v float64) predicate.User

Credit2NEQ applies the NEQ predicate on the "credit_2" field.

func Credit2NotIn

func Credit2NotIn(vs ...float64) predicate.User

Credit2NotIn applies the NotIn predicate on the "credit_2" field.

func Credit3

func Credit3(v float64) predicate.User

Credit3 applies equality check predicate on the "credit_3" field. It's identical to Credit3EQ.

func Credit3EQ

func Credit3EQ(v float64) predicate.User

Credit3EQ applies the EQ predicate on the "credit_3" field.

func Credit3GT

func Credit3GT(v float64) predicate.User

Credit3GT applies the GT predicate on the "credit_3" field.

func Credit3GTE

func Credit3GTE(v float64) predicate.User

Credit3GTE applies the GTE predicate on the "credit_3" field.

func Credit3In

func Credit3In(vs ...float64) predicate.User

Credit3In applies the In predicate on the "credit_3" field.

func Credit3LT

func Credit3LT(v float64) predicate.User

Credit3LT applies the LT predicate on the "credit_3" field.

func Credit3LTE

func Credit3LTE(v float64) predicate.User

Credit3LTE applies the LTE predicate on the "credit_3" field.

func Credit3NEQ

func Credit3NEQ(v float64) predicate.User

Credit3NEQ applies the NEQ predicate on the "credit_3" field.

func Credit3NotIn

func Credit3NotIn(vs ...float64) predicate.User

Credit3NotIn applies the NotIn predicate on the "credit_3" field.

func Credit4

func Credit4(v float64) predicate.User

Credit4 applies equality check predicate on the "credit_4" field. It's identical to Credit4EQ.

func Credit4EQ

func Credit4EQ(v float64) predicate.User

Credit4EQ applies the EQ predicate on the "credit_4" field.

func Credit4GT

func Credit4GT(v float64) predicate.User

Credit4GT applies the GT predicate on the "credit_4" field.

func Credit4GTE

func Credit4GTE(v float64) predicate.User

Credit4GTE applies the GTE predicate on the "credit_4" field.

func Credit4In

func Credit4In(vs ...float64) predicate.User

Credit4In applies the In predicate on the "credit_4" field.

func Credit4LT

func Credit4LT(v float64) predicate.User

Credit4LT applies the LT predicate on the "credit_4" field.

func Credit4LTE

func Credit4LTE(v float64) predicate.User

Credit4LTE applies the LTE predicate on the "credit_4" field.

func Credit4NEQ

func Credit4NEQ(v float64) predicate.User

Credit4NEQ applies the NEQ predicate on the "credit_4" field.

func Credit4NotIn

func Credit4NotIn(vs ...float64) predicate.User

Credit4NotIn applies the NotIn predicate on the "credit_4" field.

func Credit5

func Credit5(v float64) predicate.User

Credit5 applies equality check predicate on the "credit_5" field. It's identical to Credit5EQ.

func Credit5EQ

func Credit5EQ(v float64) predicate.User

Credit5EQ applies the EQ predicate on the "credit_5" field.

func Credit5GT

func Credit5GT(v float64) predicate.User

Credit5GT applies the GT predicate on the "credit_5" field.

func Credit5GTE

func Credit5GTE(v float64) predicate.User

Credit5GTE applies the GTE predicate on the "credit_5" field.

func Credit5In

func Credit5In(vs ...float64) predicate.User

Credit5In applies the In predicate on the "credit_5" field.

func Credit5LT

func Credit5LT(v float64) predicate.User

Credit5LT applies the LT predicate on the "credit_5" field.

func Credit5LTE

func Credit5LTE(v float64) predicate.User

Credit5LTE applies the LTE predicate on the "credit_5" field.

func Credit5NEQ

func Credit5NEQ(v float64) predicate.User

Credit5NEQ applies the NEQ predicate on the "credit_5" field.

func Credit5NotIn

func Credit5NotIn(vs ...float64) predicate.User

Credit5NotIn applies the NotIn predicate on the "credit_5" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.User

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.User

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.User

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.User

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.User

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.User

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.User

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.User

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.User

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.User

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.User

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Email

func Email(v string) predicate.User

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.User

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.User

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.User

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.User

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.User

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.User

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.User

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.User

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.User

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.User

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.User

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.User

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.User

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.User

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.User

EmailNotNil applies the NotNil predicate on the "email" field.

func EmailVerifiedAt

func EmailVerifiedAt(v time.Time) predicate.User

EmailVerifiedAt applies equality check predicate on the "email_verified_at" field. It's identical to EmailVerifiedAtEQ.

func EmailVerifiedAtEQ

func EmailVerifiedAtEQ(v time.Time) predicate.User

EmailVerifiedAtEQ applies the EQ predicate on the "email_verified_at" field.

func EmailVerifiedAtGT

func EmailVerifiedAtGT(v time.Time) predicate.User

EmailVerifiedAtGT applies the GT predicate on the "email_verified_at" field.

func EmailVerifiedAtGTE

func EmailVerifiedAtGTE(v time.Time) predicate.User

EmailVerifiedAtGTE applies the GTE predicate on the "email_verified_at" field.

func EmailVerifiedAtIn

func EmailVerifiedAtIn(vs ...time.Time) predicate.User

EmailVerifiedAtIn applies the In predicate on the "email_verified_at" field.

func EmailVerifiedAtIsNil

func EmailVerifiedAtIsNil() predicate.User

EmailVerifiedAtIsNil applies the IsNil predicate on the "email_verified_at" field.

func EmailVerifiedAtLT

func EmailVerifiedAtLT(v time.Time) predicate.User

EmailVerifiedAtLT applies the LT predicate on the "email_verified_at" field.

func EmailVerifiedAtLTE

func EmailVerifiedAtLTE(v time.Time) predicate.User

EmailVerifiedAtLTE applies the LTE predicate on the "email_verified_at" field.

func EmailVerifiedAtNEQ

func EmailVerifiedAtNEQ(v time.Time) predicate.User

EmailVerifiedAtNEQ applies the NEQ predicate on the "email_verified_at" field.

func EmailVerifiedAtNotIn

func EmailVerifiedAtNotIn(vs ...time.Time) predicate.User

EmailVerifiedAtNotIn applies the NotIn predicate on the "email_verified_at" field.

func EmailVerifiedAtNotNil

func EmailVerifiedAtNotNil() predicate.User

EmailVerifiedAtNotNil applies the NotNil predicate on the "email_verified_at" field.

func FirstLogin

func FirstLogin(v bool) predicate.User

FirstLogin applies equality check predicate on the "first_login" field. It's identical to FirstLoginEQ.

func FirstLoginEQ

func FirstLoginEQ(v bool) predicate.User

FirstLoginEQ applies the EQ predicate on the "first_login" field.

func FirstLoginNEQ

func FirstLoginNEQ(v bool) predicate.User

FirstLoginNEQ applies the NEQ predicate on the "first_login" field.

func FullContactNumber

func FullContactNumber(v string) predicate.User

FullContactNumber applies equality check predicate on the "full_contact_number" field. It's identical to FullContactNumberEQ.

func FullContactNumberContains

func FullContactNumberContains(v string) predicate.User

FullContactNumberContains applies the Contains predicate on the "full_contact_number" field.

func FullContactNumberContainsFold

func FullContactNumberContainsFold(v string) predicate.User

FullContactNumberContainsFold applies the ContainsFold predicate on the "full_contact_number" field.

func FullContactNumberEQ

func FullContactNumberEQ(v string) predicate.User

FullContactNumberEQ applies the EQ predicate on the "full_contact_number" field.

func FullContactNumberEqualFold

func FullContactNumberEqualFold(v string) predicate.User

FullContactNumberEqualFold applies the EqualFold predicate on the "full_contact_number" field.

func FullContactNumberGT

func FullContactNumberGT(v string) predicate.User

FullContactNumberGT applies the GT predicate on the "full_contact_number" field.

func FullContactNumberGTE

func FullContactNumberGTE(v string) predicate.User

FullContactNumberGTE applies the GTE predicate on the "full_contact_number" field.

func FullContactNumberHasPrefix

func FullContactNumberHasPrefix(v string) predicate.User

FullContactNumberHasPrefix applies the HasPrefix predicate on the "full_contact_number" field.

func FullContactNumberHasSuffix

func FullContactNumberHasSuffix(v string) predicate.User

FullContactNumberHasSuffix applies the HasSuffix predicate on the "full_contact_number" field.

func FullContactNumberIn

func FullContactNumberIn(vs ...string) predicate.User

FullContactNumberIn applies the In predicate on the "full_contact_number" field.

func FullContactNumberIsNil

func FullContactNumberIsNil() predicate.User

FullContactNumberIsNil applies the IsNil predicate on the "full_contact_number" field.

func FullContactNumberLT

func FullContactNumberLT(v string) predicate.User

FullContactNumberLT applies the LT predicate on the "full_contact_number" field.

func FullContactNumberLTE

func FullContactNumberLTE(v string) predicate.User

FullContactNumberLTE applies the LTE predicate on the "full_contact_number" field.

func FullContactNumberNEQ

func FullContactNumberNEQ(v string) predicate.User

FullContactNumberNEQ applies the NEQ predicate on the "full_contact_number" field.

func FullContactNumberNotIn

func FullContactNumberNotIn(vs ...string) predicate.User

FullContactNumberNotIn applies the NotIn predicate on the "full_contact_number" field.

func FullContactNumberNotNil

func FullContactNumberNotNil() predicate.User

FullContactNumberNotNil applies the NotNil predicate on the "full_contact_number" field.

func HasBank

func HasBank() predicate.User

HasBank applies the HasEdge predicate on the "bank" edge.

func HasBankWith

func HasBankWith(preds ...predicate.Bank) predicate.User

HasBankWith applies the HasEdge predicate on the "bank" edge with a given conditions (other predicates).

func HasContactCountry

func HasContactCountry() predicate.User

HasContactCountry applies the HasEdge predicate on the "contact_country" edge.

func HasContactCountryWith

func HasContactCountryWith(preds ...predicate.Country) predicate.User

HasContactCountryWith applies the HasEdge predicate on the "contact_country" edge with a given conditions (other predicates).

func HasCountry

func HasCountry() predicate.User

HasCountry applies the HasEdge predicate on the "country" edge.

func HasCountryWith

func HasCountryWith(preds ...predicate.Country) predicate.User

HasCountryWith applies the HasEdge predicate on the "country" edge with a given conditions (other predicates).

func HasIntroducedUsers

func HasIntroducedUsers() predicate.User

HasIntroducedUsers applies the HasEdge predicate on the "introduced_users" edge.

func HasIntroducedUsersWith

func HasIntroducedUsersWith(preds ...predicate.User) predicate.User

HasIntroducedUsersWith applies the HasEdge predicate on the "introduced_users" edge with a given conditions (other predicates).

func HasIntroducer

func HasIntroducer() predicate.User

HasIntroducer applies the HasEdge predicate on the "introducer" edge.

func HasIntroducerWith

func HasIntroducerWith(preds ...predicate.User) predicate.User

HasIntroducerWith applies the HasEdge predicate on the "introducer" edge with a given conditions (other predicates).

func ID

func ID(id uint64) predicate.User

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.User

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.User

IDNotIn applies the NotIn predicate on the ID field.

func IntroducerUserID

func IntroducerUserID(v uint64) predicate.User

IntroducerUserID applies equality check predicate on the "introducer_user_id" field. It's identical to IntroducerUserIDEQ.

func IntroducerUserIDEQ

func IntroducerUserIDEQ(v uint64) predicate.User

IntroducerUserIDEQ applies the EQ predicate on the "introducer_user_id" field.

func IntroducerUserIDIn

func IntroducerUserIDIn(vs ...uint64) predicate.User

IntroducerUserIDIn applies the In predicate on the "introducer_user_id" field.

func IntroducerUserIDIsNil

func IntroducerUserIDIsNil() predicate.User

IntroducerUserIDIsNil applies the IsNil predicate on the "introducer_user_id" field.

func IntroducerUserIDNEQ

func IntroducerUserIDNEQ(v uint64) predicate.User

IntroducerUserIDNEQ applies the NEQ predicate on the "introducer_user_id" field.

func IntroducerUserIDNotIn

func IntroducerUserIDNotIn(vs ...uint64) predicate.User

IntroducerUserIDNotIn applies the NotIn predicate on the "introducer_user_id" field.

func IntroducerUserIDNotNil

func IntroducerUserIDNotNil() predicate.User

IntroducerUserIDNotNil applies the NotNil predicate on the "introducer_user_id" field.

func Lang

func Lang(v string) predicate.User

Lang applies equality check predicate on the "lang" field. It's identical to LangEQ.

func LangContains

func LangContains(v string) predicate.User

LangContains applies the Contains predicate on the "lang" field.

func LangContainsFold

func LangContainsFold(v string) predicate.User

LangContainsFold applies the ContainsFold predicate on the "lang" field.

func LangEQ

func LangEQ(v string) predicate.User

LangEQ applies the EQ predicate on the "lang" field.

func LangEqualFold

func LangEqualFold(v string) predicate.User

LangEqualFold applies the EqualFold predicate on the "lang" field.

func LangGT

func LangGT(v string) predicate.User

LangGT applies the GT predicate on the "lang" field.

func LangGTE

func LangGTE(v string) predicate.User

LangGTE applies the GTE predicate on the "lang" field.

func LangHasPrefix

func LangHasPrefix(v string) predicate.User

LangHasPrefix applies the HasPrefix predicate on the "lang" field.

func LangHasSuffix

func LangHasSuffix(v string) predicate.User

LangHasSuffix applies the HasSuffix predicate on the "lang" field.

func LangIn

func LangIn(vs ...string) predicate.User

LangIn applies the In predicate on the "lang" field.

func LangLT

func LangLT(v string) predicate.User

LangLT applies the LT predicate on the "lang" field.

func LangLTE

func LangLTE(v string) predicate.User

LangLTE applies the LTE predicate on the "lang" field.

func LangNEQ

func LangNEQ(v string) predicate.User

LangNEQ applies the NEQ predicate on the "lang" field.

func LangNotIn

func LangNotIn(vs ...string) predicate.User

LangNotIn applies the NotIn predicate on the "lang" field.

func LastLoginAt

func LastLoginAt(v time.Time) predicate.User

LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.

func LastLoginAtEQ

func LastLoginAtEQ(v time.Time) predicate.User

LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.

func LastLoginAtGT

func LastLoginAtGT(v time.Time) predicate.User

LastLoginAtGT applies the GT predicate on the "last_login_at" field.

func LastLoginAtGTE

func LastLoginAtGTE(v time.Time) predicate.User

LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.

func LastLoginAtIn

func LastLoginAtIn(vs ...time.Time) predicate.User

LastLoginAtIn applies the In predicate on the "last_login_at" field.

func LastLoginAtIsNil

func LastLoginAtIsNil() predicate.User

LastLoginAtIsNil applies the IsNil predicate on the "last_login_at" field.

func LastLoginAtLT

func LastLoginAtLT(v time.Time) predicate.User

LastLoginAtLT applies the LT predicate on the "last_login_at" field.

func LastLoginAtLTE

func LastLoginAtLTE(v time.Time) predicate.User

LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.

func LastLoginAtNEQ

func LastLoginAtNEQ(v time.Time) predicate.User

LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.

func LastLoginAtNotIn

func LastLoginAtNotIn(vs ...time.Time) predicate.User

LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.

func LastLoginAtNotNil

func LastLoginAtNotNil() predicate.User

LastLoginAtNotNil applies the NotNil predicate on the "last_login_at" field.

func Name

func Name(v string) predicate.User

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.User

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.User

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.User

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.User

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.User

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.User

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.User

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.User

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.User

NameIn applies the In predicate on the "name" field.

func NameIsNil

func NameIsNil() predicate.User

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.User

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.User

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.User

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.User

NameNotIn applies the NotIn predicate on the "name" field.

func NameNotNil

func NameNotNil() predicate.User

NameNotNil applies the NotNil predicate on the "name" field.

func NationalID

func NationalID(v string) predicate.User

NationalID applies equality check predicate on the "national_id" field. It's identical to NationalIDEQ.

func NationalIDContains

func NationalIDContains(v string) predicate.User

NationalIDContains applies the Contains predicate on the "national_id" field.

func NationalIDContainsFold

func NationalIDContainsFold(v string) predicate.User

NationalIDContainsFold applies the ContainsFold predicate on the "national_id" field.

func NationalIDEQ

func NationalIDEQ(v string) predicate.User

NationalIDEQ applies the EQ predicate on the "national_id" field.

func NationalIDEqualFold

func NationalIDEqualFold(v string) predicate.User

NationalIDEqualFold applies the EqualFold predicate on the "national_id" field.

func NationalIDGT

func NationalIDGT(v string) predicate.User

NationalIDGT applies the GT predicate on the "national_id" field.

func NationalIDGTE

func NationalIDGTE(v string) predicate.User

NationalIDGTE applies the GTE predicate on the "national_id" field.

func NationalIDHasPrefix

func NationalIDHasPrefix(v string) predicate.User

NationalIDHasPrefix applies the HasPrefix predicate on the "national_id" field.

func NationalIDHasSuffix

func NationalIDHasSuffix(v string) predicate.User

NationalIDHasSuffix applies the HasSuffix predicate on the "national_id" field.

func NationalIDIn

func NationalIDIn(vs ...string) predicate.User

NationalIDIn applies the In predicate on the "national_id" field.

func NationalIDIsNil

func NationalIDIsNil() predicate.User

NationalIDIsNil applies the IsNil predicate on the "national_id" field.

func NationalIDLT

func NationalIDLT(v string) predicate.User

NationalIDLT applies the LT predicate on the "national_id" field.

func NationalIDLTE

func NationalIDLTE(v string) predicate.User

NationalIDLTE applies the LTE predicate on the "national_id" field.

func NationalIDNEQ

func NationalIDNEQ(v string) predicate.User

NationalIDNEQ applies the NEQ predicate on the "national_id" field.

func NationalIDNotIn

func NationalIDNotIn(vs ...string) predicate.User

NationalIDNotIn applies the NotIn predicate on the "national_id" field.

func NationalIDNotNil

func NationalIDNotNil() predicate.User

NationalIDNotNil applies the NotNil predicate on the "national_id" field.

func NewLoginAt

func NewLoginAt(v time.Time) predicate.User

NewLoginAt applies equality check predicate on the "new_login_at" field. It's identical to NewLoginAtEQ.

func NewLoginAtEQ

func NewLoginAtEQ(v time.Time) predicate.User

NewLoginAtEQ applies the EQ predicate on the "new_login_at" field.

func NewLoginAtGT

func NewLoginAtGT(v time.Time) predicate.User

NewLoginAtGT applies the GT predicate on the "new_login_at" field.

func NewLoginAtGTE

func NewLoginAtGTE(v time.Time) predicate.User

NewLoginAtGTE applies the GTE predicate on the "new_login_at" field.

func NewLoginAtIn

func NewLoginAtIn(vs ...time.Time) predicate.User

NewLoginAtIn applies the In predicate on the "new_login_at" field.

func NewLoginAtIsNil

func NewLoginAtIsNil() predicate.User

NewLoginAtIsNil applies the IsNil predicate on the "new_login_at" field.

func NewLoginAtLT

func NewLoginAtLT(v time.Time) predicate.User

NewLoginAtLT applies the LT predicate on the "new_login_at" field.

func NewLoginAtLTE

func NewLoginAtLTE(v time.Time) predicate.User

NewLoginAtLTE applies the LTE predicate on the "new_login_at" field.

func NewLoginAtNEQ

func NewLoginAtNEQ(v time.Time) predicate.User

NewLoginAtNEQ applies the NEQ predicate on the "new_login_at" field.

func NewLoginAtNotIn

func NewLoginAtNotIn(vs ...time.Time) predicate.User

NewLoginAtNotIn applies the NotIn predicate on the "new_login_at" field.

func NewLoginAtNotNil

func NewLoginAtNotNil() predicate.User

NewLoginAtNotNil applies the NotNil predicate on the "new_login_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.User) predicate.User

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.User

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func Password2

func Password2(v string) predicate.User

Password2 applies equality check predicate on the "password2" field. It's identical to Password2EQ.

func Password2Contains

func Password2Contains(v string) predicate.User

Password2Contains applies the Contains predicate on the "password2" field.

func Password2ContainsFold

func Password2ContainsFold(v string) predicate.User

Password2ContainsFold applies the ContainsFold predicate on the "password2" field.

func Password2EQ

func Password2EQ(v string) predicate.User

Password2EQ applies the EQ predicate on the "password2" field.

func Password2EqualFold

func Password2EqualFold(v string) predicate.User

Password2EqualFold applies the EqualFold predicate on the "password2" field.

func Password2GT

func Password2GT(v string) predicate.User

Password2GT applies the GT predicate on the "password2" field.

func Password2GTE

func Password2GTE(v string) predicate.User

Password2GTE applies the GTE predicate on the "password2" field.

func Password2HasPrefix

func Password2HasPrefix(v string) predicate.User

Password2HasPrefix applies the HasPrefix predicate on the "password2" field.

func Password2HasSuffix

func Password2HasSuffix(v string) predicate.User

Password2HasSuffix applies the HasSuffix predicate on the "password2" field.

func Password2In

func Password2In(vs ...string) predicate.User

Password2In applies the In predicate on the "password2" field.

func Password2LT

func Password2LT(v string) predicate.User

Password2LT applies the LT predicate on the "password2" field.

func Password2LTE

func Password2LTE(v string) predicate.User

Password2LTE applies the LTE predicate on the "password2" field.

func Password2NEQ

func Password2NEQ(v string) predicate.User

Password2NEQ applies the NEQ predicate on the "password2" field.

func Password2NotIn

func Password2NotIn(vs ...string) predicate.User

Password2NotIn applies the NotIn predicate on the "password2" field.

func PasswordContains

func PasswordContains(v string) predicate.User

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.User

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.User

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.User

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.User

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.User

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.User

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.User

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.User

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.User

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.User

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.User

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.User

PasswordNotIn applies the NotIn predicate on the "password" field.

func Unilevel

func Unilevel(v uint64) predicate.User

Unilevel applies equality check predicate on the "unilevel" field. It's identical to UnilevelEQ.

func UnilevelEQ

func UnilevelEQ(v uint64) predicate.User

UnilevelEQ applies the EQ predicate on the "unilevel" field.

func UnilevelGT

func UnilevelGT(v uint64) predicate.User

UnilevelGT applies the GT predicate on the "unilevel" field.

func UnilevelGTE

func UnilevelGTE(v uint64) predicate.User

UnilevelGTE applies the GTE predicate on the "unilevel" field.

func UnilevelIn

func UnilevelIn(vs ...uint64) predicate.User

UnilevelIn applies the In predicate on the "unilevel" field.

func UnilevelIsNil

func UnilevelIsNil() predicate.User

UnilevelIsNil applies the IsNil predicate on the "unilevel" field.

func UnilevelLT

func UnilevelLT(v uint64) predicate.User

UnilevelLT applies the LT predicate on the "unilevel" field.

func UnilevelLTE

func UnilevelLTE(v uint64) predicate.User

UnilevelLTE applies the LTE predicate on the "unilevel" field.

func UnilevelNEQ

func UnilevelNEQ(v uint64) predicate.User

UnilevelNEQ applies the NEQ predicate on the "unilevel" field.

func UnilevelNotIn

func UnilevelNotIn(vs ...uint64) predicate.User

UnilevelNotIn applies the NotIn predicate on the "unilevel" field.

func UnilevelNotNil

func UnilevelNotNil() predicate.User

UnilevelNotNil applies the NotNil predicate on the "unilevel" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.User

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.User

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.User

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.User

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.User

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.User

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.User

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.User

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.User

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func Username

func Username(v string) predicate.User

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.User

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.User

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.User

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.User

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.User

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.User

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.User

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.User

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.User

UsernameIn applies the In predicate on the "username" field.

func UsernameIsNil

func UsernameIsNil() predicate.User

UsernameIsNil applies the IsNil predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.User

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.User

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.User

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.User

UsernameNotIn applies the NotIn predicate on the "username" field.

func UsernameNotNil

func UsernameNotNil() predicate.User

UsernameNotNil applies the NotNil predicate on the "username" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the User queries.

func ByAvatar

func ByAvatar(opts ...sql.OrderTermOption) OrderOption

ByAvatar orders the results by the avatar field.

func ByBanUntil

func ByBanUntil(opts ...sql.OrderTermOption) OrderOption

ByBanUntil orders the results by the ban_until field.

func ByBankAccountName

func ByBankAccountName(opts ...sql.OrderTermOption) OrderOption

ByBankAccountName orders the results by the bank_account_name field.

func ByBankAccountNumber

func ByBankAccountNumber(opts ...sql.OrderTermOption) OrderOption

ByBankAccountNumber orders the results by the bank_account_number field.

func ByBankField

func ByBankField(field string, opts ...sql.OrderTermOption) OrderOption

ByBankField orders the results by bank field.

func ByBankID

func ByBankID(opts ...sql.OrderTermOption) OrderOption

ByBankID orders the results by the bank_id field.

func ByContactCountryField

func ByContactCountryField(field string, opts ...sql.OrderTermOption) OrderOption

ByContactCountryField orders the results by contact_country field.

func ByContactCountryID

func ByContactCountryID(opts ...sql.OrderTermOption) OrderOption

ByContactCountryID orders the results by the contact_country_id field.

func ByContactNumber

func ByContactNumber(opts ...sql.OrderTermOption) OrderOption

ByContactNumber orders the results by the contact_number field.

func ByCountryField

func ByCountryField(field string, opts ...sql.OrderTermOption) OrderOption

ByCountryField orders the results by country field.

func ByCountryID

func ByCountryID(opts ...sql.OrderTermOption) OrderOption

ByCountryID orders the results by the country_id field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCredit1

func ByCredit1(opts ...sql.OrderTermOption) OrderOption

ByCredit1 orders the results by the credit_1 field.

func ByCredit2

func ByCredit2(opts ...sql.OrderTermOption) OrderOption

ByCredit2 orders the results by the credit_2 field.

func ByCredit3

func ByCredit3(opts ...sql.OrderTermOption) OrderOption

ByCredit3 orders the results by the credit_3 field.

func ByCredit4

func ByCredit4(opts ...sql.OrderTermOption) OrderOption

ByCredit4 orders the results by the credit_4 field.

func ByCredit5

func ByCredit5(opts ...sql.OrderTermOption) OrderOption

ByCredit5 orders the results by the credit_5 field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByEmail

func ByEmail(opts ...sql.OrderTermOption) OrderOption

ByEmail orders the results by the email field.

func ByEmailVerifiedAt

func ByEmailVerifiedAt(opts ...sql.OrderTermOption) OrderOption

ByEmailVerifiedAt orders the results by the email_verified_at field.

func ByFirstLogin

func ByFirstLogin(opts ...sql.OrderTermOption) OrderOption

ByFirstLogin orders the results by the first_login field.

func ByFullContactNumber

func ByFullContactNumber(opts ...sql.OrderTermOption) OrderOption

ByFullContactNumber orders the results by the full_contact_number field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIntroducedUsers

func ByIntroducedUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByIntroducedUsers orders the results by introduced_users terms.

func ByIntroducedUsersCount

func ByIntroducedUsersCount(opts ...sql.OrderTermOption) OrderOption

ByIntroducedUsersCount orders the results by introduced_users count.

func ByIntroducerField

func ByIntroducerField(field string, opts ...sql.OrderTermOption) OrderOption

ByIntroducerField orders the results by introducer field.

func ByIntroducerUserID

func ByIntroducerUserID(opts ...sql.OrderTermOption) OrderOption

ByIntroducerUserID orders the results by the introducer_user_id field.

func ByLang

func ByLang(opts ...sql.OrderTermOption) OrderOption

ByLang orders the results by the lang field.

func ByLastLoginAt

func ByLastLoginAt(opts ...sql.OrderTermOption) OrderOption

ByLastLoginAt orders the results by the last_login_at field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByNationalID

func ByNationalID(opts ...sql.OrderTermOption) OrderOption

ByNationalID orders the results by the national_id field.

func ByNewLoginAt

func ByNewLoginAt(opts ...sql.OrderTermOption) OrderOption

ByNewLoginAt orders the results by the new_login_at field.

func ByPassword

func ByPassword(opts ...sql.OrderTermOption) OrderOption

ByPassword orders the results by the password field.

func ByPassword2

func ByPassword2(opts ...sql.OrderTermOption) OrderOption

ByPassword2 orders the results by the password2 field.

func ByUnilevel

func ByUnilevel(opts ...sql.OrderTermOption) OrderOption

ByUnilevel orders the results by the unilevel field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUsername

func ByUsername(opts ...sql.OrderTermOption) OrderOption

ByUsername orders the results by the username field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL