bank

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the bank type in the database.
	Label = "bank"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldBankCode holds the string denoting the bankcode field in the database.
	FieldBankCode = "bank_code"
	// FieldBankName holds the string denoting the bankname field in the database.
	FieldBankName = "bank_name"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldSwift holds the string denoting the swift field in the database.
	FieldSwift = "swift"
	// EdgeBranches holds the string denoting the branches edge name in mutations.
	EdgeBranches = "branches"
	// Table holds the table name of the bank in the database.
	Table = "banks"
	// BranchesTable is the table the holds the branches relation/edge.
	BranchesTable = "branches"
	// BranchesInverseTable is the table name for the Branch entity.
	// It exists in this package in order to avoid circular dependency with the "branch" package.
	BranchesInverseTable = "branches"
	// BranchesColumn is the table column denoting the branches relation/edge.
	BranchesColumn = "bank_branches"
)

Variables

Columns holds all SQL columns for bank fields.

Functions

func And

func And(predicates ...predicate.Bank) predicate.Bank

And groups predicates with the AND operator between them.

func BankCode

func BankCode(v string) predicate.Bank

BankCode applies equality check predicate on the "bankCode" field. It's identical to BankCodeEQ.

func BankCodeContains

func BankCodeContains(v string) predicate.Bank

BankCodeContains applies the Contains predicate on the "bankCode" field.

func BankCodeContainsFold

func BankCodeContainsFold(v string) predicate.Bank

BankCodeContainsFold applies the ContainsFold predicate on the "bankCode" field.

func BankCodeEQ

func BankCodeEQ(v string) predicate.Bank

BankCodeEQ applies the EQ predicate on the "bankCode" field.

func BankCodeEqualFold

func BankCodeEqualFold(v string) predicate.Bank

BankCodeEqualFold applies the EqualFold predicate on the "bankCode" field.

func BankCodeGT

func BankCodeGT(v string) predicate.Bank

BankCodeGT applies the GT predicate on the "bankCode" field.

func BankCodeGTE

func BankCodeGTE(v string) predicate.Bank

BankCodeGTE applies the GTE predicate on the "bankCode" field.

func BankCodeHasPrefix

func BankCodeHasPrefix(v string) predicate.Bank

BankCodeHasPrefix applies the HasPrefix predicate on the "bankCode" field.

func BankCodeHasSuffix

func BankCodeHasSuffix(v string) predicate.Bank

BankCodeHasSuffix applies the HasSuffix predicate on the "bankCode" field.

func BankCodeIn

func BankCodeIn(vs ...string) predicate.Bank

BankCodeIn applies the In predicate on the "bankCode" field.

func BankCodeLT

func BankCodeLT(v string) predicate.Bank

BankCodeLT applies the LT predicate on the "bankCode" field.

func BankCodeLTE

func BankCodeLTE(v string) predicate.Bank

BankCodeLTE applies the LTE predicate on the "bankCode" field.

func BankCodeNEQ

func BankCodeNEQ(v string) predicate.Bank

BankCodeNEQ applies the NEQ predicate on the "bankCode" field.

func BankCodeNotIn

func BankCodeNotIn(vs ...string) predicate.Bank

BankCodeNotIn applies the NotIn predicate on the "bankCode" field.

func BankName

func BankName(v string) predicate.Bank

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

func BankNameContains

func BankNameContains(v string) predicate.Bank

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

func BankNameContainsFold

func BankNameContainsFold(v string) predicate.Bank

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

func BankNameEQ

func BankNameEQ(v string) predicate.Bank

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

func BankNameEqualFold

func BankNameEqualFold(v string) predicate.Bank

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

func BankNameGT

func BankNameGT(v string) predicate.Bank

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

func BankNameGTE

func BankNameGTE(v string) predicate.Bank

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

func BankNameHasPrefix

func BankNameHasPrefix(v string) predicate.Bank

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

func BankNameHasSuffix

func BankNameHasSuffix(v string) predicate.Bank

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

func BankNameIn

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

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

func BankNameLT

func BankNameLT(v string) predicate.Bank

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

func BankNameLTE

func BankNameLTE(v string) predicate.Bank

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

func BankNameNEQ

func BankNameNEQ(v string) predicate.Bank

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

func BankNameNotIn

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

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

func HasBranches

func HasBranches() predicate.Bank

HasBranches applies the HasEdge predicate on the "branches" edge.

func HasBranchesWith

func HasBranchesWith(preds ...predicate.Branch) predicate.Bank

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

func ID

func ID(id int) predicate.Bank

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Bank

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Bank

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Bank

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Bank

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Bank

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Bank

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Bank

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Bank

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Bank) predicate.Bank

Or groups predicates with the OR operator between them.

func Swift

func Swift(v string) predicate.Bank

Swift applies equality check predicate on the "swift" field. It's identical to SwiftEQ.

func SwiftContains

func SwiftContains(v string) predicate.Bank

SwiftContains applies the Contains predicate on the "swift" field.

func SwiftContainsFold

func SwiftContainsFold(v string) predicate.Bank

SwiftContainsFold applies the ContainsFold predicate on the "swift" field.

func SwiftEQ

func SwiftEQ(v string) predicate.Bank

SwiftEQ applies the EQ predicate on the "swift" field.

func SwiftEqualFold

func SwiftEqualFold(v string) predicate.Bank

SwiftEqualFold applies the EqualFold predicate on the "swift" field.

func SwiftGT

func SwiftGT(v string) predicate.Bank

SwiftGT applies the GT predicate on the "swift" field.

func SwiftGTE

func SwiftGTE(v string) predicate.Bank

SwiftGTE applies the GTE predicate on the "swift" field.

func SwiftHasPrefix

func SwiftHasPrefix(v string) predicate.Bank

SwiftHasPrefix applies the HasPrefix predicate on the "swift" field.

func SwiftHasSuffix

func SwiftHasSuffix(v string) predicate.Bank

SwiftHasSuffix applies the HasSuffix predicate on the "swift" field.

func SwiftIn

func SwiftIn(vs ...string) predicate.Bank

SwiftIn applies the In predicate on the "swift" field.

func SwiftLT

func SwiftLT(v string) predicate.Bank

SwiftLT applies the LT predicate on the "swift" field.

func SwiftLTE

func SwiftLTE(v string) predicate.Bank

SwiftLTE applies the LTE predicate on the "swift" field.

func SwiftNEQ

func SwiftNEQ(v string) predicate.Bank

SwiftNEQ applies the NEQ predicate on the "swift" field.

func SwiftNotIn

func SwiftNotIn(vs ...string) predicate.Bank

SwiftNotIn applies the NotIn predicate on the "swift" field.

func URL

func URL(v string) predicate.Bank

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Bank

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Bank

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Bank

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Bank

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Bank

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Bank

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Bank

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Bank

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Bank

URLIn applies the In predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Bank

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Bank

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Bank

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Bank

URLNotIn applies the NotIn predicate on the "url" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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