wallet

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the wallet type in the database.
	Label = "wallet"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldCustomerID holds the string denoting the customer_id field in the database.
	FieldCustomerID = "customer_id"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldBalance holds the string denoting the balance field in the database.
	FieldBalance = "balance"
	// FieldCreditBalance holds the string denoting the credit_balance field in the database.
	FieldCreditBalance = "credit_balance"
	// FieldWalletStatus holds the string denoting the wallet_status field in the database.
	FieldWalletStatus = "wallet_status"
	// FieldAutoTopupTrigger holds the string denoting the auto_topup_trigger field in the database.
	FieldAutoTopupTrigger = "auto_topup_trigger"
	// FieldAutoTopupMinBalance holds the string denoting the auto_topup_min_balance field in the database.
	FieldAutoTopupMinBalance = "auto_topup_min_balance"
	// FieldAutoTopupAmount holds the string denoting the auto_topup_amount field in the database.
	FieldAutoTopupAmount = "auto_topup_amount"
	// FieldWalletType holds the string denoting the wallet_type field in the database.
	FieldWalletType = "wallet_type"
	// FieldConversionRate holds the string denoting the conversion_rate field in the database.
	FieldConversionRate = "conversion_rate"
	// FieldConfig holds the string denoting the config field in the database.
	FieldConfig = "config"
	// FieldAlertConfig holds the string denoting the alert_config field in the database.
	FieldAlertConfig = "alert_config"
	// FieldAlertEnabled holds the string denoting the alert_enabled field in the database.
	FieldAlertEnabled = "alert_enabled"
	// FieldAlertState holds the string denoting the alert_state field in the database.
	FieldAlertState = "alert_state"
	// Table holds the table name of the wallet in the database.
	Table = "wallets"
)

Variables

View Source
var (
	// TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save.
	TenantIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// 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
	// DefaultEnvironmentID holds the default value on creation for the "environment_id" field.
	DefaultEnvironmentID string
	// CustomerIDValidator is a validator for the "customer_id" field. It is called by the builders before save.
	CustomerIDValidator func(string) error
	// CurrencyValidator is a validator for the "currency" field. It is called by the builders before save.
	CurrencyValidator func(string) error
	// DefaultBalance holds the default value on creation for the "balance" field.
	DefaultBalance decimal.Decimal
	// DefaultWalletStatus holds the default value on creation for the "wallet_status" field.
	DefaultWalletStatus string
	// DefaultAutoTopupTrigger holds the default value on creation for the "auto_topup_trigger" field.
	DefaultAutoTopupTrigger string
	// DefaultWalletType holds the default value on creation for the "wallet_type" field.
	DefaultWalletType string
	// DefaultAlertEnabled holds the default value on creation for the "alert_enabled" field.
	DefaultAlertEnabled bool
	// DefaultAlertState holds the default value on creation for the "alert_state" field.
	DefaultAlertState string
)

Columns holds all SQL columns for wallet fields.

Functions

func AlertConfigIsNil added in v1.0.21

func AlertConfigIsNil() predicate.Wallet

AlertConfigIsNil applies the IsNil predicate on the "alert_config" field.

func AlertConfigNotNil added in v1.0.21

func AlertConfigNotNil() predicate.Wallet

AlertConfigNotNil applies the NotNil predicate on the "alert_config" field.

func AlertEnabled added in v1.0.21

func AlertEnabled(v bool) predicate.Wallet

AlertEnabled applies equality check predicate on the "alert_enabled" field. It's identical to AlertEnabledEQ.

func AlertEnabledEQ added in v1.0.21

func AlertEnabledEQ(v bool) predicate.Wallet

AlertEnabledEQ applies the EQ predicate on the "alert_enabled" field.

func AlertEnabledIsNil added in v1.0.21

func AlertEnabledIsNil() predicate.Wallet

AlertEnabledIsNil applies the IsNil predicate on the "alert_enabled" field.

func AlertEnabledNEQ added in v1.0.21

