merchant

package
v0.0.0-...-116c032 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for merchant fields.

Functions

func Address

func Address(v string) predicate.Merchant

Address applies equality check predicate on the "address" field. It's identical to AddressEQ.

func AddressContains

func AddressContains(v string) predicate.Merchant

AddressContains applies the Contains predicate on the "address" field.

func AddressContainsFold

func AddressContainsFold(v string) predicate.Merchant

AddressContainsFold applies the ContainsFold predicate on the "address" field.

func AddressEQ

func AddressEQ(v string) predicate.Merchant

AddressEQ applies the EQ predicate on the "address" field.

func AddressEqualFold

func AddressEqualFold(v string) predicate.Merchant

AddressEqualFold applies the EqualFold predicate on the "address" field.

func AddressGT

func AddressGT(v string) predicate.Merchant

AddressGT applies the GT predicate on the "address" field.

func AddressGTE

func AddressGTE(v string) predicate.Merchant

AddressGTE applies the GTE predicate on the "address" field.

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.Merchant

AddressHasPrefix applies the HasPrefix predicate on the "address" field.

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.Merchant

AddressHasSuffix applies the HasSuffix predicate on the "address" field.

func AddressIn

func AddressIn(vs ...string) predicate.Merchant

AddressIn applies the In predicate on the "address" field.

func AddressIsNil

func AddressIsNil() predicate.Merchant

AddressIsNil applies the IsNil predicate on the "address" field.

func AddressLT

func AddressLT(v string) predicate.Merchant

AddressLT applies the LT predicate on the "address" field.

func AddressLTE

func AddressLTE(v string) predicate.Merchant

AddressLTE applies the LTE predicate on the "address" field.

func AddressNEQ

func AddressNEQ(v string) predicate.Merchant

AddressNEQ applies the NEQ predicate on the "address" field.

func AddressNotIn

func AddressNotIn(vs ...string) predicate.Merchant

AddressNotIn applies the NotIn predicate on the "address" field.

func AddressNotNil

func AddressNotNil() predicate.Merchant

AddressNotNil applies the NotNil predicate on the "address" field.

func And

func And(predicates ...predicate.Merchant) predicate.Merchant

And groups predicates with the AND operator between them.

func City

func City(v string) predicate.Merchant

City applies equality check predicate on the "city" field. It's identical to CityEQ.

func CityContains

func CityContains(v string) predicate.Merchant

CityContains applies the Contains predicate on the "city" field.

func CityContainsFold

func CityContainsFold(v string) predicate.Merchant

CityContainsFold applies the ContainsFold predicate on the "city" field.

func CityEQ

func CityEQ(v string) predicate.Merchant

CityEQ applies the EQ predicate on the "city" field.

func CityEqualFold

func CityEqualFold(v string) predicate.Merchant

CityEqualFold applies the EqualFold predicate on the "city" field.

func CityGT

func CityGT(v string) predicate.Merchant

CityGT applies the GT predicate on the "city" field.

func CityGTE

func CityGTE(v string) predicate.Merchant

CityGTE applies the GTE predicate on the "city" field.

func CityHasPrefix

func CityHasPrefix(v string) predicate.Merchant

CityHasPrefix applies the HasPrefix predicate on the "city" field.

func CityHasSuffix

func CityHasSuffix(v string) predicate.Merchant

CityHasSuffix applies the HasSuffix predicate on the "city" field.

func CityIn

func CityIn(vs ...string) predicate.Merchant

CityIn applies the In predicate on the "city" field.

func CityIsNil

func CityIsNil() predicate.Merchant

CityIsNil applies the IsNil predicate on the "city" field.

func CityLT

func CityLT(v string) predicate.Merchant

CityLT applies the LT predicate on the "city" field.

func CityLTE

func CityLTE(v string) predicate.Merchant

CityLTE applies the LTE predicate on the "city" field.

func CityNEQ

func CityNEQ(v string) predicate.Merchant

