Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func Avatar(v string) predicate.User
- func AvatarContains(v string) predicate.User
- func AvatarContainsFold(v string) predicate.User
- func AvatarEQ(v string) predicate.User
- func AvatarEqualFold(v string) predicate.User
- func AvatarGT(v string) predicate.User
- func AvatarGTE(v string) predicate.User
- func AvatarHasPrefix(v string) predicate.User
- func AvatarHasSuffix(v string) predicate.User
- func AvatarIn(vs ...string) predicate.User
- func AvatarIsNil() predicate.User
- func AvatarLT(v string) predicate.User
- func AvatarLTE(v string) predicate.User
- func AvatarNEQ(v string) predicate.User
- func AvatarNotIn(vs ...string) predicate.User
- func AvatarNotNil() predicate.User
- func BanUntil(v time.Time) predicate.User
- func BanUntilEQ(v time.Time) predicate.User
- func BanUntilGT(v time.Time) predicate.User
- func BanUntilGTE(v time.Time) predicate.User
- func BanUntilIn(vs ...time.Time) predicate.User
- func BanUntilIsNil() predicate.User
- func BanUntilLT(v time.Time) predicate.User
- func BanUntilLTE(v time.Time) predicate.User
- func BanUntilNEQ(v time.Time) predicate.User
- func BanUntilNotIn(vs ...time.Time) predicate.User
- func BanUntilNotNil() predicate.User
- func BankAccountName(v string) predicate.User
- func BankAccountNameContains(v string) predicate.User
- func BankAccountNameContainsFold(v string) predicate.User
- func BankAccountNameEQ(v string) predicate.User
- func BankAccountNameEqualFold(v string) predicate.User
- func BankAccountNameGT(v string) predicate.User
- func BankAccountNameGTE(v string) predicate.User
- func BankAccountNameHasPrefix(v string) predicate.User
- func BankAccountNameHasSuffix(v string) predicate.User
- func BankAccountNameIn(vs ...string) predicate.User
- func BankAccountNameIsNil() predicate.User
- func BankAccountNameLT(v string) predicate.User
- func BankAccountNameLTE(v string) predicate.User
- func BankAccountNameNEQ(v string) predicate.User
- func BankAccountNameNotIn(vs ...string) predicate.User
- func BankAccountNameNotNil() predicate.User
- func BankAccountNumber(v string) predicate.User
- func BankAccountNumberContains(v string) predicate.User
- func BankAccountNumberContainsFold(v string) predicate.User
- func BankAccountNumberEQ(v string) predicate.User
- func BankAccountNumberEqualFold(v string) predicate.User
- func BankAccountNumberGT(v string) predicate.User
- func BankAccountNumberGTE(v string) predicate.User
- func BankAccountNumberHasPrefix(v string) predicate.User
- func BankAccountNumberHasSuffix(v string) predicate.User
- func BankAccountNumberIn(vs ...string) predicate.User
- func BankAccountNumberIsNil() predicate.User
- func BankAccountNumberLT(v string) predicate.User
- func BankAccountNumberLTE(v string) predicate.User
- func BankAccountNumberNEQ(v string) predicate.User
- func BankAccountNumberNotIn(vs ...string) predicate.User
- func BankAccountNumberNotNil() predicate.User
- func BankID(v uint64) predicate.User
- func BankIDEQ(v uint64) predicate.User
- func BankIDIn(vs ...uint64) predicate.User
- func BankIDIsNil() predicate.User
- func BankIDNEQ(v uint64) predicate.User
- func BankIDNotIn(vs ...uint64) predicate.User
- func BankIDNotNil() predicate.User
- func ContactCountryID(v uint64) predicate.User
- func ContactCountryIDEQ(v uint64) predicate.User
- func ContactCountryIDIn(vs ...uint64) predicate.User
- func ContactCountryIDIsNil() predicate.User
- func ContactCountryIDNEQ(v uint64) predicate.User
- func ContactCountryIDNotIn(vs ...uint64) predicate.User
- func ContactCountryIDNotNil() predicate.User
- func ContactNumber(v string) predicate.User
- func ContactNumberContains(v string) predicate.User
- func ContactNumberContainsFold(v string) predicate.User
- func ContactNumberEQ(v string) predicate.User
- func ContactNumberEqualFold(v string) predicate.User
- func ContactNumberGT(v string) predicate.User
- func ContactNumberGTE(v string) predicate.User
- func ContactNumberHasPrefix(v string) predicate.User
- func ContactNumberHasSuffix(v string) predicate.User
- func ContactNumberIn(vs ...string) predicate.User
- func ContactNumberIsNil() predicate.User
- func ContactNumberLT(v string) predicate.User
- func ContactNumberLTE(v string) predicate.User
- func ContactNumberNEQ(v string) predicate.User
- func ContactNumberNotIn(vs ...string) predicate.User
- func ContactNumberNotNil() predicate.User
- func CountryID(v uint64) predicate.User
- func CountryIDEQ(v uint64) predicate.User
- func CountryIDIn(vs ...uint64) predicate.User
- func CountryIDIsNil() predicate.User
- func CountryIDNEQ(v uint64) predicate.User
- func CountryIDNotIn(vs ...uint64) predicate.User
- func CountryIDNotNil() 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 Credit1(v float64) predicate.User
- func Credit1EQ(v float64) predicate.User
- func Credit1GT(v float64) predicate.User
- func Credit1GTE(v float64) predicate.User
- func Credit1In(vs ...float64) predicate.User
- func Credit1LT(v float64) predicate.User
- func Credit1LTE(v float64) predicate.User
- func Credit1NEQ(v float64) predicate.User
- func Credit1NotIn(vs ...float64) predicate.User
- func Credit2(v float64) predicate.User
- func Credit2EQ(v float64) predicate.User
- func Credit2GT(v float64) predicate.User
- func Credit2GTE(v float64) predicate.User
- func Credit2In(vs ...float64) predicate.User
- func Credit2LT(v float64) predicate.User
- func Credit2LTE(v float64) predicate.User
- func Credit2NEQ(v float64) predicate.User
- func Credit2NotIn(vs ...float64) predicate.User
- func Credit3(v float64) predicate.User
- func Credit3EQ(v float64) predicate.User
- func Credit3GT(v float64) predicate.User
- func Credit3GTE(v float64) predicate.User
- func Credit3In(vs ...float64) predicate.User
- func Credit3LT(v float64) predicate.User
- func Credit3LTE(v float64) predicate.User
- func Credit3NEQ(v float64) predicate.User
- func Credit3NotIn(vs ...float64) predicate.User
- func Credit4(v float64) predicate.User
- func Credit4EQ(v float64) predicate.User
- func Credit4GT(v float64) predicate.User
- func Credit4GTE(v float64) predicate.User
- func Credit4In(vs ...float64) predicate.User
- func Credit4LT(v float64) predicate.User
- func Credit4LTE(v float64) predicate.User
- func Credit4NEQ(v float64) predicate.User
- func Credit4NotIn(vs ...float64) predicate.User
- func Credit5(v float64) predicate.User
- func Credit5EQ(v float64) predicate.User
- func Credit5GT(v float64) predicate.User
- func Credit5GTE(v float64) predicate.User
- func Credit5In(vs ...float64) predicate.User
- func Credit5LT(v float64) predicate.User
- func Credit5LTE(v float64) predicate.User
- func Credit5NEQ(v float64) predicate.User
- func Credit5NotIn(vs ...float64) predicate.User
- func DeletedAt(v time.Time) predicate.User
- func DeletedAtEQ(v time.Time) predicate.User
- func DeletedAtGT(v time.Time) predicate.User
- func DeletedAtGTE(v time.Time) predicate.User
- func DeletedAtIn(vs ...time.Time) predicate.User
- func DeletedAtIsNil() predicate.User
- func DeletedAtLT(v time.Time) predicate.User
- func DeletedAtLTE(v time.Time) predicate.User
- func DeletedAtNEQ(v time.Time) predicate.User
- func DeletedAtNotIn(vs ...time.Time) predicate.User
- func DeletedAtNotNil() predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailIsNil() predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func EmailNotNil() predicate.User
- func EmailVerifiedAt(v time.Time) predicate.User
- func EmailVerifiedAtEQ(v time.Time) predicate.User
- func EmailVerifiedAtGT(v time.Time) predicate.User
- func EmailVerifiedAtGTE(v time.Time) predicate.User
- func EmailVerifiedAtIn(vs ...time.Time) predicate.User
- func EmailVerifiedAtIsNil() predicate.User
- func EmailVerifiedAtLT(v time.Time) predicate.User
- func EmailVerifiedAtLTE(v time.Time) predicate.User
- func EmailVerifiedAtNEQ(v time.Time) predicate.User
- func EmailVerifiedAtNotIn(vs ...time.Time) predicate.User
- func EmailVerifiedAtNotNil() predicate.User
- func FirstLogin(v bool) predicate.User
- func FirstLoginEQ(v bool) predicate.User
- func FirstLoginNEQ(v bool) predicate.User
- func FullContactNumber(v string) predicate.User
- func FullContactNumberContains(v string) predicate.User
- func FullContactNumberContainsFold(v string) predicate.User
- func FullContactNumberEQ(v string) predicate.User
- func FullContactNumberEqualFold(v string) predicate.User
- func FullContactNumberGT(v string) predicate.User
- func FullContactNumberGTE(v string) predicate.User
- func FullContactNumberHasPrefix(v string) predicate.User
- func FullContactNumberHasSuffix(v string) predicate.User
- func FullContactNumberIn(vs ...string) predicate.User
- func FullContactNumberIsNil() predicate.User
- func FullContactNumberLT(v string) predicate.User
- func FullContactNumberLTE(v string) predicate.User
- func FullContactNumberNEQ(v string) predicate.User
- func FullContactNumberNotIn(vs ...string) predicate.User
- func FullContactNumberNotNil() predicate.User
- func HasBank() predicate.User
- func HasBankWith(preds ...predicate.Bank) predicate.User
- func HasContactCountry() predicate.User
- func HasContactCountryWith(preds ...predicate.Country) predicate.User
- func HasCountry() predicate.User
- func HasCountryWith(preds ...predicate.Country) predicate.User
- func HasIntroducedUsers() predicate.User
- func HasIntroducedUsersWith(preds ...predicate.User) predicate.User
- func HasIntroducer() predicate.User
- func HasIntroducerWith(preds ...predicate.User) predicate.User
- func ID(id uint64) predicate.User
- func IDEQ(id uint64) predicate.User
- func IDGT(id uint64) predicate.User
- func IDGTE(id uint64) predicate.User
- func IDIn(ids ...uint64) predicate.User
- func IDLT(id uint64) predicate.User
- func IDLTE(id uint64) predicate.User
- func IDNEQ(id uint64) predicate.User
- func IDNotIn(ids ...uint64) predicate.User
- func IntroducerUserID(v uint64) predicate.User
- func IntroducerUserIDEQ(v uint64) predicate.User
- func IntroducerUserIDIn(vs ...uint64) predicate.User
- func IntroducerUserIDIsNil() predicate.User
- func IntroducerUserIDNEQ(v uint64) predicate.User
- func IntroducerUserIDNotIn(vs ...uint64) predicate.User
- func IntroducerUserIDNotNil() predicate.User
- func Lang(v string) predicate.User
- func LangContains(v string) predicate.User
- func LangContainsFold(v string) predicate.User
- func LangEQ(v string) predicate.User
- func LangEqualFold(v string) predicate.User
- func LangGT(v string) predicate.User
- func LangGTE(v string) predicate.User
- func LangHasPrefix(v string) predicate.User
- func LangHasSuffix(v string) predicate.User
- func LangIn(vs ...string) predicate.User
- func LangLT(v string) predicate.User
- func LangLTE(v string) predicate.User
- func LangNEQ(v string) predicate.User
- func LangNotIn(vs ...string) predicate.User
- func LastLoginAt(v time.Time) predicate.User
- func LastLoginAtEQ(v time.Time) predicate.User
- func LastLoginAtGT(v time.Time) predicate.User
- func LastLoginAtGTE(v time.Time) predicate.User
- func LastLoginAtIn(vs ...time.Time) predicate.User
- func LastLoginAtIsNil() predicate.User
- func LastLoginAtLT(v time.Time) predicate.User
- func LastLoginAtLTE(v time.Time) predicate.User
- func LastLoginAtNEQ(v time.Time) predicate.User
- func LastLoginAtNotIn(vs ...time.Time) predicate.User
- func LastLoginAtNotNil() predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameIsNil() predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func NameNotNil() predicate.User
- func NationalID(v string) predicate.User
- func NationalIDContains(v string) predicate.User
- func NationalIDContainsFold(v string) predicate.User
- func NationalIDEQ(v string) predicate.User
- func NationalIDEqualFold(v string) predicate.User
- func NationalIDGT(v string) predicate.User
- func NationalIDGTE(v string) predicate.User
- func NationalIDHasPrefix(v string) predicate.User
- func NationalIDHasSuffix(v string) predicate.User
- func NationalIDIn(vs ...string) predicate.User
- func NationalIDIsNil() predicate.User
- func NationalIDLT(v string) predicate.User
- func NationalIDLTE(v string) predicate.User
- func NationalIDNEQ(v string) predicate.User
- func NationalIDNotIn(vs ...string) predicate.User
- func NationalIDNotNil() predicate.User
- func NewLoginAt(v time.Time) predicate.User
- func NewLoginAtEQ(v time.Time) predicate.User
- func NewLoginAtGT(v time.Time) predicate.User
- func NewLoginAtGTE(v time.Time) predicate.User
- func NewLoginAtIn(vs ...time.Time) predicate.User
- func NewLoginAtIsNil() predicate.User
- func NewLoginAtLT(v time.Time) predicate.User
- func NewLoginAtLTE(v time.Time) predicate.User
- func NewLoginAtNEQ(v time.Time) predicate.User
- func NewLoginAtNotIn(vs ...time.Time) predicate.User
- func NewLoginAtNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Password(v string) predicate.User
- func Password2(v string) predicate.User
- func Password2Contains(v string) predicate.User
- func Password2ContainsFold(v string) predicate.User
- func Password2EQ(v string) predicate.User
- func Password2EqualFold(v string) predicate.User
- func Password2GT(v string) predicate.User
- func Password2GTE(v string) predicate.User
- func Password2HasPrefix(v string) predicate.User
- func Password2HasSuffix(v string) predicate.User
- func Password2In(vs ...string) predicate.User
- func Password2LT(v string) predicate.User
- func Password2LTE(v string) predicate.User
- func Password2NEQ(v string) predicate.User
- func Password2NotIn(vs ...string) predicate.User
- func PasswordContains(v string) predicate.User
- func PasswordContainsFold(v string) predicate.User
- func PasswordEQ(v string) predicate.User
- func PasswordEqualFold(v string) predicate.User
- func PasswordGT(v string) predicate.User
- func PasswordGTE(v string) predicate.User
- func PasswordHasPrefix(v string) predicate.User
- func PasswordHasSuffix(v string) predicate.User
- func PasswordIn(vs ...string) predicate.User
- func PasswordLT(v string) predicate.User
- func PasswordLTE(v string) predicate.User
- func PasswordNEQ(v string) predicate.User
- func PasswordNotIn(vs ...string) predicate.User
- func Unilevel(v uint64) predicate.User
- func UnilevelEQ(v uint64) predicate.User
- func UnilevelGT(v uint64) predicate.User
- func UnilevelGTE(v uint64) predicate.User
- func UnilevelIn(vs ...uint64) predicate.User
- func UnilevelIsNil() predicate.User
- func UnilevelLT(v uint64) predicate.User
- func UnilevelLTE(v uint64) predicate.User
- func UnilevelNEQ(v uint64) predicate.User
- func UnilevelNotIn(vs ...uint64) predicate.User
- func UnilevelNotNil() predicate.User
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(vs ...time.Time) 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 UsernameIsNil() 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 UsernameNotNil() predicate.User
- func ValidColumn(column string) bool
- type OrderOption
- func ByAvatar(opts ...sql.OrderTermOption) OrderOption
- func ByBanUntil(opts ...sql.OrderTermOption) OrderOption
- func ByBankAccountName(opts ...sql.OrderTermOption) OrderOption
- func ByBankAccountNumber(opts ...sql.OrderTermOption) OrderOption
- func ByBankField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBankID(opts ...sql.OrderTermOption) OrderOption
- func ByContactCountryField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByContactCountryID(opts ...sql.OrderTermOption) OrderOption
- func ByContactNumber(opts ...sql.OrderTermOption) OrderOption
- func ByCountryField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCountryID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCredit1(opts ...sql.OrderTermOption) OrderOption
- func ByCredit2(opts ...sql.OrderTermOption) OrderOption
- func ByCredit3(opts ...sql.OrderTermOption) OrderOption
- func ByCredit4(opts ...sql.OrderTermOption) OrderOption
- func ByCredit5(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailVerifiedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFirstLogin(opts ...sql.OrderTermOption) OrderOption
- func ByFullContactNumber(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntroducedUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntroducedUsersCount(opts ...sql.OrderTermOption) OrderOption
- func ByIntroducerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByIntroducerUserID(opts ...sql.OrderTermOption) OrderOption
- func ByLang(opts ...sql.OrderTermOption) OrderOption
- func ByLastLoginAt(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNationalID(opts ...sql.OrderTermOption) OrderOption
- func ByNewLoginAt(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByPassword2(opts ...sql.OrderTermOption) OrderOption
- func ByUnilevel(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
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" // 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 ¶
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 )
var Columns = []string{ FieldID, FieldUsername, FieldName, FieldEmail, FieldEmailVerifiedAt, FieldPassword, FieldPassword2, FieldCountryID, FieldContactCountryID, FieldContactNumber, FieldFullContactNumber, FieldIntroducerUserID, FieldLang, FieldAvatar, FieldCredit1, FieldCredit2, FieldCredit3, FieldCredit4, FieldCredit5, FieldBankID, FieldBankAccountName, FieldBankAccountNumber, FieldNationalID, FieldFirstLogin, FieldBanUntil, FieldNewLoginAt, FieldLastLoginAt, FieldUnilevel, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, }
Columns holds all SQL columns for user fields.
Functions ¶
func Avatar ¶
Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func AvatarContains ¶
AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContainsFold ¶
AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarEqualFold ¶
AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarHasPrefix ¶
AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasSuffix ¶
AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarIsNil ¶
AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarNotIn ¶
AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotNil ¶
AvatarNotNil applies the NotNil predicate on the "avatar" field.
func BanUntil ¶
BanUntil applies equality check predicate on the "ban_until" field. It's identical to BanUntilEQ.
func BanUntilEQ ¶
BanUntilEQ applies the EQ predicate on the "ban_until" field.
func BanUntilGT ¶
BanUntilGT applies the GT predicate on the "ban_until" field.
func BanUntilGTE ¶
BanUntilGTE applies the GTE predicate on the "ban_until" field.
func BanUntilIn ¶
BanUntilIn applies the In predicate on the "ban_until" field.
func BanUntilIsNil ¶
BanUntilIsNil applies the IsNil predicate on the "ban_until" field.
func BanUntilLT ¶
BanUntilLT applies the LT predicate on the "ban_until" field.
func BanUntilLTE ¶
BanUntilLTE applies the LTE predicate on the "ban_until" field.
func BanUntilNEQ ¶
BanUntilNEQ applies the NEQ predicate on the "ban_until" field.
func BanUntilNotIn ¶
BanUntilNotIn applies the NotIn predicate on the "ban_until" field.
func BanUntilNotNil ¶
BanUntilNotNil applies the NotNil predicate on the "ban_until" field.
func BankAccountName ¶
BankAccountName applies equality check predicate on the "bank_account_name" field. It's identical to BankAccountNameEQ.
func BankAccountNameContains ¶
BankAccountNameContains applies the Contains predicate on the "bank_account_name" field.
func BankAccountNameContainsFold ¶
BankAccountNameContainsFold applies the ContainsFold predicate on the "bank_account_name" field.
func BankAccountNameEQ ¶
BankAccountNameEQ applies the EQ predicate on the "bank_account_name" field.
func BankAccountNameEqualFold ¶
BankAccountNameEqualFold applies the EqualFold predicate on the "bank_account_name" field.
func BankAccountNameGT ¶
BankAccountNameGT applies the GT predicate on the "bank_account_name" field.
func BankAccountNameGTE ¶
BankAccountNameGTE applies the GTE predicate on the "bank_account_name" field.
func BankAccountNameHasPrefix ¶
BankAccountNameHasPrefix applies the HasPrefix predicate on the "bank_account_name" field.
func BankAccountNameHasSuffix ¶
BankAccountNameHasSuffix applies the HasSuffix predicate on the "bank_account_name" field.
func BankAccountNameIn ¶
BankAccountNameIn applies the In predicate on the "bank_account_name" field.
func BankAccountNameIsNil ¶
BankAccountNameIsNil applies the IsNil predicate on the "bank_account_name" field.
func BankAccountNameLT ¶
BankAccountNameLT applies the LT predicate on the "bank_account_name" field.
func BankAccountNameLTE ¶
BankAccountNameLTE applies the LTE predicate on the "bank_account_name" field.
func BankAccountNameNEQ ¶
BankAccountNameNEQ applies the NEQ predicate on the "bank_account_name" field.
func BankAccountNameNotIn ¶
BankAccountNameNotIn applies the NotIn predicate on the "bank_account_name" field.
func BankAccountNameNotNil ¶
BankAccountNameNotNil applies the NotNil predicate on the "bank_account_name" field.
func BankAccountNumber ¶
BankAccountNumber applies equality check predicate on the "bank_account_number" field. It's identical to BankAccountNumberEQ.
func BankAccountNumberContains ¶
BankAccountNumberContains applies the Contains predicate on the "bank_account_number" field.
func BankAccountNumberContainsFold ¶
BankAccountNumberContainsFold applies the ContainsFold predicate on the "bank_account_number" field.
func BankAccountNumberEQ ¶
BankAccountNumberEQ applies the EQ predicate on the "bank_account_number" field.
func BankAccountNumberEqualFold ¶
BankAccountNumberEqualFold applies the EqualFold predicate on the "bank_account_number" field.
func BankAccountNumberGT ¶
BankAccountNumberGT applies the GT predicate on the "bank_account_number" field.
func BankAccountNumberGTE ¶
BankAccountNumberGTE applies the GTE predicate on the "bank_account_number" field.
func BankAccountNumberHasPrefix ¶
BankAccountNumberHasPrefix applies the HasPrefix predicate on the "bank_account_number" field.
func BankAccountNumberHasSuffix ¶
BankAccountNumberHasSuffix applies the HasSuffix predicate on the "bank_account_number" field.
func BankAccountNumberIn ¶
BankAccountNumberIn applies the In predicate on the "bank_account_number" field.
func BankAccountNumberIsNil ¶
BankAccountNumberIsNil applies the IsNil predicate on the "bank_account_number" field.
func BankAccountNumberLT ¶
BankAccountNumberLT applies the LT predicate on the "bank_account_number" field.
func BankAccountNumberLTE ¶
BankAccountNumberLTE applies the LTE predicate on the "bank_account_number" field.
func BankAccountNumberNEQ ¶
BankAccountNumberNEQ applies the NEQ predicate on the "bank_account_number" field.
func BankAccountNumberNotIn ¶
BankAccountNumberNotIn applies the NotIn predicate on the "bank_account_number" field.
func BankAccountNumberNotNil ¶
BankAccountNumberNotNil applies the NotNil predicate on the "bank_account_number" field.
func BankID ¶
BankID applies equality check predicate on the "bank_id" field. It's identical to BankIDEQ.
func BankIDIsNil ¶
BankIDIsNil applies the IsNil predicate on the "bank_id" field.
func BankIDNotIn ¶
BankIDNotIn applies the NotIn predicate on the "bank_id" field.
func BankIDNotNil ¶
BankIDNotNil applies the NotNil predicate on the "bank_id" field.
func ContactCountryID ¶
ContactCountryID applies equality check predicate on the "contact_country_id" field. It's identical to ContactCountryIDEQ.
func ContactCountryIDEQ ¶
ContactCountryIDEQ applies the EQ predicate on the "contact_country_id" field.
func ContactCountryIDIn ¶
ContactCountryIDIn applies the In predicate on the "contact_country_id" field.
func ContactCountryIDIsNil ¶
ContactCountryIDIsNil applies the IsNil predicate on the "contact_country_id" field.
func ContactCountryIDNEQ ¶
ContactCountryIDNEQ applies the NEQ predicate on the "contact_country_id" field.
func ContactCountryIDNotIn ¶
ContactCountryIDNotIn applies the NotIn predicate on the "contact_country_id" field.
func ContactCountryIDNotNil ¶
ContactCountryIDNotNil applies the NotNil predicate on the "contact_country_id" field.
func ContactNumber ¶
ContactNumber applies equality check predicate on the "contact_number" field. It's identical to ContactNumberEQ.
func ContactNumberContains ¶
ContactNumberContains applies the Contains predicate on the "contact_number" field.
func ContactNumberContainsFold ¶
ContactNumberContainsFold applies the ContainsFold predicate on the "contact_number" field.
func ContactNumberEQ ¶
ContactNumberEQ applies the EQ predicate on the "contact_number" field.
func ContactNumberEqualFold ¶
ContactNumberEqualFold applies the EqualFold predicate on the "contact_number" field.
func ContactNumberGT ¶
ContactNumberGT applies the GT predicate on the "contact_number" field.
func ContactNumberGTE ¶
ContactNumberGTE applies the GTE predicate on the "contact_number" field.
func ContactNumberHasPrefix ¶
ContactNumberHasPrefix applies the HasPrefix predicate on the "contact_number" field.
func ContactNumberHasSuffix ¶
ContactNumberHasSuffix applies the HasSuffix predicate on the "contact_number" field.
func ContactNumberIn ¶
ContactNumberIn applies the In predicate on the "contact_number" field.
func ContactNumberIsNil ¶
ContactNumberIsNil applies the IsNil predicate on the "contact_number" field.
func ContactNumberLT ¶
ContactNumberLT applies the LT predicate on the "contact_number" field.
func ContactNumberLTE ¶
ContactNumberLTE applies the LTE predicate on the "contact_number" field.
func ContactNumberNEQ ¶
ContactNumberNEQ applies the NEQ predicate on the "contact_number" field.
func ContactNumberNotIn ¶
ContactNumberNotIn applies the NotIn predicate on the "contact_number" field.
func ContactNumberNotNil ¶
ContactNumberNotNil applies the NotNil predicate on the "contact_number" field.
func CountryID ¶
CountryID applies equality check predicate on the "country_id" field. It's identical to CountryIDEQ.
func CountryIDEQ ¶
CountryIDEQ applies the EQ predicate on the "country_id" field.
func CountryIDIn ¶
CountryIDIn applies the In predicate on the "country_id" field.
func CountryIDIsNil ¶
CountryIDIsNil applies the IsNil predicate on the "country_id" field.
func CountryIDNEQ ¶
CountryIDNEQ applies the NEQ predicate on the "country_id" field.
func CountryIDNotIn ¶
CountryIDNotIn applies the NotIn predicate on the "country_id" field.
func CountryIDNotNil ¶
CountryIDNotNil applies the NotNil predicate on the "country_id" field.
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 Credit1 ¶
Credit1 applies equality check predicate on the "credit_1" field. It's identical to Credit1EQ.
func Credit1GTE ¶
Credit1GTE applies the GTE predicate on the "credit_1" field.
func Credit1LTE ¶
Credit1LTE applies the LTE predicate on the "credit_1" field.
func Credit1NEQ ¶
Credit1NEQ applies the NEQ predicate on the "credit_1" field.
func Credit1NotIn ¶
Credit1NotIn applies the NotIn predicate on the "credit_1" field.
func Credit2 ¶
Credit2 applies equality check predicate on the "credit_2" field. It's identical to Credit2EQ.
func Credit2GTE ¶
Credit2GTE applies the GTE predicate on the "credit_2" field.
func Credit2LTE ¶
Credit2LTE applies the LTE predicate on the "credit_2" field.
func Credit2NEQ ¶
Credit2NEQ applies the NEQ predicate on the "credit_2" field.
func Credit2NotIn ¶
Credit2NotIn applies the NotIn predicate on the "credit_2" field.
func Credit3 ¶
Credit3 applies equality check predicate on the "credit_3" field. It's identical to Credit3EQ.
func Credit3GTE ¶
Credit3GTE applies the GTE predicate on the "credit_3" field.
func Credit3LTE ¶
Credit3LTE applies the LTE predicate on the "credit_3" field.
func Credit3NEQ ¶
Credit3NEQ applies the NEQ predicate on the "credit_3" field.
func Credit3NotIn ¶
Credit3NotIn applies the NotIn predicate on the "credit_3" field.
func Credit4 ¶
Credit4 applies equality check predicate on the "credit_4" field. It's identical to Credit4EQ.
func Credit4GTE ¶
Credit4GTE applies the GTE predicate on the "credit_4" field.
func Credit4LTE ¶
Credit4LTE applies the LTE predicate on the "credit_4" field.
func Credit4NEQ ¶
Credit4NEQ applies the NEQ predicate on the "credit_4" field.
func Credit4NotIn ¶
Credit4NotIn applies the NotIn predicate on the "credit_4" field.
func Credit5 ¶
Credit5 applies equality check predicate on the "credit_5" field. It's identical to Credit5EQ.
func Credit5GTE ¶
Credit5GTE applies the GTE predicate on the "credit_5" field.
func Credit5LTE ¶
Credit5LTE applies the LTE predicate on the "credit_5" field.
func Credit5NEQ ¶
Credit5NEQ applies the NEQ predicate on the "credit_5" field.
func Credit5NotIn ¶
Credit5NotIn applies the NotIn predicate on the "credit_5" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_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 EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func EmailVerifiedAt ¶
EmailVerifiedAt applies equality check predicate on the "email_verified_at" field. It's identical to EmailVerifiedAtEQ.
func EmailVerifiedAtEQ ¶
EmailVerifiedAtEQ applies the EQ predicate on the "email_verified_at" field.
func EmailVerifiedAtGT ¶
EmailVerifiedAtGT applies the GT predicate on the "email_verified_at" field.
func EmailVerifiedAtGTE ¶
EmailVerifiedAtGTE applies the GTE predicate on the "email_verified_at" field.
func EmailVerifiedAtIn ¶
EmailVerifiedAtIn applies the In predicate on the "email_verified_at" field.
func EmailVerifiedAtIsNil ¶
EmailVerifiedAtIsNil applies the IsNil predicate on the "email_verified_at" field.
func EmailVerifiedAtLT ¶
EmailVerifiedAtLT applies the LT predicate on the "email_verified_at" field.
func EmailVerifiedAtLTE ¶
EmailVerifiedAtLTE applies the LTE predicate on the "email_verified_at" field.
func EmailVerifiedAtNEQ ¶
EmailVerifiedAtNEQ applies the NEQ predicate on the "email_verified_at" field.
func EmailVerifiedAtNotIn ¶
EmailVerifiedAtNotIn applies the NotIn predicate on the "email_verified_at" field.
func EmailVerifiedAtNotNil ¶
EmailVerifiedAtNotNil applies the NotNil predicate on the "email_verified_at" field.
func FirstLogin ¶
FirstLogin applies equality check predicate on the "first_login" field. It's identical to FirstLoginEQ.
func FirstLoginEQ ¶
FirstLoginEQ applies the EQ predicate on the "first_login" field.
func FirstLoginNEQ ¶
FirstLoginNEQ applies the NEQ predicate on the "first_login" field.
func FullContactNumber ¶
FullContactNumber applies equality check predicate on the "full_contact_number" field. It's identical to FullContactNumberEQ.
func FullContactNumberContains ¶
FullContactNumberContains applies the Contains predicate on the "full_contact_number" field.
func FullContactNumberContainsFold ¶
FullContactNumberContainsFold applies the ContainsFold predicate on the "full_contact_number" field.
func FullContactNumberEQ ¶
FullContactNumberEQ applies the EQ predicate on the "full_contact_number" field.
func FullContactNumberEqualFold ¶
FullContactNumberEqualFold applies the EqualFold predicate on the "full_contact_number" field.
func FullContactNumberGT ¶
FullContactNumberGT applies the GT predicate on the "full_contact_number" field.
func FullContactNumberGTE ¶
FullContactNumberGTE applies the GTE predicate on the "full_contact_number" field.
func FullContactNumberHasPrefix ¶
FullContactNumberHasPrefix applies the HasPrefix predicate on the "full_contact_number" field.
func FullContactNumberHasSuffix ¶
FullContactNumberHasSuffix applies the HasSuffix predicate on the "full_contact_number" field.
func FullContactNumberIn ¶
FullContactNumberIn applies the In predicate on the "full_contact_number" field.
func FullContactNumberIsNil ¶
FullContactNumberIsNil applies the IsNil predicate on the "full_contact_number" field.
func FullContactNumberLT ¶
FullContactNumberLT applies the LT predicate on the "full_contact_number" field.
func FullContactNumberLTE ¶
FullContactNumberLTE applies the LTE predicate on the "full_contact_number" field.
func FullContactNumberNEQ ¶
FullContactNumberNEQ applies the NEQ predicate on the "full_contact_number" field.
func FullContactNumberNotIn ¶
FullContactNumberNotIn applies the NotIn predicate on the "full_contact_number" field.
func FullContactNumberNotNil ¶
FullContactNumberNotNil applies the NotNil predicate on the "full_contact_number" field.
func HasBankWith ¶
HasBankWith applies the HasEdge predicate on the "bank" edge with a given conditions (other predicates).
func HasContactCountry ¶
HasContactCountry applies the HasEdge predicate on the "contact_country" edge.
func HasContactCountryWith ¶
HasContactCountryWith applies the HasEdge predicate on the "contact_country" edge with a given conditions (other predicates).
func HasCountry ¶
HasCountry applies the HasEdge predicate on the "country" edge.
func HasCountryWith ¶
HasCountryWith applies the HasEdge predicate on the "country" edge with a given conditions (other predicates).
func HasIntroducedUsers ¶
HasIntroducedUsers applies the HasEdge predicate on the "introduced_users" edge.
func HasIntroducedUsersWith ¶
HasIntroducedUsersWith applies the HasEdge predicate on the "introduced_users" edge with a given conditions (other predicates).
func HasIntroducer ¶
HasIntroducer applies the HasEdge predicate on the "introducer" edge.
func HasIntroducerWith ¶
HasIntroducerWith applies the HasEdge predicate on the "introducer" edge with a given conditions (other predicates).
func IntroducerUserID ¶
IntroducerUserID applies equality check predicate on the "introducer_user_id" field. It's identical to IntroducerUserIDEQ.
func IntroducerUserIDEQ ¶
IntroducerUserIDEQ applies the EQ predicate on the "introducer_user_id" field.
func IntroducerUserIDIn ¶
IntroducerUserIDIn applies the In predicate on the "introducer_user_id" field.
func IntroducerUserIDIsNil ¶
IntroducerUserIDIsNil applies the IsNil predicate on the "introducer_user_id" field.
func IntroducerUserIDNEQ ¶
IntroducerUserIDNEQ applies the NEQ predicate on the "introducer_user_id" field.
func IntroducerUserIDNotIn ¶
IntroducerUserIDNotIn applies the NotIn predicate on the "introducer_user_id" field.
func IntroducerUserIDNotNil ¶
IntroducerUserIDNotNil applies the NotNil predicate on the "introducer_user_id" field.
func LangContains ¶
LangContains applies the Contains predicate on the "lang" field.
func LangContainsFold ¶
LangContainsFold applies the ContainsFold predicate on the "lang" field.
func LangEqualFold ¶
LangEqualFold applies the EqualFold predicate on the "lang" field.
func LangHasPrefix ¶
LangHasPrefix applies the HasPrefix predicate on the "lang" field.
func LangHasSuffix ¶
LangHasSuffix applies the HasSuffix predicate on the "lang" field.
func LastLoginAt ¶
LastLoginAt applies equality check predicate on the "last_login_at" field. It's identical to LastLoginAtEQ.
func LastLoginAtEQ ¶
LastLoginAtEQ applies the EQ predicate on the "last_login_at" field.
func LastLoginAtGT ¶
LastLoginAtGT applies the GT predicate on the "last_login_at" field.
func LastLoginAtGTE ¶
LastLoginAtGTE applies the GTE predicate on the "last_login_at" field.
func LastLoginAtIn ¶
LastLoginAtIn applies the In predicate on the "last_login_at" field.
func LastLoginAtIsNil ¶
LastLoginAtIsNil applies the IsNil predicate on the "last_login_at" field.
func LastLoginAtLT ¶
LastLoginAtLT applies the LT predicate on the "last_login_at" field.
func LastLoginAtLTE ¶
LastLoginAtLTE applies the LTE predicate on the "last_login_at" field.
func LastLoginAtNEQ ¶
LastLoginAtNEQ applies the NEQ predicate on the "last_login_at" field.
func LastLoginAtNotIn ¶
LastLoginAtNotIn applies the NotIn predicate on the "last_login_at" field.
func LastLoginAtNotNil ¶
LastLoginAtNotNil applies the NotNil predicate on the "last_login_at" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func NationalID ¶
NationalID applies equality check predicate on the "national_id" field. It's identical to NationalIDEQ.
func NationalIDContains ¶
NationalIDContains applies the Contains predicate on the "national_id" field.
func NationalIDContainsFold ¶
NationalIDContainsFold applies the ContainsFold predicate on the "national_id" field.
func NationalIDEQ ¶
NationalIDEQ applies the EQ predicate on the "national_id" field.
func NationalIDEqualFold ¶
NationalIDEqualFold applies the EqualFold predicate on the "national_id" field.
func NationalIDGT ¶
NationalIDGT applies the GT predicate on the "national_id" field.
func NationalIDGTE ¶
NationalIDGTE applies the GTE predicate on the "national_id" field.
func NationalIDHasPrefix ¶
NationalIDHasPrefix applies the HasPrefix predicate on the "national_id" field.
func NationalIDHasSuffix ¶
NationalIDHasSuffix applies the HasSuffix predicate on the "national_id" field.
func NationalIDIn ¶
NationalIDIn applies the In predicate on the "national_id" field.
func NationalIDIsNil ¶
NationalIDIsNil applies the IsNil predicate on the "national_id" field.
func NationalIDLT ¶
NationalIDLT applies the LT predicate on the "national_id" field.
func NationalIDLTE ¶
NationalIDLTE applies the LTE predicate on the "national_id" field.
func NationalIDNEQ ¶
NationalIDNEQ applies the NEQ predicate on the "national_id" field.
func NationalIDNotIn ¶
NationalIDNotIn applies the NotIn predicate on the "national_id" field.
func NationalIDNotNil ¶
NationalIDNotNil applies the NotNil predicate on the "national_id" field.
func NewLoginAt ¶
NewLoginAt applies equality check predicate on the "new_login_at" field. It's identical to NewLoginAtEQ.
func NewLoginAtEQ ¶
NewLoginAtEQ applies the EQ predicate on the "new_login_at" field.
func NewLoginAtGT ¶
NewLoginAtGT applies the GT predicate on the "new_login_at" field.
func NewLoginAtGTE ¶
NewLoginAtGTE applies the GTE predicate on the "new_login_at" field.
func NewLoginAtIn ¶
NewLoginAtIn applies the In predicate on the "new_login_at" field.
func NewLoginAtIsNil ¶
NewLoginAtIsNil applies the IsNil predicate on the "new_login_at" field.
func NewLoginAtLT ¶
NewLoginAtLT applies the LT predicate on the "new_login_at" field.
func NewLoginAtLTE ¶
NewLoginAtLTE applies the LTE predicate on the "new_login_at" field.
func NewLoginAtNEQ ¶
NewLoginAtNEQ applies the NEQ predicate on the "new_login_at" field.
func NewLoginAtNotIn ¶
NewLoginAtNotIn applies the NotIn predicate on the "new_login_at" field.
func NewLoginAtNotNil ¶
NewLoginAtNotNil applies the NotNil predicate on the "new_login_at" field.
func Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func Password2 ¶
Password2 applies equality check predicate on the "password2" field. It's identical to Password2EQ.
func Password2Contains ¶
Password2Contains applies the Contains predicate on the "password2" field.
func Password2ContainsFold ¶
Password2ContainsFold applies the ContainsFold predicate on the "password2" field.
func Password2EQ ¶
Password2EQ applies the EQ predicate on the "password2" field.
func Password2EqualFold ¶
Password2EqualFold applies the EqualFold predicate on the "password2" field.
func Password2GT ¶
Password2GT applies the GT predicate on the "password2" field.
func Password2GTE ¶
Password2GTE applies the GTE predicate on the "password2" field.
func Password2HasPrefix ¶
Password2HasPrefix applies the HasPrefix predicate on the "password2" field.
func Password2HasSuffix ¶
Password2HasSuffix applies the HasSuffix predicate on the "password2" field.
func Password2In ¶
Password2In applies the In predicate on the "password2" field.
func Password2LT ¶
Password2LT applies the LT predicate on the "password2" field.
func Password2LTE ¶
Password2LTE applies the LTE predicate on the "password2" field.
func Password2NEQ ¶
Password2NEQ applies the NEQ predicate on the "password2" field.
func Password2NotIn ¶
Password2NotIn applies the NotIn predicate on the "password2" field.
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 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 Unilevel ¶
Unilevel applies equality check predicate on the "unilevel" field. It's identical to UnilevelEQ.
func UnilevelEQ ¶
UnilevelEQ applies the EQ predicate on the "unilevel" field.
func UnilevelGT ¶
UnilevelGT applies the GT predicate on the "unilevel" field.
func UnilevelGTE ¶
UnilevelGTE applies the GTE predicate on the "unilevel" field.
func UnilevelIn ¶
UnilevelIn applies the In predicate on the "unilevel" field.
func UnilevelIsNil ¶
UnilevelIsNil applies the IsNil predicate on the "unilevel" field.
func UnilevelLT ¶
UnilevelLT applies the LT predicate on the "unilevel" field.
func UnilevelLTE ¶
UnilevelLTE applies the LTE predicate on the "unilevel" field.
func UnilevelNEQ ¶
UnilevelNEQ applies the NEQ predicate on the "unilevel" field.
func UnilevelNotIn ¶
UnilevelNotIn applies the NotIn predicate on the "unilevel" field.
func UnilevelNotNil ¶
UnilevelNotNil applies the NotNil predicate on the "unilevel" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_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 UsernameIsNil ¶
UsernameIsNil applies the IsNil 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 UsernameNotNil ¶
UsernameNotNil applies the NotNil predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.