func AlertEnabledNEQ(v bool) predicate.Wallet

AlertEnabledNEQ applies the NEQ predicate on the "alert_enabled" field.

func AlertEnabledNotNil added in v1.0.21

func AlertEnabledNotNil() predicate.Wallet

AlertEnabledNotNil applies the NotNil predicate on the "alert_enabled" field.

func AlertState added in v1.0.21

func AlertState(v string) predicate.Wallet

AlertState applies equality check predicate on the "alert_state" field. It's identical to AlertStateEQ.

func AlertStateContains added in v1.0.21

func AlertStateContains(v string) predicate.Wallet

AlertStateContains applies the Contains predicate on the "alert_state" field.

func AlertStateContainsFold added in v1.0.21

func AlertStateContainsFold(v string) predicate.Wallet

AlertStateContainsFold applies the ContainsFold predicate on the "alert_state" field.

func AlertStateEQ added in v1.0.21

func AlertStateEQ(v string) predicate.Wallet

AlertStateEQ applies the EQ predicate on the "alert_state" field.

func AlertStateEqualFold added in v1.0.21

func AlertStateEqualFold(v string) predicate.Wallet

AlertStateEqualFold applies the EqualFold predicate on the "alert_state" field.

func AlertStateGT added in v1.0.21

func AlertStateGT(v string) predicate.Wallet

AlertStateGT applies the GT predicate on the "alert_state" field.

func AlertStateGTE added in v1.0.21

func AlertStateGTE(v string) predicate.Wallet

AlertStateGTE applies the GTE predicate on the "alert_state" field.

func AlertStateHasPrefix added in v1.0.21

func AlertStateHasPrefix(v string) predicate.Wallet

AlertStateHasPrefix applies the HasPrefix predicate on the "alert_state" field.

func AlertStateHasSuffix added in v1.0.21

func AlertStateHasSuffix(v string) predicate.Wallet

AlertStateHasSuffix applies the HasSuffix predicate on the "alert_state" field.

func AlertStateIn added in v1.0.21

func AlertStateIn(vs ...string) predicate.Wallet

AlertStateIn applies the In predicate on the "alert_state" field.

func AlertStateIsNil added in v1.0.21

func AlertStateIsNil() predicate.Wallet

AlertStateIsNil applies the IsNil predicate on the "alert_state" field.

func AlertStateLT added in v1.0.21

func AlertStateLT(v string) predicate.Wallet

AlertStateLT applies the LT predicate on the "alert_state" field.

func AlertStateLTE added in v1.0.21

func AlertStateLTE(v string) predicate.Wallet

AlertStateLTE applies the LTE predicate on the "alert_state" field.

func AlertStateNEQ added in v1.0.21

func AlertStateNEQ(v string) predicate.Wallet

AlertStateNEQ applies the NEQ predicate on the "alert_state" field.

func AlertStateNotIn added in v1.0.21

func AlertStateNotIn(vs ...string) predicate.Wallet

AlertStateNotIn applies the NotIn predicate on the "alert_state" field.

func AlertStateNotNil added in v1.0.21

func AlertStateNotNil() predicate.Wallet

AlertStateNotNil applies the NotNil predicate on the "alert_state" field.

func And

func And(predicates ...predicate.Wallet) predicate.Wallet

And groups predicates with the AND operator between them.

func AutoTopupAmount

func AutoTopupAmount(v decimal.Decimal) predicate.Wallet

AutoTopupAmount applies equality check predicate on the "auto_topup_amount" field. It's identical to AutoTopupAmountEQ.

func AutoTopupAmountEQ

func AutoTopupAmountEQ(v decimal.Decimal) predicate.Wallet

AutoTopupAmountEQ applies the EQ predicate on the "auto_topup_amount" field.

func AutoTopupAmountGT

func AutoTopupAmountGT(v decimal.Decimal) predicate.Wallet

AutoTopupAmountGT applies the GT predicate on the "auto_topup_amount" field.

func AutoTopupAmountGTE