CityNEQ applies the NEQ predicate on the "city" field.

func CityNotIn

func CityNotIn(vs ...string) predicate.Merchant

CityNotIn applies the NotIn predicate on the "city" field.

func CityNotNil

func CityNotNil() predicate.Merchant

CityNotNil applies the NotNil predicate on the "city" field.

func ContactPerson

func ContactPerson(v string) predicate.Merchant

ContactPerson applies equality check predicate on the "contact_person" field. It's identical to ContactPersonEQ.

func ContactPersonContains

func ContactPersonContains(v string) predicate.Merchant

ContactPersonContains applies the Contains predicate on the "contact_person" field.

func ContactPersonContainsFold

func ContactPersonContainsFold(v string) predicate.Merchant

ContactPersonContainsFold applies the ContainsFold predicate on the "contact_person" field.

func ContactPersonEQ

func ContactPersonEQ(v string) predicate.Merchant

ContactPersonEQ applies the EQ predicate on the "contact_person" field.

func ContactPersonEqualFold

func ContactPersonEqualFold(v string) predicate.Merchant

ContactPersonEqualFold applies the EqualFold predicate on the "contact_person" field.

func ContactPersonGT

func ContactPersonGT(v string) predicate.Merchant

ContactPersonGT applies the GT predicate on the "contact_person" field.

func ContactPersonGTE

func ContactPersonGTE(v string) predicate.Merchant

ContactPersonGTE applies the GTE predicate on the "contact_person" field.

func ContactPersonHasPrefix

func ContactPersonHasPrefix(v string) predicate.Merchant

ContactPersonHasPrefix applies the HasPrefix predicate on the "contact_person" field.

func ContactPersonHasSuffix

func ContactPersonHasSuffix(v string) predicate.Merchant

ContactPersonHasSuffix applies the HasSuffix predicate on the "contact_person" field.

func ContactPersonIn

func ContactPersonIn(vs ...string) predicate.Merchant

ContactPersonIn applies the In predicate on the "contact_person" field.

func ContactPersonIsNil

func ContactPersonIsNil() predicate.Merchant

ContactPersonIsNil applies the IsNil predicate on the "contact_person" field.

func ContactPersonLT

func ContactPersonLT(v string) predicate.Merchant

ContactPersonLT applies the LT predicate on the "contact_person" field.

func ContactPersonLTE

func ContactPersonLTE(v string) predicate.Merchant

ContactPersonLTE applies the LTE predicate on the "contact_person" field.

func ContactPersonNEQ

func ContactPersonNEQ(v string) predicate.Merchant

ContactPersonNEQ applies the NEQ predicate on the "contact_person" field.

func ContactPersonNotIn

func ContactPersonNotIn(vs ...string) predicate.Merchant

ContactPersonNotIn applies the NotIn predicate on the "contact_person" field.

func ContactPersonNotNil

func ContactPersonNotNil() predicate.Merchant

ContactPersonNotNil applies the NotNil predicate on the "contact_person" field.

func ContactPhone

func ContactPhone(v string) predicate.Merchant

ContactPhone applies equality check predicate on the "contact_phone" field. It's identical to ContactPhoneEQ.

func ContactPhoneContains

func ContactPhoneContains(v string) predicate.Merchant

ContactPhoneContains applies the Contains predicate on the "contact_phone" field.

func ContactPhoneContainsFold

func ContactPhoneContainsFold(v string) predicate.Merchant

ContactPhoneContainsFold applies the ContainsFold predicate on the "contact_phone" field.

func ContactPhoneEQ

func ContactPhoneEQ(v string) predicate.Merchant

ContactPhoneEQ applies the EQ predicate on the "contact_phone" field.

func ContactPhoneEqualFold

func ContactPhoneEqualFold(v string) predicate.Merchant

ContactPhoneEqualFold applies the EqualFold predicate on the "contact_phone" field.

func ContactPhoneGT

