card

package
v0.0.0-...-984c388 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the card type in the database.
	Label = "card"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldIsActive holds the string denoting the is_active field in the database.
	FieldIsActive = "is_active"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// 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"
	// FieldFinancialAccountID holds the string denoting the financial_account_id field in the database.
	FieldFinancialAccountID = "financial_account_id"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldBankName holds the string denoting the bank_name field in the database.
	FieldBankName = "bank_name"
	// FieldLastDigits holds the string denoting the last_digits field in the database.
	FieldLastDigits = "last_digits"
	// FieldBalance holds the string denoting the balance field in the database.
	FieldBalance = "balance"
	// FieldBalanceLimit holds the string denoting the balance_limit field in the database.
	FieldBalanceLimit = "balance_limit"
	// FieldCurrencyCode holds the string denoting the currency_code field in the database.
	FieldCurrencyCode = "currency_code"
	// FieldCardType holds the string denoting the card_type field in the database.
	FieldCardType = "card_type"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeFinancialAccount holds the string denoting the financial_account edge name in mutations.
	EdgeFinancialAccount = "financial_account"
	// Table holds the table name of the card in the database.
	Table = "cards"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "cards"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_cards"
	// FinancialAccountTable is the table that holds the financial_account relation/edge.
	FinancialAccountTable = "cards"
	// FinancialAccountInverseTable is the table name for the FinancialAccount entity.
	// It exists in this package in order to avoid circular dependency with the "financialaccount" package.
	FinancialAccountInverseTable = "financial_accounts"
	// FinancialAccountColumn is the table column denoting the financial_account relation/edge.
	FinancialAccountColumn = "financial_account_id"
)

Variables