func AutoTopupAmountGTE(v decimal.Decimal) predicate.Wallet

AutoTopupAmountGTE applies the GTE predicate on the "auto_topup_amount" field.

func AutoTopupAmountIn

func AutoTopupAmountIn(vs ...decimal.Decimal) predicate.Wallet

AutoTopupAmountIn applies the In predicate on the "auto_topup_amount" field.

func AutoTopupAmountIsNil

func AutoTopupAmountIsNil() predicate.Wallet

AutoTopupAmountIsNil applies the IsNil predicate on the "auto_topup_amount" field.

func AutoTopupAmountLT

func AutoTopupAmountLT(v decimal.Decimal) predicate.Wallet

AutoTopupAmountLT applies the LT predicate on the "auto_topup_amount" field.

func AutoTopupAmountLTE

func AutoTopupAmountLTE(v decimal.Decimal) predicate.Wallet

AutoTopupAmountLTE applies the LTE predicate on the "auto_topup_amount" field.

func AutoTopupAmountNEQ

func AutoTopupAmountNEQ(v decimal.Decimal) predicate.Wallet

AutoTopupAmountNEQ applies the NEQ predicate on the "auto_topup_amount" field.

func AutoTopupAmountNotIn

func AutoTopupAmountNotIn(vs ...decimal.Decimal) predicate.Wallet

AutoTopupAmountNotIn applies the NotIn predicate on the "auto_topup_amount" field.

func AutoTopupAmountNotNil

func AutoTopupAmountNotNil() predicate.Wallet

AutoTopupAmountNotNil applies the NotNil predicate on the "auto_topup_amount" field.

func AutoTopupMinBalance

func AutoTopupMinBalance(v decimal.Decimal) predicate.Wallet

AutoTopupMinBalance applies equality check predicate on the "auto_topup_min_balance" field. It's identical to AutoTopupMinBalanceEQ.

func AutoTopupMinBalanceEQ