func ContactPhoneGT(v string) predicate.Merchant

ContactPhoneGT applies the GT predicate on the "contact_phone" field.

func ContactPhoneGTE

func ContactPhoneGTE(v string) predicate.Merchant

ContactPhoneGTE applies the GTE predicate on the "contact_phone" field.

func ContactPhoneHasPrefix

func ContactPhoneHasPrefix(v string) predicate.Merchant

ContactPhoneHasPrefix applies the HasPrefix predicate on the "contact_phone" field.

func ContactPhoneHasSuffix

func ContactPhoneHasSuffix(v string) predicate.Merchant

ContactPhoneHasSuffix applies the HasSuffix predicate on the "contact_phone" field.

func ContactPhoneIn

func ContactPhoneIn(vs ...string) predicate.Merchant

ContactPhoneIn applies the In predicate on the "contact_phone" field.

func ContactPhoneIsNil

func ContactPhoneIsNil() predicate.Merchant

ContactPhoneIsNil applies the IsNil predicate on the "contact_phone" field.

func ContactPhoneLT

func ContactPhoneLT(v string) predicate.Merchant

ContactPhoneLT applies the LT predicate on the "contact_phone" field.

func ContactPhoneLTE

func ContactPhoneLTE(v string) predicate.Merchant

ContactPhoneLTE applies the LTE predicate on the "contact_phone" field.

func ContactPhoneNEQ

func ContactPhoneNEQ(v string) predicate.Merchant

ContactPhoneNEQ applies the NEQ predicate on the "contact_phone" field.

func ContactPhoneNotIn

func ContactPhoneNotIn(vs ...string) predicate.Merchant

ContactPhoneNotIn applies the NotIn predicate on the "contact_phone" field.

func ContactPhoneNotNil

func ContactPhoneNotNil() predicate.Merchant

ContactPhoneNotNil applies the NotNil predicate on the "contact_phone" field.

func Country

func Country(v string) predicate.Merchant

Country applies equality check predicate on the "country" field. It's identical to CountryEQ.

func CountryContains

func CountryContains(v string) predicate.Merchant

CountryContains applies the Contains predicate on the "country" field.

func CountryContainsFold

func CountryContainsFold(v string) predicate.Merchant

CountryContainsFold applies the ContainsFold predicate on the "country" field.

func CountryEQ

func CountryEQ(v string) predicate.Merchant

CountryEQ applies the EQ predicate on the "country" field.

func CountryEqualFold

func CountryEqualFold(v string) predicate.Merchant

CountryEqualFold applies the EqualFold predicate on the "country" field.

func CountryGT

func CountryGT(v string) predicate.Merchant

CountryGT applies the GT predicate on the "country" field.

func CountryGTE

func CountryGTE(v string) predicate.Merchant

CountryGTE applies the GTE predicate on the "country" field.

func CountryHasPrefix

func CountryHasPrefix(v string) predicate.Merchant

CountryHasPrefix applies the HasPrefix predicate on the "country" field.

func CountryHasSuffix

func CountryHasSuffix(v string) predicate.Merchant

CountryHasSuffix applies the HasSuffix predicate on the "country" field.

func CountryIn

func CountryIn(vs ...string) predicate.Merchant

CountryIn applies the In predicate on the "country" field.

func CountryIsNil

func CountryIsNil() predicate.Merchant

CountryIsNil applies the IsNil predicate on the "country" field.

func CountryLT

func CountryLT(v string) predicate.Merchant

CountryLT applies the LT predicate on the "country" field.

func CountryLTE

func CountryLTE(v string) predicate.Merchant

CountryLTE applies the LTE predicate on the "country" field.

func CountryNEQ

func CountryNEQ(v string) predicate.Merchant

CountryNEQ applies the NEQ predicate on the "country" field.

func CountryNotIn

func CountryNotIn(vs ...string) predicate.Merchant

CountryNotIn applies the NotIn predicate on the "country" field.

