Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TransactionReceipt) predicate.TransactionReceipt
- func HasBlock() predicate.TransactionReceipt
- func HasBlockWith(preds ...predicate.Block) predicate.TransactionReceipt
- func HasTransaction() predicate.TransactionReceipt
- func HasTransactionWith(preds ...predicate.Transaction) predicate.TransactionReceipt
- func ID(id string) predicate.TransactionReceipt
- func IDEQ(id string) predicate.TransactionReceipt
- func IDGT(id string) predicate.TransactionReceipt
- func IDGTE(id string) predicate.TransactionReceipt
- func IDIn(ids ...string) predicate.TransactionReceipt
- func IDLT(id string) predicate.TransactionReceipt
- func IDLTE(id string) predicate.TransactionReceipt
- func IDNEQ(id string) predicate.TransactionReceipt
- func IDNotIn(ids ...string) predicate.TransactionReceipt
- func Not(p predicate.TransactionReceipt) predicate.TransactionReceipt
- func Or(predicates ...predicate.TransactionReceipt) predicate.TransactionReceipt
- func StatusData(v string) predicate.TransactionReceipt
- func StatusDataContains(v string) predicate.TransactionReceipt
- func StatusDataContainsFold(v string) predicate.TransactionReceipt
- func StatusDataEQ(v string) predicate.TransactionReceipt
- func StatusDataEqualFold(v string) predicate.TransactionReceipt
- func StatusDataGT(v string) predicate.TransactionReceipt
- func StatusDataGTE(v string) predicate.TransactionReceipt
- func StatusDataHasPrefix(v string) predicate.TransactionReceipt
- func StatusDataHasSuffix(v string) predicate.TransactionReceipt
- func StatusDataIn(vs ...string) predicate.TransactionReceipt
- func StatusDataLT(v string) predicate.TransactionReceipt
- func StatusDataLTE(v string) predicate.TransactionReceipt
- func StatusDataNEQ(v string) predicate.TransactionReceipt
- func StatusDataNotIn(vs ...string) predicate.TransactionReceipt
- func StatusEQ(v Status) predicate.TransactionReceipt
- func StatusIn(vs ...Status) predicate.TransactionReceipt
- func StatusNEQ(v Status) predicate.TransactionReceipt
- func StatusNotIn(vs ...Status) predicate.TransactionReceipt
- func StatusValidator(s Status) error
- func TransactionHash(v string) predicate.TransactionReceipt
- func TransactionHashContains(v string) predicate.TransactionReceipt
- func TransactionHashContainsFold(v string) predicate.TransactionReceipt
- func TransactionHashEQ(v string) predicate.TransactionReceipt
- func TransactionHashEqualFold(v string) predicate.TransactionReceipt
- func TransactionHashGT(v string) predicate.TransactionReceipt
- func TransactionHashGTE(v string) predicate.TransactionReceipt
- func TransactionHashHasPrefix(v string) predicate.TransactionReceipt
- func TransactionHashHasSuffix(v string) predicate.TransactionReceipt
- func TransactionHashIn(vs ...string) predicate.TransactionReceipt
- func TransactionHashLT(v string) predicate.TransactionReceipt
- func TransactionHashLTE(v string) predicate.TransactionReceipt
- func TransactionHashNEQ(v string) predicate.TransactionReceipt
- func TransactionHashNotIn(vs ...string) predicate.TransactionReceipt
- func ValidColumn(column string) bool
- type Status
Constants ¶
const ( // Label holds the string label denoting the transactionreceipt type in the database. Label = "transaction_receipt" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTransactionHash holds the string denoting the transaction_hash field in the database. FieldTransactionHash = "transaction_hash" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldStatusData holds the string denoting the status_data field in the database. FieldStatusData = "status_data" // FieldMessagesSent holds the string denoting the messages_sent field in the database. FieldMessagesSent = "messages_sent" // FieldL1OriginMessage holds the string denoting the l1_origin_message field in the database. FieldL1OriginMessage = "l1_origin_message" // EdgeBlock holds the string denoting the block edge name in mutations. EdgeBlock = "block" // EdgeTransaction holds the string denoting the transaction edge name in mutations. EdgeTransaction = "transaction" // Table holds the table name of the transactionreceipt in the database. Table = "transaction_receipts" // BlockTable is the table that holds the block relation/edge. BlockTable = "transaction_receipts" // 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_transaction_receipts" // TransactionTable is the table that holds the transaction relation/edge. TransactionTable = "transaction_receipts" // TransactionInverseTable is the table name for the Transaction entity. // It exists in this package in order to avoid circular dependency with the "transaction" package. TransactionInverseTable = "transactions" // TransactionColumn is the table column denoting the transaction relation/edge. TransactionColumn = "transaction_receipt" )
Variables ¶
var Columns = []string{ FieldID, FieldTransactionHash, FieldStatus, FieldStatusData, FieldMessagesSent, FieldL1OriginMessage, }
Columns holds all SQL columns for transactionreceipt fields.
var ForeignKeys = []string{
"block_transaction_receipts",
"transaction_receipt",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "transaction_receipts" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.TransactionReceipt) predicate.TransactionReceipt
And groups predicates with the AND operator between them.
func HasBlock ¶
func HasBlock() predicate.TransactionReceipt
HasBlock applies the HasEdge predicate on the "block" edge.
func HasBlockWith ¶
func HasBlockWith(preds ...predicate.Block) predicate.TransactionReceipt
HasBlockWith applies the HasEdge predicate on the "block" edge with a given conditions (other predicates).
func HasTransaction ¶
func HasTransaction() predicate.TransactionReceipt
HasTransaction applies the HasEdge predicate on the "transaction" edge.
func HasTransactionWith ¶
func HasTransactionWith(preds ...predicate.Transaction) predicate.TransactionReceipt
HasTransactionWith applies the HasEdge predicate on the "transaction" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.TransactionReceipt
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id string) predicate.TransactionReceipt
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.TransactionReceipt
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.TransactionReceipt
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.TransactionReceipt
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.TransactionReceipt
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.TransactionReceipt
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.TransactionReceipt
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.TransactionReceipt
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.TransactionReceipt) predicate.TransactionReceipt
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TransactionReceipt) predicate.TransactionReceipt
Or groups predicates with the OR operator between them.
func StatusData ¶
func StatusData(v string) predicate.TransactionReceipt
StatusData applies equality check predicate on the "status_data" field. It's identical to StatusDataEQ.
func StatusDataContains ¶
func StatusDataContains(v string) predicate.TransactionReceipt
StatusDataContains applies the Contains predicate on the "status_data" field.
func StatusDataContainsFold ¶
func StatusDataContainsFold(v string) predicate.TransactionReceipt
StatusDataContainsFold applies the ContainsFold predicate on the "status_data" field.
func StatusDataEQ ¶
func StatusDataEQ(v string) predicate.TransactionReceipt
StatusDataEQ applies the EQ predicate on the "status_data" field.
func StatusDataEqualFold ¶
func StatusDataEqualFold(v string) predicate.TransactionReceipt
StatusDataEqualFold applies the EqualFold predicate on the "status_data" field.
func StatusDataGT ¶
func StatusDataGT(v string) predicate.TransactionReceipt
StatusDataGT applies the GT predicate on the "status_data" field.
func StatusDataGTE ¶
func StatusDataGTE(v string) predicate.TransactionReceipt
StatusDataGTE applies the GTE predicate on the "status_data" field.
func StatusDataHasPrefix ¶
func StatusDataHasPrefix(v string) predicate.TransactionReceipt
StatusDataHasPrefix applies the HasPrefix predicate on the "status_data" field.
func StatusDataHasSuffix ¶
func StatusDataHasSuffix(v string) predicate.TransactionReceipt
StatusDataHasSuffix applies the HasSuffix predicate on the "status_data" field.
func StatusDataIn ¶
func StatusDataIn(vs ...string) predicate.TransactionReceipt
StatusDataIn applies the In predicate on the "status_data" field.
func StatusDataLT ¶
func StatusDataLT(v string) predicate.TransactionReceipt
StatusDataLT applies the LT predicate on the "status_data" field.
func StatusDataLTE ¶
func StatusDataLTE(v string) predicate.TransactionReceipt
StatusDataLTE applies the LTE predicate on the "status_data" field.
func StatusDataNEQ ¶
func StatusDataNEQ(v string) predicate.TransactionReceipt
StatusDataNEQ applies the NEQ predicate on the "status_data" field.
func StatusDataNotIn ¶
func StatusDataNotIn(vs ...string) predicate.TransactionReceipt
StatusDataNotIn applies the NotIn predicate on the "status_data" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.TransactionReceipt
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.TransactionReceipt
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.TransactionReceipt
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.TransactionReceipt
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TransactionHash ¶
func TransactionHash(v string) predicate.TransactionReceipt
TransactionHash applies equality check predicate on the "transaction_hash" field. It's identical to TransactionHashEQ.
func TransactionHashContains ¶
func TransactionHashContains(v string) predicate.TransactionReceipt
TransactionHashContains applies the Contains predicate on the "transaction_hash" field.
func TransactionHashContainsFold ¶
func TransactionHashContainsFold(v string) predicate.TransactionReceipt
TransactionHashContainsFold applies the ContainsFold predicate on the "transaction_hash" field.
func TransactionHashEQ ¶
func TransactionHashEQ(v string) predicate.TransactionReceipt
TransactionHashEQ applies the EQ predicate on the "transaction_hash" field.
func TransactionHashEqualFold ¶
func TransactionHashEqualFold(v string) predicate.TransactionReceipt
TransactionHashEqualFold applies the EqualFold predicate on the "transaction_hash" field.
func TransactionHashGT ¶
func TransactionHashGT(v string) predicate.TransactionReceipt
TransactionHashGT applies the GT predicate on the "transaction_hash" field.
func TransactionHashGTE ¶
func TransactionHashGTE(v string) predicate.TransactionReceipt
TransactionHashGTE applies the GTE predicate on the "transaction_hash" field.
func TransactionHashHasPrefix ¶
func TransactionHashHasPrefix(v string) predicate.TransactionReceipt
TransactionHashHasPrefix applies the HasPrefix predicate on the "transaction_hash" field.
func TransactionHashHasSuffix ¶
func TransactionHashHasSuffix(v string) predicate.TransactionReceipt
TransactionHashHasSuffix applies the HasSuffix predicate on the "transaction_hash" field.
func TransactionHashIn ¶
func TransactionHashIn(vs ...string) predicate.TransactionReceipt
TransactionHashIn applies the In predicate on the "transaction_hash" field.
func TransactionHashLT ¶
func TransactionHashLT(v string) predicate.TransactionReceipt
TransactionHashLT applies the LT predicate on the "transaction_hash" field.
func TransactionHashLTE ¶
func TransactionHashLTE(v string) predicate.TransactionReceipt
TransactionHashLTE applies the LTE predicate on the "transaction_hash" field.
func TransactionHashNEQ ¶
func TransactionHashNEQ(v string) predicate.TransactionReceipt
TransactionHashNEQ applies the NEQ predicate on the "transaction_hash" field.
func TransactionHashNotIn ¶
func TransactionHashNotIn(vs ...string) predicate.TransactionReceipt
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 ¶
type Status ¶
type Status string
Status defines the type for the "status" enum field.
const ( StatusUNKNOWN Status = "UNKNOWN" StatusRECEIVED Status = "RECEIVED" StatusPENDING Status = "PENDING" StatusACCEPTED_ON_L2 Status = "ACCEPTED_ON_L2" StatusACCEPTED_ON_L1 Status = "ACCEPTED_ON_L1" StatusREJECTED Status = "REJECTED" )
Status values.
func (Status) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Status) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.