View Source
var (
	// DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save.
	DisplayNameValidator func(string) error
	// CurrencyCodeValidator is a validator for the "currency_code" field. It is called by the builders before save.
	CurrencyCodeValidator func(string) error
	// CardTypeValidator is a validator for the "card_type" field. It is called by the builders before save.
	CardTypeValidator func(string) error
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for card fields.

View Source
var ForeignKeys = []string{
	"user_cards",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "cards" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.Card) predicate.Card

And groups predicates with the AND operator between them.

func Balance

func Balance(v float64) predicate.Card

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

func BalanceEQ

func BalanceEQ(v float64) predicate.Card

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

func BalanceGT

func BalanceGT(v float64) predicate.Card

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

func BalanceGTE

func BalanceGTE(v float64) predicate.Card

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

func BalanceIn

func BalanceIn(vs ...float64) predicate.Card

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

func BalanceLT

func BalanceLT(v float64) predicate.Card

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

func BalanceLTE

func BalanceLTE(v float64) predicate.Card

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

func BalanceLimit

func BalanceLimit(v float64) predicate.Card

BalanceLimit applies equality check predicate on the "balance_limit" field. It's identical to BalanceLimitEQ.

func BalanceLimitEQ

func BalanceLimitEQ(v float64) predicate.Card

BalanceLimitEQ applies the EQ predicate on the "balance_limit" field.

func BalanceLimitGT

func BalanceLimitGT(v float64) predicate.Card

BalanceLimitGT applies the GT predicate on the "balance_limit" field.

func BalanceLimitGTE

func BalanceLimitGTE(v float64) predicate.Card

BalanceLimitGTE applies the GTE predicate on the "balance_limit" field.

func BalanceLimitIn

func BalanceLimitIn(vs ...float64) predicate.Card

BalanceLimitIn applies the In predicate on the "balance_limit" field.

func BalanceLimitLT

func BalanceLimitLT(v float64) predicate.Card

BalanceLimitLT applies the LT predicate on the "balance_limit" field.

func BalanceLimitLTE

func BalanceLimitLTE(v float64) predicate.Card

BalanceLimitLTE applies the LTE predicate on the "balance_limit" field.

func BalanceLimitNEQ

func BalanceLimitNEQ(v float64) predicate.Card

BalanceLimitNEQ applies the NEQ predicate on the "balance_limit" field.

func BalanceLimitNotIn

func BalanceLimitNotIn(vs ...float64) predicate.Card

BalanceLimitNotIn applies the NotIn predicate on the "balance_limit" field.

func BalanceNEQ

func BalanceNEQ(v float64) predicate.Card

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

func BalanceNotIn

func BalanceNotIn(vs ...float64) predicate.Card

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

func BankName

func BankName(v string) predicate.Card

BankName applies equality check predicate on the "bank_name" field. It's identical to BankNameEQ.

func BankNameContains

func BankNameContains(v string) predicate.Card

BankNameContains applies the Contains predicate on the "bank_name" field.

func BankNameContainsFold

func BankNameContainsFold(v string) predicate.Card

BankNameContainsFold applies the ContainsFold predicate on the "bank_name" field.

func BankNameEQ

func BankNameEQ(v string) predicate.Card

BankNameEQ applies the EQ predicate on the "bank_name" field.

func BankNameEqualFold

func BankNameEqualFold(v string) predicate.Card

BankNameEqualFold applies the EqualFold predicate on the "bank_name" field.

func BankNameGT

func BankNameGT(v string) predicate.Card

BankNameGT applies the GT predicate on the "bank_name" field.

func BankNameGTE

func BankNameGTE(v string) predicate.Card

BankNameGTE applies the GTE predicate on the "bank_name" field.

func BankNameHasPrefix

func BankNameHasPrefix(v string) predicate.Card

BankNameHasPrefix applies the HasPrefix predicate on the "bank_name" field.

func BankNameHasSuffix

func BankNameHasSuffix(v string) predicate.Card

BankNameHasSuffix applies the HasSuffix predicate on the "bank_name" field.

func BankNameIn

func BankNameIn(vs ...string) predicate.Card

BankNameIn applies the In predicate on the "bank_name" field.

func BankNameIsNil

func BankNameIsNil() predicate.Card

BankNameIsNil applies the IsNil predicate on the "bank_name" field.

func BankNameLT

func BankNameLT(v string) predicate.Card

BankNameLT applies the LT predicate on the "bank_name" field.

func BankNameLTE

func BankNameLTE(v string) predicate.Card

BankNameLTE applies the LTE predicate on the "bank_name" field.

func BankNameNEQ

func BankNameNEQ(v string) predicate.Card

BankNameNEQ applies the NEQ predicate on the "bank_name" field.

func BankNameNotIn

func BankNameNotIn(vs ...string) predicate.Card

BankNameNotIn applies the NotIn predicate on the "bank_name" field.

func BankNameNotNil

func BankNameNotNil() predicate.Card

BankNameNotNil applies the NotNil predicate on the "bank_name" field.

func CardType

func CardType(v string) predicate.Card

CardType applies equality check predicate on the "card_type" field. It's identical to CardTypeEQ.

func CardTypeContains

func CardTypeContains(v string) predicate.Card

CardTypeContains applies the Contains predicate on the "card_type" field.

func CardTypeContainsFold

func CardTypeContainsFold(v string) predicate.Card

CardTypeContainsFold applies the ContainsFold predicate on the "card_type" field.

func CardTypeEQ

func CardTypeEQ(v string) predicate.Card

CardTypeEQ applies the EQ predicate on the "card_type" field.

func CardTypeEqualFold

func CardTypeEqualFold(v string) predicate.Card

CardTypeEqualFold applies the EqualFold predicate on the "card_type" field.

func CardTypeGT

func CardTypeGT(v string) predicate.Card

CardTypeGT applies the GT predicate on the "card_type" field.

func CardTypeGTE

func CardTypeGTE(v string) predicate.Card

CardTypeGTE applies the GTE predicate on the "card_type" field.

func CardTypeHasPrefix

func CardTypeHasPrefix(v string) predicate.Card

CardTypeHasPrefix applies the HasPrefix predicate on the "card_type" field.

func CardTypeHasSuffix

func CardTypeHasSuffix(v string) predicate.Card

CardTypeHasSuffix applies the HasSuffix predicate on the "card_type" field.

func CardTypeIn

func CardTypeIn(vs ...string) predicate.Card

CardTypeIn applies the In predicate on the "card_type" field.

func CardTypeLT

func CardTypeLT(v string) predicate.Card

CardTypeLT applies the LT predicate on the "card_type" field.

func CardTypeLTE

func CardTypeLTE(v string) predicate.Card

CardTypeLTE applies the LTE predicate on the "card_type" field.

func CardTypeNEQ

func CardTypeNEQ(v string) predicate.Card

CardTypeNEQ applies the NEQ predicate on the "card_type" field.

func CardTypeNotIn

func CardTypeNotIn(vs ...string) predicate.Card

CardTypeNotIn applies the NotIn predicate on the "card_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Card

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Card

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Card

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Card

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Card

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Card

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Card

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

func CreatedAtNotIn

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

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

func CurrencyCode

func CurrencyCode(v string) predicate.Card

CurrencyCode applies equality check predicate on the "currency_code" field. It's identical to CurrencyCodeEQ.

func CurrencyCodeContains

func CurrencyCodeContains(v string) predicate.Card

CurrencyCodeContains applies the Contains predicate on the "currency_code" field.

func CurrencyCodeContainsFold

func CurrencyCodeContainsFold(v string) predicate.Card

CurrencyCodeContainsFold applies the ContainsFold predicate on the "currency_code" field.

func CurrencyCodeEQ

func CurrencyCodeEQ(v string) predicate.Card

CurrencyCodeEQ applies the EQ predicate on the "currency_code" field.

func CurrencyCodeEqualFold

func CurrencyCodeEqualFold(v string) predicate.Card

CurrencyCodeEqualFold applies the EqualFold predicate on the "currency_code" field.

func CurrencyCodeGT

func CurrencyCodeGT(v string) predicate.Card

CurrencyCodeGT applies the GT predicate on the "currency_code" field.

func CurrencyCodeGTE

func CurrencyCodeGTE(v string) predicate.Card

CurrencyCodeGTE applies the GTE predicate on the "currency_code" field.

func CurrencyCodeHasPrefix

func CurrencyCodeHasPrefix(v string) predicate.Card

CurrencyCodeHasPrefix applies the HasPrefix predicate on the "currency_code" field.

func CurrencyCodeHasSuffix

func CurrencyCodeHasSuffix(v string) predicate.Card

CurrencyCodeHasSuffix applies the HasSuffix predicate on the "currency_code" field.

func CurrencyCodeIn

func CurrencyCodeIn(vs ...string) predicate.Card

CurrencyCodeIn applies the In predicate on the "currency_code" field.

func CurrencyCodeLT

func CurrencyCodeLT(v string) predicate.Card

CurrencyCodeLT applies the LT predicate on the "currency_code" field.

func CurrencyCodeLTE

func CurrencyCodeLTE(v string) predicate.Card

CurrencyCodeLTE applies the LTE predicate on the "currency_code" field.

func CurrencyCodeNEQ

func CurrencyCodeNEQ(v string) predicate.Card

CurrencyCodeNEQ applies the NEQ predicate on the "currency_code" field.

func CurrencyCodeNotIn

func CurrencyCodeNotIn(vs ...string) predicate.Card

CurrencyCodeNotIn applies the NotIn predicate on the "currency_code" field.

func DisplayName

func DisplayName(v string) predicate.Card

DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.

func DisplayNameContains

func DisplayNameContains(v string) predicate.Card

DisplayNameContains applies the Contains predicate on the "display_name" field.

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.Card

DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.Card

DisplayNameEQ applies the EQ predicate on the "display_name" field.

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.Card

DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.

func DisplayNameGT

func DisplayNameGT(v string) predicate.Card

DisplayNameGT applies the GT predicate on the "display_name" field.

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.Card

DisplayNameGTE applies the GTE predicate on the "display_name" field.

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.Card

DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.Card

DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.

func DisplayNameIn

func DisplayNameIn(vs ...string) predicate.Card

DisplayNameIn applies the In predicate on the "display_name" field.

func DisplayNameLT

func DisplayNameLT(v string) predicate.Card

DisplayNameLT applies the LT predicate on the "display_name" field.

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.Card

DisplayNameLTE applies the LTE predicate on the "display_name" field.

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.Card

DisplayNameNEQ applies the NEQ predicate on the "display_name" field.

func DisplayNameNotIn

func DisplayNameNotIn(vs ...string) predicate.Card

DisplayNameNotIn applies the NotIn predicate on the "display_name" field.

func FinancialAccountID

func FinancialAccountID(v string) predicate.Card

FinancialAccountID applies equality check predicate on the "financial_account_id" field. It's identical to FinancialAccountIDEQ.

func FinancialAccountIDContains

func FinancialAccountIDContains(v string) predicate.Card

FinancialAccountIDContains applies the Contains predicate on the "financial_account_id" field.

func FinancialAccountIDContainsFold

func FinancialAccountIDContainsFold(v string) predicate.Card

FinancialAccountIDContainsFold applies the ContainsFold predicate on the "financial_account_id" field.

func FinancialAccountIDEQ

func FinancialAccountIDEQ(v string) predicate.Card

FinancialAccountIDEQ applies the EQ predicate on the "financial_account_id" field.

func FinancialAccountIDEqualFold

func FinancialAccountIDEqualFold(v string) predicate.Card

FinancialAccountIDEqualFold applies the EqualFold predicate on the "financial_account_id" field.

func FinancialAccountIDGT

func FinancialAccountIDGT(v string) predicate.Card

FinancialAccountIDGT applies the GT predicate on the "financial_account_id" field.

func FinancialAccountIDGTE

func FinancialAccountIDGTE(v string) predicate.Card

FinancialAccountIDGTE applies the GTE predicate on the "financial_account_id" field.

func FinancialAccountIDHasPrefix

func FinancialAccountIDHasPrefix(v string) predicate.Card

FinancialAccountIDHasPrefix applies the HasPrefix predicate on the "financial_account_id" field.

func FinancialAccountIDHasSuffix

func FinancialAccountIDHasSuffix(v string) predicate.Card

FinancialAccountIDHasSuffix applies the HasSuffix predicate on the "financial_account_id" field.

func FinancialAccountIDIn

func FinancialAccountIDIn(vs ...string) predicate.Card

FinancialAccountIDIn applies the In predicate on the "financial_account_id" field.

func FinancialAccountIDIsNil

func FinancialAccountIDIsNil() predicate.Card

FinancialAccountIDIsNil applies the IsNil predicate on the "financial_account_id" field.

func FinancialAccountIDLT

func FinancialAccountIDLT(v string) predicate.Card

FinancialAccountIDLT applies the LT predicate on the "financial_account_id" field.

func FinancialAccountIDLTE

func FinancialAccountIDLTE(v string) predicate.Card

FinancialAccountIDLTE applies the LTE predicate on the "financial_account_id" field.

func FinancialAccountIDNEQ

func FinancialAccountIDNEQ(v string) predicate.Card

FinancialAccountIDNEQ applies the NEQ predicate on the "financial_account_id" field.

func FinancialAccountIDNotIn

func FinancialAccountIDNotIn(vs ...string) predicate.Card

FinancialAccountIDNotIn applies the NotIn predicate on the "financial_account_id" field.

func FinancialAccountIDNotNil

func FinancialAccountIDNotNil() predicate.Card

FinancialAccountIDNotNil applies the NotNil predicate on the "financial_account_id" field.

func HasFinancialAccount

func HasFinancialAccount() predicate.Card

HasFinancialAccount applies the HasEdge predicate on the "financial_account" edge.

func HasFinancialAccountWith

func HasFinancialAccountWith(preds ...predicate.FinancialAccount) predicate.Card

HasFinancialAccountWith applies the HasEdge predicate on the "financial_account" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.Card

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Card

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.Card

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.Card

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Card

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Card

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Card

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Card

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Card

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsActive

func IsActive(v bool) predicate.Card

IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.

func IsActiveEQ

func IsActiveEQ(v bool) predicate.Card

IsActiveEQ applies the EQ predicate on the "is_active" field.

func IsActiveNEQ

func IsActiveNEQ(v bool) predicate.Card

IsActiveNEQ applies the NEQ predicate on the "is_active" field.

func LastDigits

func LastDigits(v uint16) predicate.Card

LastDigits applies equality check predicate on the "last_digits" field. It's identical to LastDigitsEQ.

func LastDigitsEQ

func LastDigitsEQ(v uint16) predicate.Card

LastDigitsEQ applies the EQ predicate on the "last_digits" field.

func LastDigitsGT

func LastDigitsGT(v uint16) predicate.Card

LastDigitsGT applies the GT predicate on the "last_digits" field.

func LastDigitsGTE

func LastDigitsGTE(v uint16) predicate.Card

LastDigitsGTE applies the GTE predicate on the "last_digits" field.

func LastDigitsIn

func LastDigitsIn(vs ...uint16) predicate.Card

LastDigitsIn applies the In predicate on the "last_digits" field.

func LastDigitsIsNil

func LastDigitsIsNil() predicate.Card

LastDigitsIsNil applies the IsNil predicate on the "last_digits" field.

func LastDigitsLT

func LastDigitsLT(v uint16) predicate.Card

LastDigitsLT applies the LT predicate on the "last_digits" field.

func LastDigitsLTE

func LastDigitsLTE(v uint16) predicate.Card

LastDigitsLTE applies the LTE predicate on the "last_digits" field.

func LastDigitsNEQ

func LastDigitsNEQ(v uint16) predicate.Card

LastDigitsNEQ applies the NEQ predicate on the "last_digits" field.

func LastDigitsNotIn

func LastDigitsNotIn(vs ...uint16) predicate.Card

LastDigitsNotIn applies the NotIn predicate on the "last_digits" field.

func LastDigitsNotNil

func LastDigitsNotNil() predicate.Card

LastDigitsNotNil applies the NotNil predicate on the "last_digits" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Card) predicate.Card

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Card

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Card

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Card

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Card

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Card

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Card

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Card

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

func UpdatedAtNotIn

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

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).

func Version

func Version(v uint32) predicate.Card

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v uint32) predicate.Card

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v uint32) predicate.Card

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v uint32) predicate.Card

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...uint32) predicate.Card

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v uint32) predicate.Card

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v uint32) predicate.Card

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v uint32) predicate.Card

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...uint32) predicate.Card

VersionNotIn applies the NotIn predicate on the "version" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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