func CountryNotNil

func CountryNotNil() predicate.Merchant

CountryNotNil applies the NotNil predicate on the "country" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Merchant

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Merchant

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Merchant

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Merchant

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Merchant

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Merchant

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Merchant

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Merchant

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Merchant

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Merchant

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Merchant

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Merchant

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Merchant

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Merchant

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Merchant

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Merchant

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

func District

func District(v string) predicate.Merchant

District applies equality check predicate on the "district" field. It's identical to DistrictEQ.

func DistrictContains

func DistrictContains(v string) predicate.Merchant

DistrictContains applies the Contains predicate on the "district" field.

func DistrictContainsFold

func DistrictContainsFold(v string) predicate.Merchant

DistrictContainsFold applies the ContainsFold predicate on the "district" field.

func DistrictEQ

func DistrictEQ(v string) predicate.Merchant

DistrictEQ applies the EQ predicate on the "district" field.

func DistrictEqualFold

func DistrictEqualFold(v string) predicate.Merchant

DistrictEqualFold applies the EqualFold predicate on the "district" field.

func DistrictGT

func DistrictGT(v string) predicate.Merchant

DistrictGT applies the GT predicate on the "district" field.

func DistrictGTE

func DistrictGTE(v string) predicate.Merchant

DistrictGTE applies the GTE predicate on the "district" field.

func DistrictHasPrefix

func DistrictHasPrefix(v string) predicate.Merchant

DistrictHasPrefix applies the HasPrefix predicate on the "district" field.

func DistrictHasSuffix

func DistrictHasSuffix(v string) predicate.Merchant

DistrictHasSuffix applies the HasSuffix predicate on the "district" field.

func DistrictIn

func DistrictIn(vs ...string) predicate.Merchant

DistrictIn applies the In predicate on the "district" field.

func DistrictIsNil

func DistrictIsNil() predicate.Merchant

DistrictIsNil applies the IsNil predicate on the "district" field.

func DistrictLT

func DistrictLT(v string) predicate.Merchant

DistrictLT applies the LT predicate on the "district" field.

func DistrictLTE

func DistrictLTE(v string) predicate.Merchant

DistrictLTE applies the LTE predicate on the "district" field.

func DistrictNEQ

func DistrictNEQ(v string) predicate.Merchant

DistrictNEQ applies the NEQ predicate on the "district" field.

func DistrictNotIn

func DistrictNotIn(vs ...string) predicate.Merchant

DistrictNotIn applies the NotIn predicate on the "district" field.

func DistrictNotNil

func DistrictNotNil() predicate.Merchant

DistrictNotNil applies the NotNil predicate on the "district" field.

func HasAccounts

func HasAccounts() predicate.Merchant

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 ID

func ID(id uint64) predicate.Merchant

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.Merchant

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.Merchant

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.Merchant

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.Merchant

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.Merchant

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.Merchant

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MerchantName

func MerchantName(v string) predicate.Merchant

MerchantName applies equality check predicate on the "merchant_name" field. It's identical to MerchantNameEQ.

func MerchantNameContains

func MerchantNameContains(v string) predicate.Merchant

MerchantNameContains applies the Contains predicate on the "merchant_name" field.

func MerchantNameContainsFold

func MerchantNameContainsFold(v string) predicate.Merchant

MerchantNameContainsFold applies the ContainsFold predicate on the "merchant_name" field.

func MerchantNameEQ

func MerchantNameEQ(v string) predicate.Merchant

MerchantNameEQ applies the EQ predicate on the "merchant_name" field.

func MerchantNameEqualFold

func MerchantNameEqualFold(v string) predicate.Merchant

MerchantNameEqualFold applies the EqualFold predicate on the "merchant_name" field.

func MerchantNameGT

func MerchantNameGT(v string) predicate.Merchant

MerchantNameGT applies the GT predicate on the "merchant_name" field.

func MerchantNameGTE

func MerchantNameGTE(v string) predicate.Merchant

