Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MerchantAccount) predicate.MerchantAccount
- func CreatedAt(v time.Time) predicate.MerchantAccount
- func CreatedAtEQ(v time.Time) predicate.MerchantAccount
- func CreatedAtGT(v time.Time) predicate.MerchantAccount
- func CreatedAtGTE(v time.Time) predicate.MerchantAccount
- func CreatedAtIn(vs ...time.Time) predicate.MerchantAccount
- func CreatedAtLT(v time.Time) predicate.MerchantAccount
- func CreatedAtLTE(v time.Time) predicate.MerchantAccount
- func CreatedAtNEQ(v time.Time) predicate.MerchantAccount
- func CreatedAtNotIn(vs ...time.Time) predicate.MerchantAccount
- func DeletedAt(v time.Time) predicate.MerchantAccount
- func DeletedAtEQ(v time.Time) predicate.MerchantAccount
- func DeletedAtGT(v time.Time) predicate.MerchantAccount
- func DeletedAtGTE(v time.Time) predicate.MerchantAccount
- func DeletedAtIn(vs ...time.Time) predicate.MerchantAccount
- func DeletedAtIsNil() predicate.MerchantAccount
- func DeletedAtLT(v time.Time) predicate.MerchantAccount
- func DeletedAtLTE(v time.Time) predicate.MerchantAccount
- func DeletedAtNEQ(v time.Time) predicate.MerchantAccount
- func DeletedAtNotIn(vs ...time.Time) predicate.MerchantAccount
- func DeletedAtNotNil() predicate.MerchantAccount
- func Email(v string) predicate.MerchantAccount
- func EmailContains(v string) predicate.MerchantAccount
- func EmailContainsFold(v string) predicate.MerchantAccount
- func EmailEQ(v string) predicate.MerchantAccount
- func EmailEqualFold(v string) predicate.MerchantAccount
- func EmailGT(v string) predicate.MerchantAccount
- func EmailGTE(v string) predicate.MerchantAccount
- func EmailHasPrefix(v string) predicate.MerchantAccount
- func EmailHasSuffix(v string) predicate.MerchantAccount
- func EmailIn(vs ...string) predicate.MerchantAccount
- func EmailIsNil() predicate.MerchantAccount
- func EmailLT(v string) predicate.MerchantAccount
- func EmailLTE(v string) predicate.MerchantAccount
- func EmailNEQ(v string) predicate.MerchantAccount
- func EmailNotIn(vs ...string) predicate.MerchantAccount
- func EmailNotNil() predicate.MerchantAccount
- func ID(id uint64) predicate.MerchantAccount
- func IDEQ(id uint64) predicate.MerchantAccount
- func IDGT(id uint64) predicate.MerchantAccount
- func IDGTE(id uint64) predicate.MerchantAccount
- func IDIn(ids ...uint64) predicate.MerchantAccount
- func IDLT(id uint64) predicate.MerchantAccount
- func IDLTE(id uint64) predicate.MerchantAccount
- func IDNEQ(id uint64) predicate.MerchantAccount
- func IDNotIn(ids ...uint64) predicate.MerchantAccount
- func IsMainAccount(v bool) predicate.MerchantAccount
- func IsMainAccountEQ(v bool) predicate.MerchantAccount
- func IsMainAccountNEQ(v bool) predicate.MerchantAccount
- func Not(p predicate.MerchantAccount) predicate.MerchantAccount
- func Or(predicates ...predicate.MerchantAccount) predicate.MerchantAccount
- func Password(v string) predicate.MerchantAccount
- func PasswordContains(v string) predicate.MerchantAccount
- func PasswordContainsFold(v string) predicate.MerchantAccount
- func PasswordEQ(v string) predicate.MerchantAccount
- func PasswordEqualFold(v string) predicate.MerchantAccount
- func PasswordGT(v string) predicate.MerchantAccount
- func PasswordGTE(v string) predicate.MerchantAccount
- func PasswordHasPrefix(v string) predicate.MerchantAccount
- func PasswordHasSuffix(v string) predicate.MerchantAccount
- func PasswordIn(vs ...string) predicate.MerchantAccount
- func PasswordLT(v string) predicate.MerchantAccount
- func PasswordLTE(v string) predicate.MerchantAccount
- func PasswordNEQ(v string) predicate.MerchantAccount
- func PasswordNotIn(vs ...string) predicate.MerchantAccount
- func Phone(v string) predicate.MerchantAccount
- func PhoneContains(v string) predicate.MerchantAccount
- func PhoneContainsFold(v string) predicate.MerchantAccount
- func PhoneEQ(v string) predicate.MerchantAccount
- func PhoneEqualFold(v string) predicate.MerchantAccount
- func PhoneGT(v string) predicate.MerchantAccount
- func PhoneGTE(v string) predicate.MerchantAccount
- func PhoneHasPrefix(v string) predicate.MerchantAccount
- func PhoneHasSuffix(v string) predicate.MerchantAccount
- func PhoneIn(vs ...string) predicate.MerchantAccount
- func PhoneIsNil() predicate.MerchantAccount
- func PhoneLT(v string) predicate.MerchantAccount
- func PhoneLTE(v string) predicate.MerchantAccount
- func PhoneNEQ(v string) predicate.MerchantAccount
- func PhoneNotIn(vs ...string) predicate.MerchantAccount
- func PhoneNotNil() predicate.MerchantAccount
- func UpdatedAt(v time.Time) predicate.MerchantAccount
- func UpdatedAtEQ(v time.Time) predicate.MerchantAccount
- func UpdatedAtGT(v time.Time) predicate.MerchantAccount
- func UpdatedAtGTE(v time.Time) predicate.MerchantAccount
- func UpdatedAtIn(vs ...time.Time) predicate.MerchantAccount
- func UpdatedAtLT(v time.Time) predicate.MerchantAccount
- func UpdatedAtLTE(v time.Time) predicate.MerchantAccount
- func UpdatedAtNEQ(v time.Time) predicate.MerchantAccount
- func UpdatedAtNotIn(vs ...time.Time) predicate.MerchantAccount
- func Username(v string) predicate.MerchantAccount
- func UsernameContains(v string) predicate.MerchantAccount
- func UsernameContainsFold(v string) predicate.MerchantAccount
- func UsernameEQ(v string) predicate.MerchantAccount
- func UsernameEqualFold(v string) predicate.MerchantAccount
- func UsernameGT(v string) predicate.MerchantAccount
- func UsernameGTE(v string) predicate.MerchantAccount
- func UsernameHasPrefix(v string) predicate.MerchantAccount
- func UsernameHasSuffix(v string) predicate.MerchantAccount
- func UsernameIn(vs ...string) predicate.MerchantAccount
- func UsernameLT(v string) predicate.MerchantAccount
- func UsernameLTE(v string) predicate.MerchantAccount
- func UsernameNEQ(v string) predicate.MerchantAccount
- func UsernameNotIn(vs ...string) predicate.MerchantAccount
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsMainAccount(opts ...sql.OrderTermOption) OrderOption
- func ByPassword(opts ...sql.OrderTermOption) OrderOption
- func ByPhone(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 merchantaccount type in the database. Label = "merchant_account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldPassword holds the string denoting the password field in the database. FieldPassword = "password" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldIsMainAccount holds the string denoting the is_main_account field in the database. FieldIsMainAccount = "is_main_account" // Table holds the table name of the merchantaccount in the database. Table = "merchant_accounts" )
Variables ¶
var ( // 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 // DefaultEmail holds the default value on creation for the "email" field. DefaultEmail string // DefaultPhone holds the default value on creation for the "phone" field. DefaultPhone string // DefaultIsMainAccount holds the default value on creation for the "is_main_account" field. DefaultIsMainAccount bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uint64 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldUsername, FieldPassword, FieldEmail, FieldPhone, FieldIsMainAccount, }
Columns holds all SQL columns for merchantaccount fields.
var ForeignKeys = []string{
"merchant_accounts",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "merchant_accounts" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.MerchantAccount) predicate.MerchantAccount
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.MerchantAccount
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.MerchantAccount
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.MerchantAccount
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.MerchantAccount
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.MerchantAccount
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.MerchantAccount
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.MerchantAccount
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.MerchantAccount
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.MerchantAccount
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.MerchantAccount
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.MerchantAccount
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.MerchantAccount
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.MerchantAccount
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.MerchantAccount
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.MerchantAccount
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.MerchantAccount
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.MerchantAccount
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.MerchantAccount
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.MerchantAccount
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.MerchantAccount
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Email ¶
func Email(v string) predicate.MerchantAccount
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.MerchantAccount
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.MerchantAccount
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.MerchantAccount
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.MerchantAccount
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.MerchantAccount
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.MerchantAccount
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.MerchantAccount
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.MerchantAccount
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.MerchantAccount
EmailIn applies the In predicate on the "email" field.
func EmailIsNil ¶
func EmailIsNil() predicate.MerchantAccount
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.MerchantAccount
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.MerchantAccount
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.MerchantAccount
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.MerchantAccount
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
func EmailNotNil() predicate.MerchantAccount
EmailNotNil applies the NotNil predicate on the "email" field.
func IDEQ ¶
func IDEQ(id uint64) predicate.MerchantAccount
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.MerchantAccount
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.MerchantAccount
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.MerchantAccount
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.MerchantAccount
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.MerchantAccount
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.MerchantAccount
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.MerchantAccount
IDNotIn applies the NotIn predicate on the ID field.
func IsMainAccount ¶
func IsMainAccount(v bool) predicate.MerchantAccount
IsMainAccount applies equality check predicate on the "is_main_account" field. It's identical to IsMainAccountEQ.
func IsMainAccountEQ ¶
func IsMainAccountEQ(v bool) predicate.MerchantAccount
IsMainAccountEQ applies the EQ predicate on the "is_main_account" field.
func IsMainAccountNEQ ¶
func IsMainAccountNEQ(v bool) predicate.MerchantAccount
IsMainAccountNEQ applies the NEQ predicate on the "is_main_account" field.
func Not ¶
func Not(p predicate.MerchantAccount) predicate.MerchantAccount
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MerchantAccount) predicate.MerchantAccount
Or groups predicates with the OR operator between them.
func Password ¶
func Password(v string) predicate.MerchantAccount
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
func PasswordContains(v string) predicate.MerchantAccount
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
func PasswordContainsFold(v string) predicate.MerchantAccount
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
func PasswordEQ(v string) predicate.MerchantAccount
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
func PasswordEqualFold(v string) predicate.MerchantAccount
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
func PasswordGT(v string) predicate.MerchantAccount
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
func PasswordGTE(v string) predicate.MerchantAccount
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
func PasswordHasPrefix(v string) predicate.MerchantAccount
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
func PasswordHasSuffix(v string) predicate.MerchantAccount
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
func PasswordIn(vs ...string) predicate.MerchantAccount
PasswordIn applies the In predicate on the "password" field.
func PasswordLT ¶
func PasswordLT(v string) predicate.MerchantAccount
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
func PasswordLTE(v string) predicate.MerchantAccount
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
func PasswordNEQ(v string) predicate.MerchantAccount
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
func PasswordNotIn(vs ...string) predicate.MerchantAccount
PasswordNotIn applies the NotIn predicate on the "password" field.
func Phone ¶
func Phone(v string) predicate.MerchantAccount
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
func PhoneContains(v string) predicate.MerchantAccount
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
func PhoneContainsFold(v string) predicate.MerchantAccount
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEQ ¶
func PhoneEQ(v string) predicate.MerchantAccount
PhoneEQ applies the EQ predicate on the "phone" field.
func PhoneEqualFold ¶
func PhoneEqualFold(v string) predicate.MerchantAccount
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneGT ¶
func PhoneGT(v string) predicate.MerchantAccount
PhoneGT applies the GT predicate on the "phone" field.
func PhoneGTE ¶
func PhoneGTE(v string) predicate.MerchantAccount
PhoneGTE applies the GTE predicate on the "phone" field.
func PhoneHasPrefix ¶
func PhoneHasPrefix(v string) predicate.MerchantAccount
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
func PhoneHasSuffix(v string) predicate.MerchantAccount
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneIn ¶
func PhoneIn(vs ...string) predicate.MerchantAccount
PhoneIn applies the In predicate on the "phone" field.
func PhoneIsNil ¶
func PhoneIsNil() predicate.MerchantAccount
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneLT ¶
func PhoneLT(v string) predicate.MerchantAccount
PhoneLT applies the LT predicate on the "phone" field.
func PhoneLTE ¶
func PhoneLTE(v string) predicate.MerchantAccount
PhoneLTE applies the LTE predicate on the "phone" field.
func PhoneNEQ ¶
func PhoneNEQ(v string) predicate.MerchantAccount
PhoneNEQ applies the NEQ predicate on the "phone" field.
func PhoneNotIn ¶
func PhoneNotIn(vs ...string) predicate.MerchantAccount
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
func PhoneNotNil() predicate.MerchantAccount
PhoneNotNil applies the NotNil predicate on the "phone" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.MerchantAccount
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.MerchantAccount
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.MerchantAccount
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.MerchantAccount
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.MerchantAccount
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.MerchantAccount
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.MerchantAccount
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.MerchantAccount
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.MerchantAccount
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func Username ¶
func Username(v string) predicate.MerchantAccount
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
func UsernameContains(v string) predicate.MerchantAccount
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
func UsernameContainsFold(v string) predicate.MerchantAccount
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
func UsernameEQ(v string) predicate.MerchantAccount
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
func UsernameEqualFold(v string) predicate.MerchantAccount
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
func UsernameGT(v string) predicate.MerchantAccount
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
func UsernameGTE(v string) predicate.MerchantAccount
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
func UsernameHasPrefix(v string) predicate.MerchantAccount
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
func UsernameHasSuffix(v string) predicate.MerchantAccount
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
func UsernameIn(vs ...string) predicate.MerchantAccount
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
func UsernameLT(v string) predicate.MerchantAccount
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
func UsernameLTE(v string) predicate.MerchantAccount
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
func UsernameNEQ(v string) predicate.MerchantAccount
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
func UsernameNotIn(vs ...string) predicate.MerchantAccount
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the MerchantAccount queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at 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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsMainAccount ¶
func ByIsMainAccount(opts ...sql.OrderTermOption) OrderOption
ByIsMainAccount orders the results by the is_main_account field.
func ByPassword ¶
func ByPassword(opts ...sql.OrderTermOption) OrderOption
ByPassword orders the results by the password field.
func ByPhone ¶
func ByPhone(opts ...sql.OrderTermOption) OrderOption
ByPhone orders the results by the phone 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.