func AutoTopupMinBalanceEQ(v decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceEQ applies the EQ predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceGT

func AutoTopupMinBalanceGT(v decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceGT applies the GT predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceGTE

func AutoTopupMinBalanceGTE(v decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceGTE applies the GTE predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceIn

func AutoTopupMinBalanceIn(vs ...decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceIn applies the In predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceIsNil

func AutoTopupMinBalanceIsNil() predicate.Wallet

AutoTopupMinBalanceIsNil applies the IsNil predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceLT

func AutoTopupMinBalanceLT(v decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceLT applies the LT predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceLTE

func AutoTopupMinBalanceLTE(v decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceLTE applies the LTE predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceNEQ

func AutoTopupMinBalanceNEQ(v decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceNEQ applies the NEQ predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceNotIn

func AutoTopupMinBalanceNotIn(vs ...decimal.Decimal) predicate.Wallet

AutoTopupMinBalanceNotIn applies the NotIn predicate on the "auto_topup_min_balance" field.

func AutoTopupMinBalanceNotNil

func AutoTopupMinBalanceNotNil() predicate.Wallet

AutoTopupMinBalanceNotNil applies the NotNil predicate on the "auto_topup_min_balance" field.

func AutoTopupTrigger

func AutoTopupTrigger(v string) predicate.Wallet

AutoTopupTrigger applies equality check predicate on the "auto_topup_trigger" field. It's identical to AutoTopupTriggerEQ.

func AutoTopupTriggerContains

func AutoTopupTriggerContains(v string) predicate.Wallet

AutoTopupTriggerContains applies the Contains predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerContainsFold

func AutoTopupTriggerContainsFold(v string) predicate.Wallet

AutoTopupTriggerContainsFold applies the ContainsFold predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerEQ

func AutoTopupTriggerEQ(v string) predicate.Wallet

AutoTopupTriggerEQ applies the EQ predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerEqualFold

func AutoTopupTriggerEqualFold(v string) predicate.Wallet

AutoTopupTriggerEqualFold applies the EqualFold predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerGT

func AutoTopupTriggerGT(v string) predicate.Wallet

AutoTopupTriggerGT applies the GT predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerGTE

func AutoTopupTriggerGTE(v string) predicate.Wallet

AutoTopupTriggerGTE applies the GTE predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerHasPrefix

func AutoTopupTriggerHasPrefix(v string) predicate.Wallet

AutoTopupTriggerHasPrefix applies the HasPrefix predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerHasSuffix

func AutoTopupTriggerHasSuffix(v string) predicate.Wallet

AutoTopupTriggerHasSuffix applies the HasSuffix predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerIn

func AutoTopupTriggerIn(vs ...string) predicate.Wallet

AutoTopupTriggerIn applies the In predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerIsNil

func AutoTopupTriggerIsNil() predicate.Wallet

AutoTopupTriggerIsNil applies the IsNil predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerLT

func AutoTopupTriggerLT(v string) predicate.Wallet

AutoTopupTriggerLT applies the LT predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerLTE

func AutoTopupTriggerLTE(v string) predicate.Wallet

AutoTopupTriggerLTE applies the LTE predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerNEQ

func AutoTopupTriggerNEQ(v string) predicate.Wallet

AutoTopupTriggerNEQ applies the NEQ predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerNotIn

func AutoTopupTriggerNotIn(vs ...string) predicate.Wallet

AutoTopupTriggerNotIn applies the NotIn predicate on the "auto_topup_trigger" field.

func AutoTopupTriggerNotNil

func AutoTopupTriggerNotNil() predicate.Wallet

AutoTopupTriggerNotNil applies the NotNil predicate on the "auto_topup_trigger" field.

func Balance

func Balance(v decimal.Decimal) predicate.Wallet

Balance applies equality check predicate on the "balance" field. It's identical to BalanceEQ.

func BalanceEQ

func BalanceEQ(v decimal.Decimal) predicate.Wallet

BalanceEQ applies the EQ predicate on the "balance" field.

func BalanceGT

func BalanceGT(v decimal.Decimal) predicate.Wallet

BalanceGT applies the GT predicate on the "balance" field.

func BalanceGTE

func BalanceGTE(v decimal.Decimal) predicate.Wallet

BalanceGTE applies the GTE predicate on the "balance" field.

func BalanceIn

func BalanceIn(vs ...decimal.Decimal) predicate.Wallet

BalanceIn applies the In predicate on the "balance" field.

func BalanceLT

func BalanceLT(v decimal.Decimal) predicate.Wallet

BalanceLT applies the LT predicate on the "balance" field.

func BalanceLTE

func BalanceLTE(v decimal.Decimal) predicate.Wallet

BalanceLTE applies the LTE predicate on the "balance" field.

func BalanceNEQ

func BalanceNEQ(v decimal.Decimal) predicate.Wallet

BalanceNEQ applies the NEQ predicate on the "balance" field.

func BalanceNotIn

func BalanceNotIn(vs ...decimal.Decimal) predicate.Wallet

BalanceNotIn applies the NotIn predicate on the "balance" field.

func ConfigIsNil

func ConfigIsNil() predicate.Wallet

ConfigIsNil applies the IsNil predicate on the "config" field.

func ConfigNotNil

func ConfigNotNil() predicate.Wallet

ConfigNotNil applies the NotNil predicate on the "config" field.

func ConversionRate

func ConversionRate(v decimal.Decimal) predicate.Wallet

ConversionRate applies equality check predicate on the "conversion_rate" field. It's identical to ConversionRateEQ.

func ConversionRateEQ

func ConversionRateEQ(v decimal.Decimal) predicate.Wallet

ConversionRateEQ applies the EQ predicate on the "conversion_rate" field.

func ConversionRateGT

func ConversionRateGT(v decimal.Decimal) predicate.Wallet

ConversionRateGT applies the GT predicate on the "conversion_rate" field.

func ConversionRateGTE

func ConversionRateGTE(v decimal.Decimal) predicate.Wallet

ConversionRateGTE applies the GTE predicate on the "conversion_rate" field.

func ConversionRateIn

func ConversionRateIn(vs ...decimal.Decimal) predicate.Wallet

ConversionRateIn applies the In predicate on the "conversion_rate" field.

func ConversionRateLT

func ConversionRateLT(v decimal.Decimal) predicate.Wallet

ConversionRateLT applies the LT predicate on the "conversion_rate" field.

func ConversionRateLTE

func ConversionRateLTE(v decimal.Decimal) predicate.Wallet

ConversionRateLTE applies the LTE predicate on the "conversion_rate" field.

func ConversionRateNEQ

func ConversionRateNEQ(v decimal.Decimal) predicate.Wallet

ConversionRateNEQ applies the NEQ predicate on the "conversion_rate" field.

func ConversionRateNotIn

func ConversionRateNotIn(vs ...decimal.Decimal) predicate.Wallet

ConversionRateNotIn applies the NotIn predicate on the "conversion_rate" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Wallet

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Wallet

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Wallet

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Wallet

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Wallet

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Wallet

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Wallet

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.Wallet

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Wallet

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Wallet

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Wallet

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Wallet

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Wallet

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Wallet

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Wallet

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Wallet

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Wallet

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Wallet

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Wallet

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Wallet

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Wallet

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Wallet

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Wallet

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func CreditBalance

func CreditBalance(v decimal.Decimal) predicate.Wallet

CreditBalance applies equality check predicate on the "credit_balance" field. It's identical to CreditBalanceEQ.

func CreditBalanceEQ

func CreditBalanceEQ(v decimal.Decimal) predicate.Wallet

CreditBalanceEQ applies the EQ predicate on the "credit_balance" field.

func CreditBalanceGT

func CreditBalanceGT(v decimal.Decimal) predicate.Wallet

CreditBalanceGT applies the GT predicate on the "credit_balance" field.

func CreditBalanceGTE

func CreditBalanceGTE(v decimal.Decimal) predicate.Wallet

CreditBalanceGTE applies the GTE predicate on the "credit_balance" field.

func CreditBalanceIn

func CreditBalanceIn(vs ...decimal.Decimal) predicate.Wallet

CreditBalanceIn applies the In predicate on the "credit_balance" field.

func CreditBalanceLT

func CreditBalanceLT(v decimal.Decimal) predicate.Wallet

CreditBalanceLT applies the LT predicate on the "credit_balance" field.

func CreditBalanceLTE

func CreditBalanceLTE(v decimal.Decimal) predicate.Wallet

CreditBalanceLTE applies the LTE predicate on the "credit_balance" field.

func CreditBalanceNEQ

func CreditBalanceNEQ(v decimal.Decimal) predicate.Wallet

CreditBalanceNEQ applies the NEQ predicate on the "credit_balance" field.

func CreditBalanceNotIn

func CreditBalanceNotIn(vs ...decimal.Decimal) predicate.Wallet

CreditBalanceNotIn applies the NotIn predicate on the "credit_balance" field.

func Currency

func Currency(v string) predicate.Wallet

Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.

func CurrencyContains

func CurrencyContains(v string) predicate.Wallet

CurrencyContains applies the Contains predicate on the "currency" field.

func CurrencyContainsFold

func CurrencyContainsFold(v string) predicate.Wallet

CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.

func CurrencyEQ

func CurrencyEQ(v string) predicate.Wallet

CurrencyEQ applies the EQ predicate on the "currency" field.

func CurrencyEqualFold

func CurrencyEqualFold(v string) predicate.Wallet

CurrencyEqualFold applies the EqualFold predicate on the "currency" field.

func CurrencyGT

func CurrencyGT(v string) predicate.Wallet

CurrencyGT applies the GT predicate on the "currency" field.

func CurrencyGTE

func CurrencyGTE(v string) predicate.Wallet

CurrencyGTE applies the GTE predicate on the "currency" field.

func CurrencyHasPrefix

func CurrencyHasPrefix(v string) predicate.Wallet

CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.

func CurrencyHasSuffix

func CurrencyHasSuffix(v string) predicate.Wallet

CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.

func CurrencyIn

func CurrencyIn(vs ...string) predicate.Wallet

CurrencyIn applies the In predicate on the "currency" field.

func CurrencyLT

func CurrencyLT(v string) predicate.Wallet

CurrencyLT applies the LT predicate on the "currency" field.

func CurrencyLTE

func CurrencyLTE(v string) predicate.Wallet

CurrencyLTE applies the LTE predicate on the "currency" field.

func CurrencyNEQ

func CurrencyNEQ(v string) predicate.Wallet

CurrencyNEQ applies the NEQ predicate on the "currency" field.

func CurrencyNotIn

func CurrencyNotIn(vs ...string) predicate.Wallet

CurrencyNotIn applies the NotIn predicate on the "currency" field.

func CustomerID

func CustomerID(v string) predicate.Wallet

CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.

func CustomerIDContains

func CustomerIDContains(v string) predicate.Wallet

CustomerIDContains applies the Contains predicate on the "customer_id" field.

func CustomerIDContainsFold

func CustomerIDContainsFold(v string) predicate.Wallet

CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.

func CustomerIDEQ

func CustomerIDEQ(v string) predicate.Wallet

CustomerIDEQ applies the EQ predicate on the "customer_id" field.

func CustomerIDEqualFold

func CustomerIDEqualFold(v string) predicate.Wallet

CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.

func CustomerIDGT

func CustomerIDGT(v string) predicate.Wallet

CustomerIDGT applies the GT predicate on the "customer_id" field.

func CustomerIDGTE

func CustomerIDGTE(v string) predicate.Wallet

CustomerIDGTE applies the GTE predicate on the "customer_id" field.

func CustomerIDHasPrefix

func CustomerIDHasPrefix(v string) predicate.Wallet

CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.

func CustomerIDHasSuffix

func CustomerIDHasSuffix(v string) predicate.Wallet

CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.

func CustomerIDIn

func CustomerIDIn(vs ...string) predicate.Wallet

CustomerIDIn applies the In predicate on the "customer_id" field.

func CustomerIDLT

func CustomerIDLT(v string) predicate.Wallet

CustomerIDLT applies the LT predicate on the "customer_id" field.

func CustomerIDLTE

func CustomerIDLTE(v string) predicate.Wallet

CustomerIDLTE applies the LTE predicate on the "customer_id" field.

func CustomerIDNEQ

func CustomerIDNEQ(v string) predicate.Wallet

CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.

func CustomerIDNotIn

func CustomerIDNotIn(vs ...string) predicate.Wallet

CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.

func Description

func Description(v string) predicate.Wallet

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Wallet

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Wallet

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Wallet

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Wallet

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Wallet

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Wallet

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Wallet

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Wallet

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Wallet

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Wallet

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Wallet

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Wallet

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Wallet

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Wallet

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Wallet

DescriptionNotNil applies the NotNil predicate on the "description" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Wallet

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Wallet

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Wallet

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Wallet

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Wallet

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Wallet

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Wallet

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Wallet

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Wallet

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...string) predicate.Wallet

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Wallet

EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Wallet

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Wallet

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Wallet

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...string) predicate.Wallet

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Wallet

EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.

func ID

func ID(id string) predicate.Wallet

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Wallet

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Wallet

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Wallet

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Wallet

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Wallet

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Wallet

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Wallet

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Wallet

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Wallet

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Wallet

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.Wallet

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.Wallet

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

func Name(v string) predicate.Wallet

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

func NameContains

func NameContains(v string) predicate.Wallet

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

func NameContainsFold

func NameContainsFold(v string) predicate.Wallet

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

func NameEQ

func NameEQ(v string) predicate.Wallet

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

func NameEqualFold

func NameEqualFold(v string) predicate.Wallet

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

func NameGT

func NameGT(v string) predicate.Wallet

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

func NameGTE

func NameGTE(v string) predicate.Wallet

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Wallet

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Wallet

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

func NameIn

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

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

func NameIsNil

func NameIsNil() predicate.Wallet

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

func NameLT

func NameLT(v string) predicate.Wallet

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

func NameLTE

func NameLTE(v string) predicate.Wallet

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

func NameNEQ

func NameNEQ(v string) predicate.Wallet

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

func NameNotIn

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

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

func NameNotNil

func NameNotNil() predicate.Wallet

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Wallet) predicate.Wallet

Or groups predicates with the OR operator between them.

func Status

func Status(v string) predicate.Wallet

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Wallet

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Wallet

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Wallet

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Wallet

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Wallet

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Wallet

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Wallet

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Wallet

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Wallet

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Wallet

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Wallet

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Wallet

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Wallet

StatusNotIn applies the NotIn predicate on the "status" field.

func TenantID

func TenantID(v string) predicate.Wallet

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDContains

func TenantIDContains(v string) predicate.Wallet

TenantIDContains applies the Contains predicate on the "tenant_id" field.

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.Wallet

TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.

func TenantIDEQ

func TenantIDEQ(v string) predicate.Wallet

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.Wallet

TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v string) predicate.Wallet

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v string) predicate.Wallet

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.Wallet

TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.Wallet

TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...string) predicate.Wallet

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v string) predicate.Wallet

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v string) predicate.Wallet

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.Wallet

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...string) predicate.Wallet

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Wallet

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Wallet

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Wallet

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Wallet

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Wallet

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Wallet

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Wallet

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v string) predicate.Wallet

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Wallet

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Wallet

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Wallet

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Wallet

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Wallet

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Wallet

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Wallet

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Wallet

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Wallet

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Wallet

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Wallet

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Wallet

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Wallet

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Wallet

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Wallet

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

