Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Transaction) predicate.Transaction
- func ContractAddress(v string) predicate.Transaction
- func ContractAddressContains(v string) predicate.Transaction
- func ContractAddressContainsFold(v string) predicate.Transaction
- func ContractAddressEQ(v string) predicate.Transaction
- func ContractAddressEqualFold(v string) predicate.Transaction
- func ContractAddressGT(v string) predicate.Transaction
- func ContractAddressGTE(v string) predicate.Transaction
- func ContractAddressHasPrefix(v string) predicate.Transaction
- func ContractAddressHasSuffix(v string) predicate.Transaction
- func ContractAddressIn(vs ...string) predicate.Transaction
- func ContractAddressLT(v string) predicate.Transaction
- func ContractAddressLTE(v string) predicate.Transaction
- func ContractAddressNEQ(v string) predicate.Transaction
- func ContractAddressNotIn(vs ...string) predicate.Transaction
- func EntryPointSelector(v string) predicate.Transaction
- func EntryPointSelectorContains(v string) predicate.Transaction
- func EntryPointSelectorContainsFold(v string) predicate.Transaction
- func EntryPointSelectorEQ(v string) predicate.Transaction
- func EntryPointSelectorEqualFold(v string) predicate.Transaction
- func EntryPointSelectorGT(v string) predicate.Transaction
- func EntryPointSelectorGTE(v string) predicate.Transaction
- func EntryPointSelectorHasPrefix(v string) predicate.Transaction
- func EntryPointSelectorHasSuffix(v string) predicate.Transaction
- func EntryPointSelectorIn(vs ...string) predicate.Transaction
- func EntryPointSelectorIsNil() predicate.Transaction
- func EntryPointSelectorLT(v string) predicate.Transaction
- func EntryPointSelectorLTE(v string) predicate.Transaction
- func EntryPointSelectorNEQ(v string) predicate.Transaction
- func EntryPointSelectorNotIn(vs ...string) predicate.Transaction
- func EntryPointSelectorNotNil() predicate.Transaction
- func HasBlock() predicate.Transaction
- func HasBlockWith(preds ...predicate.Block) predicate.Transaction
- func HasEvents() predicate.Transaction
- func HasEventsWith(preds ...predicate.Event) predicate.Transaction
- func HasReceipt() predicate.Transaction
- func HasReceiptWith(preds ...predicate.TransactionReceipt) predicate.Transaction
- func ID(id string) predicate.Transaction
- func IDEQ(id string) predicate.Transaction
- func IDGT(id string) predicate.Transaction
- func IDGTE(id string) predicate.Transaction
- func IDIn(ids ...string) predicate.Transaction
- func IDLT(id string) predicate.Transaction
- func IDLTE(id string) predicate.Transaction
- func IDNEQ(id string) predicate.Transaction
- func IDNotIn(ids ...string) predicate.Transaction
- func Nonce(v string) predicate.Transaction
- func NonceContains(v string) predicate.Transaction
- func NonceContainsFold(v string) predicate.Transaction
- func NonceEQ(v string) predicate.Transaction
- func NonceEqualFold(v string) predicate.Transaction
- func NonceGT(v string) predicate.Transaction
- func NonceGTE(v string) predicate.Transaction
- func NonceHasPrefix(v string) predicate.Transaction
- func NonceHasSuffix(v string) predicate.Transaction
- func NonceIn(vs ...string) predicate.Transaction
- func NonceIsNil() predicate.Transaction
- func NonceLT(v string) predicate.Transaction
- func NonceLTE(v string) predicate.Transaction
- func NonceNEQ(v string) predicate.Transaction
- func NonceNotIn(vs ...string) predicate.Transaction
- func NonceNotNil() predicate.Transaction
- func Not(p predicate.Transaction) predicate.Transaction
- func Or(predicates ...predicate.Transaction) predicate.Transaction
- func SignatureIsNil() predicate.Transaction
- func SignatureNotNil() predicate.Transaction
- func TransactionHash(v string) predicate.Transaction
- func TransactionHashContains(v string) predicate.Transaction
- func TransactionHashContainsFold(v string) predicate.Transaction
- func TransactionHashEQ(v string) predicate.Transaction
- func TransactionHashEqualFold(v string) predicate.Transaction
- func TransactionHashGT(v string) predicate.Transaction
- func TransactionHashGTE(v string) predicate.Transaction
- func TransactionHashHasPrefix(v string) predicate.Transaction
- func TransactionHashHasSuffix(v string) predicate.Transaction
- func TransactionHashIn(vs ...string) predicate.Transaction
- func TransactionHashLT(v string) predicate.Transaction
- func TransactionHashLTE(v string) predicate.Transaction
- func TransactionHashNEQ(v string) predicate.Transaction
- func TransactionHashNotIn(vs ...string) predicate.Transaction
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the transaction type in the database. Label = "transaction" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldContractAddress holds the string denoting the contract_address field in the database. FieldContractAddress = "contract_address" // FieldEntryPointSelector holds the string denoting the entry_point_selector field in the database. FieldEntryPointSelector = "entry_point_selector" // FieldTransactionHash holds the string denoting the transaction_hash field in the database. FieldTransactionHash = "transaction_hash" // FieldCalldata holds the string denoting the calldata field in the database. FieldCalldata = "calldata" // FieldSignature holds the string denoting the signature field in the database. FieldSignature = "signature" // FieldNonce holds the string denoting the nonce field in the database. FieldNonce = "nonce" // EdgeBlock holds the string denoting the block edge name in mutations. EdgeBlock = "block" // EdgeReceipt holds the string denoting the receipt edge name in mutations. EdgeReceipt = "receipt" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the transaction in the database. Table = "transactions" // BlockTable is the table that holds the block relation/edge. BlockTable = "transactions" // BlockInverseTable is the table name for the Block entity. // It exists in this package in order to avoid circular dependency with the "block" package. BlockInverseTable = "blocks" // BlockColumn is the table column denoting the block relation/edge. BlockColumn = "block_transactions" // ReceiptTable is the table that holds the receipt relation/edge. ReceiptTable = "transaction_receipts" // ReceiptInverseTable is the table name for the TransactionReceipt entity. // It exists in this package in order to avoid circular dependency with the "transactionreceipt" package. ReceiptInverseTable = "transaction_receipts" // ReceiptColumn is the table column denoting the receipt relation/edge. ReceiptColumn = "transaction_receipt" // EventsTable is the table that holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "transaction_events" )
Variables ¶
var Columns = []string{ FieldID, FieldContractAddress, FieldEntryPointSelector, FieldTransactionHash, FieldCalldata, FieldSignature, FieldNonce, }
Columns holds all SQL columns for transaction fields.
var ForeignKeys = []string{
"block_transactions",
"contract_transactions",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "transactions" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.Transaction) predicate.Transaction
And groups predicates with the AND operator between them.
func ContractAddress ¶
func ContractAddress(v string) predicate.Transaction
ContractAddress applies equality check predicate on the "contract_address" field. It's identical to ContractAddressEQ.
func ContractAddressContains ¶
func ContractAddressContains(v string) predicate.Transaction
ContractAddressContains applies the Contains predicate on the "contract_address" field.
func ContractAddressContainsFold ¶
func ContractAddressContainsFold(v string) predicate.Transaction
ContractAddressContainsFold applies the ContainsFold predicate on the "contract_address" field.
func ContractAddressEQ ¶
func ContractAddressEQ(v string) predicate.Transaction
ContractAddressEQ applies the EQ predicate on the "contract_address" field.
func ContractAddressEqualFold ¶
func ContractAddressEqualFold(v string) predicate.Transaction
ContractAddressEqualFold applies the EqualFold predicate on the "contract_address" field.
func ContractAddressGT ¶
func ContractAddressGT(v string) predicate.Transaction
ContractAddressGT applies the GT predicate on the "contract_address" field.
func ContractAddressGTE ¶
func ContractAddressGTE(v string) predicate.Transaction
ContractAddressGTE applies the GTE predicate on the "contract_address" field.
func ContractAddressHasPrefix ¶
func ContractAddressHasPrefix(v string) predicate.Transaction
ContractAddressHasPrefix applies the HasPrefix predicate on the "contract_address" field.
func ContractAddressHasSuffix ¶
func ContractAddressHasSuffix(v string) predicate.Transaction
ContractAddressHasSuffix applies the HasSuffix predicate on the "contract_address" field.
func ContractAddressIn ¶
func ContractAddressIn(vs ...string) predicate.Transaction
ContractAddressIn applies the In predicate on the "contract_address" field.
func ContractAddressLT ¶
func ContractAddressLT(v string) predicate.Transaction
ContractAddressLT applies the LT predicate on the "contract_address" field.
func ContractAddressLTE ¶
func ContractAddressLTE(v string) predicate.Transaction
ContractAddressLTE applies the LTE predicate on the "contract_address" field.
func ContractAddressNEQ ¶
func ContractAddressNEQ(v string) predicate.Transaction
ContractAddressNEQ applies the NEQ predicate on the "contract_address" field.
func ContractAddressNotIn ¶
func ContractAddressNotIn(vs ...string) predicate.Transaction
ContractAddressNotIn applies the NotIn predicate on the "contract_address" field.
func EntryPointSelector ¶
func EntryPointSelector(v string) predicate.Transaction
EntryPointSelector applies equality check predicate on the "entry_point_selector" field. It's identical to EntryPointSelectorEQ.
func EntryPointSelectorContains ¶
func EntryPointSelectorContains(v string) predicate.Transaction
EntryPointSelectorContains applies the Contains predicate on the "entry_point_selector" field.
func EntryPointSelectorContainsFold ¶
func EntryPointSelectorContainsFold(v string) predicate.Transaction
EntryPointSelectorContainsFold applies the ContainsFold predicate on the "entry_point_selector" field.
func EntryPointSelectorEQ ¶
func EntryPointSelectorEQ(v string) predicate.Transaction
EntryPointSelectorEQ applies the EQ predicate on the "entry_point_selector" field.
func EntryPointSelectorEqualFold ¶
func EntryPointSelectorEqualFold(v string) predicate.Transaction
EntryPointSelectorEqualFold applies the EqualFold predicate on the "entry_point_selector" field.
func EntryPointSelectorGT ¶
func EntryPointSelectorGT(v string) predicate.Transaction
EntryPointSelectorGT applies the GT predicate on the "entry_point_selector" field.
func EntryPointSelectorGTE ¶
func EntryPointSelectorGTE(v string) predicate.Transaction
EntryPointSelectorGTE applies the GTE predicate on the "entry_point_selector" field.
func EntryPointSelectorHasPrefix ¶
func EntryPointSelectorHasPrefix(v string) predicate.Transaction
EntryPointSelectorHasPrefix applies the HasPrefix predicate on the "entry_point_selector" field.
func EntryPointSelectorHasSuffix ¶
func EntryPointSelectorHasSuffix(v string) predicate.Transaction
EntryPointSelectorHasSuffix applies the HasSuffix predicate on the "entry_point_selector" field.
func EntryPointSelectorIn ¶
func EntryPointSelectorIn(vs ...string) predicate.Transaction
EntryPointSelectorIn applies the In predicate on the "entry_point_selector" field.
func EntryPointSelectorIsNil ¶
func EntryPointSelectorIsNil() predicate.Transaction
EntryPointSelectorIsNil applies the IsNil predicate on the "entry_point_selector" field.
func EntryPointSelectorLT ¶
func EntryPointSelectorLT(v string) predicate.Transaction
EntryPointSelectorLT applies the LT predicate on the "entry_point_selector" field.
func EntryPointSelectorLTE ¶
func EntryPointSelectorLTE(v string) predicate.Transaction
EntryPointSelectorLTE applies the LTE predicate on the "entry_point_selector" field.
func EntryPointSelectorNEQ ¶
func EntryPointSelectorNEQ(v string) predicate.Transaction
EntryPointSelectorNEQ applies the NEQ predicate on the "entry_point_selector" field.
func EntryPointSelectorNotIn ¶
func EntryPointSelectorNotIn(vs ...string) predicate.Transaction
EntryPointSelectorNotIn applies the NotIn predicate on the "entry_point_selector" field.
func EntryPointSelectorNotNil ¶
func EntryPointSelectorNotNil() predicate.Transaction
EntryPointSelectorNotNil applies the NotNil predicate on the "entry_point_selector" field.
func HasBlock ¶
func HasBlock() predicate.Transaction
HasBlock applies the HasEdge predicate on the "block" edge.
func HasBlockWith ¶
func HasBlockWith(preds ...predicate.Block) predicate.Transaction
HasBlockWith applies the HasEdge predicate on the "block" edge with a given conditions (other predicates).
func HasEvents ¶
func HasEvents() predicate.Transaction
HasEvents applies the HasEdge predicate on the "events" edge.
func HasEventsWith ¶
func HasEventsWith(preds ...predicate.Event) predicate.Transaction
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasReceipt ¶
func HasReceipt() predicate.Transaction
HasReceipt applies the HasEdge predicate on the "receipt" edge.
func HasReceiptWith ¶
func HasReceiptWith(preds ...predicate.TransactionReceipt) predicate.Transaction
HasReceiptWith applies the HasEdge predicate on the "receipt" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id string) predicate.Transaction
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.Transaction
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.Transaction
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.Transaction
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.Transaction
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.Transaction
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.Transaction
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.Transaction
IDNotIn applies the NotIn predicate on the ID field.
func Nonce ¶
func Nonce(v string) predicate.Transaction
Nonce applies equality check predicate on the "nonce" field. It's identical to NonceEQ.
func NonceContains ¶
func NonceContains(v string) predicate.Transaction
NonceContains applies the Contains predicate on the "nonce" field.
func NonceContainsFold ¶
func NonceContainsFold(v string) predicate.Transaction
NonceContainsFold applies the ContainsFold predicate on the "nonce" field.
func NonceEQ ¶
func NonceEQ(v string) predicate.Transaction
NonceEQ applies the EQ predicate on the "nonce" field.
func NonceEqualFold ¶
func NonceEqualFold(v string) predicate.Transaction
NonceEqualFold applies the EqualFold predicate on the "nonce" field.
func NonceGT ¶
func NonceGT(v string) predicate.Transaction
NonceGT applies the GT predicate on the "nonce" field.
func NonceGTE ¶
func NonceGTE(v string) predicate.Transaction
NonceGTE applies the GTE predicate on the "nonce" field.
func NonceHasPrefix ¶
func NonceHasPrefix(v string) predicate.Transaction
NonceHasPrefix applies the HasPrefix predicate on the "nonce" field.
func NonceHasSuffix ¶
func NonceHasSuffix(v string) predicate.Transaction
NonceHasSuffix applies the HasSuffix predicate on the "nonce" field.
func NonceIn ¶
func NonceIn(vs ...string) predicate.Transaction
NonceIn applies the In predicate on the "nonce" field.
func NonceIsNil ¶
func NonceIsNil() predicate.Transaction
NonceIsNil applies the IsNil predicate on the "nonce" field.
func NonceLT ¶
func NonceLT(v string) predicate.Transaction
NonceLT applies the LT predicate on the "nonce" field.
func NonceLTE ¶
func NonceLTE(v string) predicate.Transaction
NonceLTE applies the LTE predicate on the "nonce" field.
func NonceNEQ ¶
func NonceNEQ(v string) predicate.Transaction
NonceNEQ applies the NEQ predicate on the "nonce" field.
func NonceNotIn ¶
func NonceNotIn(vs ...string) predicate.Transaction
NonceNotIn applies the NotIn predicate on the "nonce" field.
func NonceNotNil ¶
func NonceNotNil() predicate.Transaction
NonceNotNil applies the NotNil predicate on the "nonce" field.
func Not ¶
func Not(p predicate.Transaction) predicate.Transaction
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Transaction) predicate.Transaction
Or groups predicates with the OR operator between them.
func SignatureIsNil ¶
func SignatureIsNil() predicate.Transaction
SignatureIsNil applies the IsNil predicate on the "signature" field.
func SignatureNotNil ¶
func SignatureNotNil() predicate.Transaction
SignatureNotNil applies the NotNil predicate on the "signature" field.
func TransactionHash ¶
func TransactionHash(v string) predicate.Transaction
TransactionHash applies equality check predicate on the "transaction_hash" field. It's identical to TransactionHashEQ.
func TransactionHashContains ¶
func TransactionHashContains(v string) predicate.Transaction
TransactionHashContains applies the Contains predicate on the "transaction_hash" field.
func TransactionHashContainsFold ¶
func TransactionHashContainsFold(v string) predicate.Transaction
TransactionHashContainsFold applies the ContainsFold predicate on the "transaction_hash" field.
func TransactionHashEQ ¶
func TransactionHashEQ(v string) predicate.Transaction
TransactionHashEQ applies the EQ predicate on the "transaction_hash" field.
func TransactionHashEqualFold ¶
func TransactionHashEqualFold(v string) predicate.Transaction
TransactionHashEqualFold applies the EqualFold predicate on the "transaction_hash" field.
func TransactionHashGT ¶
func TransactionHashGT(v string) predicate.Transaction
TransactionHashGT applies the GT predicate on the "transaction_hash" field.
func TransactionHashGTE ¶
func TransactionHashGTE(v string) predicate.Transaction
TransactionHashGTE applies the GTE predicate on the "transaction_hash" field.
func TransactionHashHasPrefix ¶
func TransactionHashHasPrefix(v string) predicate.Transaction
TransactionHashHasPrefix applies the HasPrefix predicate on the "transaction_hash" field.
func TransactionHashHasSuffix ¶
func TransactionHashHasSuffix(v string) predicate.Transaction
TransactionHashHasSuffix applies the HasSuffix predicate on the "transaction_hash" field.
func TransactionHashIn ¶
func TransactionHashIn(vs ...string) predicate.Transaction
TransactionHashIn applies the In predicate on the "transaction_hash" field.
func TransactionHashLT ¶
func TransactionHashLT(v string) predicate.Transaction
TransactionHashLT applies the LT predicate on the "transaction_hash" field.
func TransactionHashLTE ¶
func TransactionHashLTE(v string) predicate.Transaction
TransactionHashLTE applies the LTE predicate on the "transaction_hash" field.
func TransactionHashNEQ ¶
func TransactionHashNEQ(v string) predicate.Transaction
TransactionHashNEQ applies the NEQ predicate on the "transaction_hash" field.
func TransactionHashNotIn ¶
func TransactionHashNotIn(vs ...string) predicate.Transaction
TransactionHashNotIn applies the NotIn predicate on the "transaction_hash" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.