MerchantNameGTE applies the GTE predicate on the "merchant_name" field.

func MerchantNameHasPrefix

func MerchantNameHasPrefix(v string) predicate.Merchant

MerchantNameHasPrefix applies the HasPrefix predicate on the "merchant_name" field.

func MerchantNameHasSuffix

func MerchantNameHasSuffix(v string) predicate.Merchant

MerchantNameHasSuffix applies the HasSuffix predicate on the "merchant_name" field.

func MerchantNameIn

func MerchantNameIn(vs ...string) predicate.Merchant

MerchantNameIn applies the In predicate on the "merchant_name" field.

func MerchantNameLT

func MerchantNameLT(v string) predicate.Merchant

MerchantNameLT applies the LT predicate on the "merchant_name" field.

func MerchantNameLTE

func MerchantNameLTE(v string) predicate.Merchant

MerchantNameLTE applies the LTE predicate on the "merchant_name" field.

func MerchantNameNEQ

func MerchantNameNEQ(v string) predicate.Merchant

MerchantNameNEQ applies the NEQ predicate on the "merchant_name" field.

func MerchantNameNotIn

func MerchantNameNotIn(vs ...string) predicate.Merchant

MerchantNameNotIn applies the NotIn predicate on the "merchant_name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Merchant) predicate.Merchant

Or groups predicates with the OR operator between them.

func Province

func Province(v string) predicate.Merchant

Province applies equality check predicate on the "province" field. It's identical to ProvinceEQ.

func ProvinceContains

func ProvinceContains(v string) predicate.Merchant

ProvinceContains applies the Contains predicate on the "province" field.

func ProvinceContainsFold

func ProvinceContainsFold(v string) predicate.Merchant

ProvinceContainsFold applies the ContainsFold predicate on the "province" field.

func ProvinceEQ

func ProvinceEQ(v string) predicate.Merchant

ProvinceEQ applies the EQ predicate on the "province" field.

func ProvinceEqualFold

func ProvinceEqualFold(v string) predicate.Merchant

ProvinceEqualFold applies the EqualFold predicate on the "province" field.

func ProvinceGT

func ProvinceGT(v string) predicate.Merchant

ProvinceGT applies the GT predicate on the "province" field.

func ProvinceGTE

func ProvinceGTE(v string) predicate.Merchant

ProvinceGTE applies the GTE predicate on the "province" field.

func ProvinceHasPrefix

func ProvinceHasPrefix(v string) predicate.Merchant

ProvinceHasPrefix applies the HasPrefix predicate on the "province" field.

func ProvinceHasSuffix

func ProvinceHasSuffix(v string) predicate.Merchant

ProvinceHasSuffix applies the HasSuffix predicate on the "province" field.

func ProvinceIn

func ProvinceIn(vs ...string) predicate.Merchant

ProvinceIn applies the In predicate on the "province" field.

func ProvinceIsNil

func ProvinceIsNil() predicate.Merchant

ProvinceIsNil applies the IsNil predicate on the "province" field.

func ProvinceLT

func ProvinceLT(v string) predicate.Merchant

ProvinceLT applies the LT predicate on the "province" field.

func ProvinceLTE

func ProvinceLTE(v string) predicate.Merchant

ProvinceLTE applies the LTE predicate on the "province" field.

func ProvinceNEQ

func ProvinceNEQ(v string) predicate.Merchant

ProvinceNEQ applies the NEQ predicate on the "province" field.

func ProvinceNotIn

func ProvinceNotIn(vs ...string) predicate.Merchant

ProvinceNotIn applies the NotIn predicate on the "province" field.

func ProvinceNotNil

func ProvinceNotNil() predicate.Merchant

ProvinceNotNil applies the NotNil predicate on the "province" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Merchant

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Merchant

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Merchant

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Merchant

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Merchant

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Merchant

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Merchant

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the 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.

Jump to

Keyboard shortcuts

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