func WalletStatus

func WalletStatus(v string) predicate.Wallet

WalletStatus applies equality check predicate on the "wallet_status" field. It's identical to WalletStatusEQ.

func WalletStatusContains

func WalletStatusContains(v string) predicate.Wallet

WalletStatusContains applies the Contains predicate on the "wallet_status" field.

func WalletStatusContainsFold

func WalletStatusContainsFold(v string) predicate.Wallet

WalletStatusContainsFold applies the ContainsFold predicate on the "wallet_status" field.

func WalletStatusEQ

func WalletStatusEQ(v string) predicate.Wallet

WalletStatusEQ applies the EQ predicate on the "wallet_status" field.

func WalletStatusEqualFold

func WalletStatusEqualFold(v string) predicate.Wallet

WalletStatusEqualFold applies the EqualFold predicate on the "wallet_status" field.

func WalletStatusGT

func WalletStatusGT(v string) predicate.Wallet

WalletStatusGT applies the GT predicate on the "wallet_status" field.

func WalletStatusGTE

func WalletStatusGTE(v string) predicate.Wallet

WalletStatusGTE applies the GTE predicate on the "wallet_status" field.

func WalletStatusHasPrefix

func WalletStatusHasPrefix(v string) predicate.Wallet

WalletStatusHasPrefix applies the HasPrefix predicate on the "wallet_status" field.

