Documentation
¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Merchant
- func AddressContains(v string) predicate.Merchant
- func AddressContainsFold(v string) predicate.Merchant
- func AddressEQ(v string) predicate.Merchant
- func AddressEqualFold(v string) predicate.Merchant
- func AddressGT(v string) predicate.Merchant
- func AddressGTE(v string) predicate.Merchant
- func AddressHasPrefix(v string) predicate.Merchant
- func AddressHasSuffix(v string) predicate.Merchant
- func AddressIn(vs ...string) predicate.Merchant
- func AddressIsNil() predicate.Merchant
- func AddressLT(v string) predicate.Merchant
- func AddressLTE(v string) predicate.Merchant
- func AddressNEQ(v string) predicate.Merchant
- func AddressNotIn(vs ...string) predicate.Merchant
- func AddressNotNil() predicate.Merchant
- func And(predicates ...predicate.Merchant) predicate.Merchant
- func City(v string) predicate.Merchant
- func CityContains(v string) predicate.Merchant
- func CityContainsFold(v string) predicate.Merchant
- func CityEQ(v string) predicate.Merchant
- func CityEqualFold(v string) predicate.Merchant
- func CityGT(v string) predicate.Merchant
- func CityGTE(v string) predicate.Merchant
- func CityHasPrefix(v string) predicate.Merchant
- func CityHasSuffix(v string) predicate.Merchant
- func CityIn(vs ...string) predicate.Merchant
- func CityIsNil() predicate.Merchant
- func CityLT(v string) predicate.Merchant
- func CityLTE(v string) predicate.Merchant
- func CityNEQ(v string) predicate.Merchant
- func CityNotIn(vs ...string) predicate.Merchant
- func CityNotNil() predicate.Merchant
- func ContactPerson(v string) predicate.Merchant
- func ContactPersonContains(v string) predicate.Merchant
- func ContactPersonContainsFold(v string) predicate.Merchant
- func ContactPersonEQ(v string) predicate.Merchant
- func ContactPersonEqualFold(v string) predicate.Merchant
- func ContactPersonGT(v string) predicate.Merchant
- func ContactPersonGTE(v string) predicate.Merchant
- func ContactPersonHasPrefix(v string) predicate.Merchant
- func ContactPersonHasSuffix(v string) predicate.Merchant
- func ContactPersonIn(vs ...string) predicate.Merchant
- func ContactPersonIsNil() predicate.Merchant
- func ContactPersonLT(v string) predicate.Merchant
- func ContactPersonLTE(v string) predicate.Merchant
- func ContactPersonNEQ(v string) predicate.Merchant
- func ContactPersonNotIn(vs ...string) predicate.Merchant
- func ContactPersonNotNil() predicate.Merchant
- func ContactPhone(v string) predicate.Merchant
- func ContactPhoneContains(v string) predicate.Merchant
- func ContactPhoneContainsFold(v string) predicate.Merchant
- func ContactPhoneEQ(v string) predicate.Merchant
- func ContactPhoneEqualFold(v string) predicate.Merchant
- func ContactPhoneGT(v string) predicate.Merchant
- func ContactPhoneGTE(v string) predicate.Merchant
- func ContactPhoneHasPrefix(v string) predicate.Merchant
- func ContactPhoneHasSuffix(v string) predicate.Merchant
- func ContactPhoneIn(vs ...string) predicate.Merchant
- func ContactPhoneIsNil() predicate.Merchant
- func ContactPhoneLT(v string) predicate.Merchant
- func ContactPhoneLTE(v string) predicate.Merchant
- func ContactPhoneNEQ(v string) predicate.Merchant
- func ContactPhoneNotIn(vs ...string) predicate.Merchant
- func ContactPhoneNotNil() predicate.Merchant
- func Country(v string) predicate.Merchant
- func CountryContains(v string) predicate.Merchant
- func CountryContainsFold(v string) predicate.Merchant
- func CountryEQ(v string) predicate.Merchant
- func CountryEqualFold(v string) predicate.Merchant
- func CountryGT(v string) predicate.Merchant
- func CountryGTE(v string) predicate.Merchant
- func CountryHasPrefix(v string) predicate.Merchant
- func CountryHasSuffix(v string) predicate.Merchant
- func CountryIn(vs ...string) predicate.Merchant
- func CountryIsNil() predicate.Merchant
- func CountryLT(v string) predicate.Merchant
- func CountryLTE(v string) predicate.Merchant
- func CountryNEQ(v string) predicate.Merchant
- func CountryNotIn(vs ...string) predicate.Merchant
- func CountryNotNil() predicate.Merchant
- func CreatedAt(v time.Time) predicate.Merchant
- func CreatedAtEQ(v time.Time) predicate.Merchant
- func CreatedAtGT(v time.Time) predicate.Merchant
- func CreatedAtGTE(v time.Time) predicate.Merchant
- func CreatedAtIn(vs ...time.Time) predicate.Merchant
- func CreatedAtLT(v time.Time) predicate.Merchant
- func CreatedAtLTE(v time.Time) predicate.Merchant
- func CreatedAtNEQ(v time.Time) predicate.Merchant
- func CreatedAtNotIn(vs ...time.Time) predicate.Merchant
- func DeletedAt(v time.Time) predicate.Merchant
- func DeletedAtEQ(v time.Time) predicate.Merchant
- func DeletedAtGT(v time.Time) predicate.Merchant
- func DeletedAtGTE(v time.Time) predicate.Merchant
- func DeletedAtIn(vs ...time.Time) predicate.Merchant
- func DeletedAtIsNil() predicate.Merchant
- func DeletedAtLT(v time.Time) predicate.Merchant
- func DeletedAtLTE(v time.Time) predicate.Merchant
- func DeletedAtNEQ(v time.Time) predicate.Merchant
- func DeletedAtNotIn(vs ...time.Time) predicate.Merchant
- func DeletedAtNotNil() predicate.Merchant
- func District(v string) predicate.Merchant
- func DistrictContains(v string) predicate.Merchant
- func DistrictContainsFold(v string) predicate.Merchant
- func DistrictEQ(v string) predicate.Merchant
- func DistrictEqualFold(v string) predicate.Merchant
- func DistrictGT(v string) predicate.Merchant
- func DistrictGTE(v string) predicate.Merchant
- func DistrictHasPrefix(v string) predicate.Merchant
- func DistrictHasSuffix(v string) predicate.Merchant
- func DistrictIn(vs ...string) predicate.Merchant
- func DistrictIsNil() predicate.Merchant
- func DistrictLT(v string) predicate.Merchant
- func DistrictLTE(v string) predicate.Merchant
- func DistrictNEQ(v string) predicate.Merchant
- func DistrictNotIn(vs ...string) predicate.Merchant
- func DistrictNotNil() predicate.Merchant
- func HasAccounts() predicate.Merchant
- func HasAccountsWith(preds ...predicate.MerchantAccount) predicate.Merchant
- func ID(id uint64) predicate.Merchant
- func IDEQ(id uint64) predicate.Merchant
- func IDGT(id uint64) predicate.Merchant
- func IDGTE(id uint64) predicate.Merchant
- func IDIn(ids ...uint64) predicate.Merchant
- func IDLT(id uint64) predicate.Merchant
- func IDLTE(id uint64) predicate.Merchant
- func IDNEQ(id uint64) predicate.Merchant
- func IDNotIn(ids ...uint64) predicate.Merchant
- func MerchantName(v string) predicate.Merchant
- func MerchantNameContains(v string) predicate.Merchant
- func MerchantNameContainsFold(v string) predicate.Merchant
- func MerchantNameEQ(v string) predicate.Merchant
- func MerchantNameEqualFold(v string) predicate.Merchant
- func MerchantNameGT(v string) predicate.Merchant
- func MerchantNameGTE(v string) predicate.Merchant
- func MerchantNameHasPrefix(v string) predicate.Merchant
- func MerchantNameHasSuffix(v string) predicate.Merchant
- func MerchantNameIn(vs ...string) predicate.Merchant
- func MerchantNameLT(v string) predicate.Merchant
- func MerchantNameLTE(v string) predicate.Merchant
- func MerchantNameNEQ(v string) predicate.Merchant
- func MerchantNameNotIn(vs ...string) predicate.Merchant
- func Not(p predicate.Merchant) predicate.Merchant
- func Or(predicates ...predicate.Merchant) predicate.Merchant
- func Province(v string) predicate.Merchant
- func ProvinceContains(v string) predicate.Merchant
- func ProvinceContainsFold(v string) predicate.Merchant
- func ProvinceEQ(v string) predicate.Merchant
- func ProvinceEqualFold(v string) predicate.Merchant
- func ProvinceGT(v string) predicate.Merchant
- func ProvinceGTE(v string) predicate.Merchant
- func ProvinceHasPrefix(v string) predicate.Merchant
- func ProvinceHasSuffix(v string) predicate.Merchant
- func ProvinceIn(vs ...string) predicate.Merchant
- func ProvinceIsNil() predicate.Merchant
- func ProvinceLT(v string) predicate.Merchant
- func ProvinceLTE(v string) predicate.Merchant
- func ProvinceNEQ(v string) predicate.Merchant
- func ProvinceNotIn(vs ...string) predicate.Merchant
- func ProvinceNotNil() predicate.Merchant
- func UpdatedAt(v time.Time) predicate.Merchant
- func UpdatedAtEQ(v time.Time) predicate.Merchant
- func UpdatedAtGT(v time.Time) predicate.Merchant
- func UpdatedAtGTE(v time.Time) predicate.Merchant
- func UpdatedAtIn(vs ...time.Time) predicate.Merchant
- func UpdatedAtLT(v time.Time) predicate.Merchant
- func UpdatedAtLTE(v time.Time) predicate.Merchant
- func UpdatedAtNEQ(v time.Time) predicate.Merchant
- func UpdatedAtNotIn(vs ...time.Time) predicate.Merchant
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccounts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAccountsCount(opts ...sql.OrderTermOption) OrderOption
- func ByAddress(opts ...sql.OrderTermOption) OrderOption
- func ByCity(opts ...sql.OrderTermOption) OrderOption
- func ByContactPerson(opts ...sql.OrderTermOption) OrderOption
- func ByContactPhone(opts ...sql.OrderTermOption) OrderOption
- func ByCountry(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDistrict(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMerchantName(opts ...sql.OrderTermOption) OrderOption
- func ByProvince(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the merchant type in the database. Label = "merchant" // 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" // FieldMerchantName holds the string denoting the merchant_name field in the database. FieldMerchantName = "merchant_name" // FieldContactPerson holds the string denoting the contact_person field in the database. FieldContactPerson = "contact_person" // FieldContactPhone holds the string denoting the contact_phone field in the database. FieldContactPhone = "contact_phone" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldProvince holds the string denoting the province field in the database. FieldProvince = "province" // FieldCity holds the string denoting the city field in the database. FieldCity = "city" // FieldDistrict holds the string denoting the district field in the database. FieldDistrict = "district" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // EdgeAccounts holds the string denoting the accounts edge name in mutations. EdgeAccounts = "accounts" // Table holds the table name of the merchant in the database. Table = "merchants" // AccountsTable is the table that holds the accounts relation/edge. AccountsTable = "merchant_accounts" // AccountsInverseTable is the table name for the MerchantAccount entity. // It exists in this package in order to avoid circular dependency with the "merchantaccount" package. AccountsInverseTable = "merchant_accounts" // AccountsColumn is the table column denoting the accounts relation/edge. AccountsColumn = "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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uint64 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldMerchantName, FieldContactPerson, FieldContactPhone, FieldCountry, FieldProvince, FieldCity, FieldDistrict, FieldAddress, }
Columns holds all SQL columns for merchant fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIsNil ¶
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
AddressNotNil applies the NotNil predicate on the "address" field.
func CityContains ¶
CityContains applies the Contains predicate on the "city" field.
func CityContainsFold ¶
CityContainsFold applies the ContainsFold predicate on the "city" field.
func CityEqualFold ¶
CityEqualFold applies the EqualFold predicate on the "city" field.
func CityHasPrefix ¶
CityHasPrefix applies the HasPrefix predicate on the "city" field.
func CityHasSuffix ¶
CityHasSuffix applies the HasSuffix predicate on the "city" field.
func CityNotNil ¶
CityNotNil applies the NotNil predicate on the "city" field.
func ContactPerson ¶
ContactPerson applies equality check predicate on the "contact_person" field. It's identical to ContactPersonEQ.
func ContactPersonContains ¶
ContactPersonContains applies the Contains predicate on the "contact_person" field.
func ContactPersonContainsFold ¶
ContactPersonContainsFold applies the ContainsFold predicate on the "contact_person" field.
func ContactPersonEQ ¶
ContactPersonEQ applies the EQ predicate on the "contact_person" field.
func ContactPersonEqualFold ¶
ContactPersonEqualFold applies the EqualFold predicate on the "contact_person" field.
func ContactPersonGT ¶
ContactPersonGT applies the GT predicate on the "contact_person" field.
func ContactPersonGTE ¶
ContactPersonGTE applies the GTE predicate on the "contact_person" field.
func ContactPersonHasPrefix ¶
ContactPersonHasPrefix applies the HasPrefix predicate on the "contact_person" field.
func ContactPersonHasSuffix ¶
ContactPersonHasSuffix applies the HasSuffix predicate on the "contact_person" field.
func ContactPersonIn ¶
ContactPersonIn applies the In predicate on the "contact_person" field.
func ContactPersonIsNil ¶
ContactPersonIsNil applies the IsNil predicate on the "contact_person" field.
func ContactPersonLT ¶
ContactPersonLT applies the LT predicate on the "contact_person" field.
func ContactPersonLTE ¶
ContactPersonLTE applies the LTE predicate on the "contact_person" field.
func ContactPersonNEQ ¶
ContactPersonNEQ applies the NEQ predicate on the "contact_person" field.
func ContactPersonNotIn ¶
ContactPersonNotIn applies the NotIn predicate on the "contact_person" field.
func ContactPersonNotNil ¶
ContactPersonNotNil applies the NotNil predicate on the "contact_person" field.
func ContactPhone ¶
ContactPhone applies equality check predicate on the "contact_phone" field. It's identical to ContactPhoneEQ.
func ContactPhoneContains ¶
ContactPhoneContains applies the Contains predicate on the "contact_phone" field.
func ContactPhoneContainsFold ¶
ContactPhoneContainsFold applies the ContainsFold predicate on the "contact_phone" field.
func ContactPhoneEQ ¶
ContactPhoneEQ applies the EQ predicate on the "contact_phone" field.
func ContactPhoneEqualFold ¶
ContactPhoneEqualFold applies the EqualFold predicate on the "contact_phone" field.
func ContactPhoneGT ¶
ContactPhoneGT applies the GT predicate on the "contact_phone" field.
func ContactPhoneGTE ¶
ContactPhoneGTE applies the GTE predicate on the "contact_phone" field.
func ContactPhoneHasPrefix ¶
ContactPhoneHasPrefix applies the HasPrefix predicate on the "contact_phone" field.
func ContactPhoneHasSuffix ¶
ContactPhoneHasSuffix applies the HasSuffix predicate on the "contact_phone" field.
func ContactPhoneIn ¶
ContactPhoneIn applies the In predicate on the "contact_phone" field.
func ContactPhoneIsNil ¶
ContactPhoneIsNil applies the IsNil predicate on the "contact_phone" field.
func ContactPhoneLT ¶
ContactPhoneLT applies the LT predicate on the "contact_phone" field.
func ContactPhoneLTE ¶
ContactPhoneLTE applies the LTE predicate on the "contact_phone" field.
func ContactPhoneNEQ ¶
ContactPhoneNEQ applies the NEQ predicate on the "contact_phone" field.
func ContactPhoneNotIn ¶
ContactPhoneNotIn applies the NotIn predicate on the "contact_phone" field.
func ContactPhoneNotNil ¶
ContactPhoneNotNil applies the NotNil predicate on the "contact_phone" field.
func Country ¶
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEqualFold ¶
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGTE ¶
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIsNil ¶
CountryIsNil applies the IsNil predicate on the "country" field.
func CountryLTE ¶
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
CountryNotIn applies the NotIn predicate on the "country" field.
func CountryNotNil ¶
CountryNotNil applies the NotNil predicate on the "country" 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 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 District ¶
District applies equality check predicate on the "district" field. It's identical to DistrictEQ.
func DistrictContains ¶
DistrictContains applies the Contains predicate on the "district" field.
func DistrictContainsFold ¶
DistrictContainsFold applies the ContainsFold predicate on the "district" field.
func DistrictEQ ¶
DistrictEQ applies the EQ predicate on the "district" field.
func DistrictEqualFold ¶
DistrictEqualFold applies the EqualFold predicate on the "district" field.
func DistrictGT ¶
DistrictGT applies the GT predicate on the "district" field.
func DistrictGTE ¶
DistrictGTE applies the GTE predicate on the "district" field.
func DistrictHasPrefix ¶
DistrictHasPrefix applies the HasPrefix predicate on the "district" field.
func DistrictHasSuffix ¶
DistrictHasSuffix applies the HasSuffix predicate on the "district" field.
func DistrictIn ¶
DistrictIn applies the In predicate on the "district" field.
func DistrictIsNil ¶
DistrictIsNil applies the IsNil predicate on the "district" field.
func DistrictLT ¶
DistrictLT applies the LT predicate on the "district" field.
func DistrictLTE ¶
DistrictLTE applies the LTE predicate on the "district" field.
func DistrictNEQ ¶
DistrictNEQ applies the NEQ predicate on the "district" field.
func DistrictNotIn ¶
DistrictNotIn applies the NotIn predicate on the "district" field.
func DistrictNotNil ¶
DistrictNotNil applies the NotNil predicate on the "district" field.
func HasAccounts ¶
HasAccounts applies the HasEdge predicate on the "accounts" edge.
func HasAccountsWith ¶
func HasAccountsWith(preds ...predicate.MerchantAccount) predicate.Merchant
HasAccountsWith applies the HasEdge predicate on the "accounts" edge with a given conditions (other predicates).
func MerchantName ¶
MerchantName applies equality check predicate on the "merchant_name" field. It's identical to MerchantNameEQ.
func MerchantNameContains ¶
MerchantNameContains applies the Contains predicate on the "merchant_name" field.
func MerchantNameContainsFold ¶
MerchantNameContainsFold applies the ContainsFold predicate on the "merchant_name" field.
func MerchantNameEQ ¶
MerchantNameEQ applies the EQ predicate on the "merchant_name" field.
func MerchantNameEqualFold ¶
MerchantNameEqualFold applies the EqualFold predicate on the "merchant_name" field.
func MerchantNameGT ¶
MerchantNameGT applies the GT predicate on the "merchant_name" field.
func MerchantNameGTE ¶
MerchantNameGTE applies the GTE predicate on the "merchant_name" field.
func MerchantNameHasPrefix ¶
MerchantNameHasPrefix applies the HasPrefix predicate on the "merchant_name" field.
func MerchantNameHasSuffix ¶
MerchantNameHasSuffix applies the HasSuffix predicate on the "merchant_name" field.
func MerchantNameIn ¶
MerchantNameIn applies the In predicate on the "merchant_name" field.
func MerchantNameLT ¶
MerchantNameLT applies the LT predicate on the "merchant_name" field.
func MerchantNameLTE ¶
MerchantNameLTE applies the LTE predicate on the "merchant_name" field.
func MerchantNameNEQ ¶
MerchantNameNEQ applies the NEQ predicate on the "merchant_name" field.
func MerchantNameNotIn ¶
MerchantNameNotIn applies the NotIn predicate on the "merchant_name" field.
func Province ¶
Province applies equality check predicate on the "province" field. It's identical to ProvinceEQ.
func ProvinceContains ¶
ProvinceContains applies the Contains predicate on the "province" field.
func ProvinceContainsFold ¶
ProvinceContainsFold applies the ContainsFold predicate on the "province" field.
func ProvinceEQ ¶
ProvinceEQ applies the EQ predicate on the "province" field.
func ProvinceEqualFold ¶
ProvinceEqualFold applies the EqualFold predicate on the "province" field.
func ProvinceGT ¶
ProvinceGT applies the GT predicate on the "province" field.
func ProvinceGTE ¶
ProvinceGTE applies the GTE predicate on the "province" field.
func ProvinceHasPrefix ¶
ProvinceHasPrefix applies the HasPrefix predicate on the "province" field.
func ProvinceHasSuffix ¶
ProvinceHasSuffix applies the HasSuffix predicate on the "province" field.
func ProvinceIn ¶
ProvinceIn applies the In predicate on the "province" field.
func ProvinceIsNil ¶
ProvinceIsNil applies the IsNil predicate on the "province" field.
func ProvinceLT ¶
ProvinceLT applies the LT predicate on the "province" field.
func ProvinceLTE ¶
ProvinceLTE applies the LTE predicate on the "province" field.
func ProvinceNEQ ¶
ProvinceNEQ applies the NEQ predicate on the "province" field.
func ProvinceNotIn ¶
ProvinceNotIn applies the NotIn predicate on the "province" field.
func ProvinceNotNil ¶
ProvinceNotNil applies the NotNil predicate on the "province" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Merchant queries.
func ByAccounts ¶
func ByAccounts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAccounts orders the results by accounts terms.
func ByAccountsCount ¶
func ByAccountsCount(opts ...sql.OrderTermOption) OrderOption
ByAccountsCount orders the results by accounts count.
func ByAddress ¶
func ByAddress(opts ...sql.OrderTermOption) OrderOption
ByAddress orders the results by the address field.
func ByCity ¶
func ByCity(opts ...sql.OrderTermOption) OrderOption
ByCity orders the results by the city field.
func ByContactPerson ¶
func ByContactPerson(opts ...sql.OrderTermOption) OrderOption
ByContactPerson orders the results by the contact_person field.
func ByContactPhone ¶
func ByContactPhone(opts ...sql.OrderTermOption) OrderOption
ByContactPhone orders the results by the contact_phone field.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
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 ByDistrict ¶
func ByDistrict(opts ...sql.OrderTermOption) OrderOption
ByDistrict orders the results by the district field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMerchantName ¶
func ByMerchantName(opts ...sql.OrderTermOption) OrderOption
ByMerchantName orders the results by the merchant_name field.
func ByProvince ¶
func ByProvince(opts ...sql.OrderTermOption) OrderOption
ByProvince orders the results by the province field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.