func WalletStatusHasSuffix

func WalletStatusHasSuffix(v string) predicate.Wallet

WalletStatusHasSuffix applies the HasSuffix predicate on the "wallet_status" field.

func WalletStatusIn

func WalletStatusIn(vs ...string) predicate.Wallet

WalletStatusIn applies the In predicate on the "wallet_status" field.

func WalletStatusLT

func WalletStatusLT(v string) predicate.Wallet

WalletStatusLT applies the LT predicate on the "wallet_status" field.

func WalletStatusLTE

func WalletStatusLTE(v string) predicate.Wallet

WalletStatusLTE applies the LTE predicate on the "wallet_status" field.

func WalletStatusNEQ

func WalletStatusNEQ(v string) predicate.Wallet

WalletStatusNEQ applies the NEQ predicate on the "wallet_status" field.

func WalletStatusNotIn

func WalletStatusNotIn(vs ...string) predicate.Wallet

WalletStatusNotIn applies the NotIn predicate on the "wallet_status" field.

func WalletType

func WalletType(v string) predicate.Wallet

WalletType applies equality check predicate on the "wallet_type" field. It's identical to WalletTypeEQ.

func WalletTypeContains

func WalletTypeContains(v string) predicate.Wallet

WalletTypeContains applies the Contains predicate on the "wallet_type" field.

func WalletTypeContainsFold

func WalletTypeContainsFold(v string) predicate.Wallet

WalletTypeContainsFold applies the ContainsFold predicate on the "wallet_type" field.

func WalletTypeEQ

func WalletTypeEQ(v string) predicate.Wallet

WalletTypeEQ applies the EQ predicate on the "wallet_type" field.

func WalletTypeEqualFold

func WalletTypeEqualFold(v string) predicate.Wallet

WalletTypeEqualFold applies the EqualFold predicate on the "wallet_type" field.

func WalletTypeGT

func WalletTypeGT(v string) predicate.Wallet

WalletTypeGT applies the GT predicate on the "wallet_type" field.

func WalletTypeGTE

func WalletTypeGTE(v string) predicate.Wallet

WalletTypeGTE applies the GTE predicate on the "wallet_type" field.

func WalletTypeHasPrefix

func WalletTypeHasPrefix(v string) predicate.Wallet

WalletTypeHasPrefix applies the HasPrefix predicate on the "wallet_type" field.

func WalletTypeHasSuffix

func WalletTypeHasSuffix(v string) predicate.Wallet

WalletTypeHasSuffix applies the HasSuffix predicate on the "wallet_type" field.

func WalletTypeIn

func WalletTypeIn(vs ...string) predicate.Wallet

WalletTypeIn applies the In predicate on the "wallet_type" field.

func WalletTypeLT

func WalletTypeLT(v string) predicate.Wallet

WalletTypeLT applies the LT predicate on the "wallet_type" field.

func WalletTypeLTE

func WalletTypeLTE(v string) predicate.Wallet

WalletTypeLTE applies the LTE predicate on the "wallet_type" field.

func WalletTypeNEQ

func WalletTypeNEQ(v string) predicate.Wallet

WalletTypeNEQ applies the NEQ predicate on the "wallet_type" field.

func WalletTypeNotIn

func WalletTypeNotIn(vs ...string) predicate.Wallet

WalletTypeNotIn applies the NotIn predicate on the "wallet_type" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Wallet queries.

func ByAlertEnabled added in v1.0.21

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

ByAlertEnabled orders the results by the alert_enabled field.

func ByAlertState added in v1.0.21

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

ByAlertState orders the results by the alert_state field.

func ByAutoTopupAmount

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

ByAutoTopupAmount orders the results by the auto_topup_amount field.

func ByAutoTopupMinBalance

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

ByAutoTopupMinBalance orders the results by the auto_topup_min_balance field.

func ByAutoTopupTrigger

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

ByAutoTopupTrigger orders the results by the auto_topup_trigger field.

func ByBalance

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

ByBalance orders the results by the balance field.

func ByConversionRate

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

ByConversionRate orders the results by the conversion_rate field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByCreditBalance

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

ByCreditBalance orders the results by the credit_balance field.

func ByCurrency

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

ByCurrency orders the results by the currency field.

func ByCustomerID

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

ByCustomerID orders the results by the customer_id field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByID

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

ByID orders the results by the id field.

func ByName

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

ByName orders the results by the name field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

func ByWalletStatus

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

ByWalletStatus orders the results by the wallet_status field.

func ByWalletType

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

ByWalletType orders the results by the wallet_type field.

Jump to

Keyboard shortcuts

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