network

package
v0.0.0-...-6269356 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the network type in the database.
	Label = "network"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldChainID holds the string denoting the chain_id field in the database.
	FieldChainID = "chain_id"
	// FieldChainIDHex holds the string denoting the chain_id_hex field in the database.
	FieldChainIDHex = "chain_id_hex"
	// FieldIdentifier holds the string denoting the identifier field in the database.
	FieldIdentifier = "identifier"
	// FieldRPCEndpoint holds the string denoting the rpc_endpoint field in the database.
	FieldRPCEndpoint = "rpc_endpoint"
	// FieldGatewayContractAddress holds the string denoting the gateway_contract_address field in the database.
	FieldGatewayContractAddress = "gateway_contract_address"
	// FieldIsTestnet holds the string denoting the is_testnet field in the database.
	FieldIsTestnet = "is_testnet"
	// FieldBundlerURL holds the string denoting the bundler_url field in the database.
	FieldBundlerURL = "bundler_url"
	// FieldPaymasterURL holds the string denoting the paymaster_url field in the database.
	FieldPaymasterURL = "paymaster_url"
	// FieldFee holds the string denoting the fee field in the database.
	FieldFee = "fee"
	// EdgeTokens holds the string denoting the tokens edge name in mutations.
	EdgeTokens = "tokens"
	// Table holds the table name of the network in the database.
	Table = "networks"
	// TokensTable is the table that holds the tokens relation/edge.
	TokensTable = "tokens"
	// TokensInverseTable is the table name for the Token entity.
	// It exists in this package in order to avoid circular dependency with the "token" package.
	TokensInverseTable = "tokens"
	// TokensColumn is the table column denoting the tokens relation/edge.
	TokensColumn = "network_tokens"
)

Variables

View Source
var (
	// 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
	// DefaultGatewayContractAddress holds the default value on creation for the "gateway_contract_address" field.
	DefaultGatewayContractAddress string
)

Columns holds all SQL columns for network fields.

Functions

func And

func And(predicates ...predicate.Network) predicate.Network

And groups predicates with the AND operator between them.

func BundlerURL

func BundlerURL(v string) predicate.Network

BundlerURL applies equality check predicate on the "bundler_url" field. It's identical to BundlerURLEQ.

func BundlerURLContains

func BundlerURLContains(v string) predicate.Network

BundlerURLContains applies the Contains predicate on the "bundler_url" field.

func BundlerURLContainsFold

func BundlerURLContainsFold(v string) predicate.Network

BundlerURLContainsFold applies the ContainsFold predicate on the "bundler_url" field.

func BundlerURLEQ

func BundlerURLEQ(v string) predicate.Network

BundlerURLEQ applies the EQ predicate on the "bundler_url" field.

func BundlerURLEqualFold

func BundlerURLEqualFold(v string) predicate.Network

BundlerURLEqualFold applies the EqualFold predicate on the "bundler_url" field.

func BundlerURLGT

func BundlerURLGT(v string) predicate.Network

BundlerURLGT applies the GT predicate on the "bundler_url" field.

func BundlerURLGTE

func BundlerURLGTE(v string) predicate.Network

BundlerURLGTE applies the GTE predicate on the "bundler_url" field.

func BundlerURLHasPrefix

func BundlerURLHasPrefix(v string) predicate.Network

BundlerURLHasPrefix applies the HasPrefix predicate on the "bundler_url" field.

func BundlerURLHasSuffix

func BundlerURLHasSuffix(v string) predicate.Network

BundlerURLHasSuffix applies the HasSuffix predicate on the "bundler_url" field.

func BundlerURLIn

func BundlerURLIn(vs ...string) predicate.Network

BundlerURLIn applies the In predicate on the "bundler_url" field.

func BundlerURLIsNil

func BundlerURLIsNil() predicate.Network

BundlerURLIsNil applies the IsNil predicate on the "bundler_url" field.

func BundlerURLLT

func BundlerURLLT(v string) predicate.Network

BundlerURLLT applies the LT predicate on the "bundler_url" field.

func BundlerURLLTE

func BundlerURLLTE(v string) predicate.Network

BundlerURLLTE applies the LTE predicate on the "bundler_url" field.

func BundlerURLNEQ

func BundlerURLNEQ(v string) predicate.Network

BundlerURLNEQ applies the NEQ predicate on the "bundler_url" field.

func BundlerURLNotIn

func BundlerURLNotIn(vs ...string) predicate.Network

BundlerURLNotIn applies the NotIn predicate on the "bundler_url" field.

func BundlerURLNotNil

func BundlerURLNotNil() predicate.Network

BundlerURLNotNil applies the NotNil predicate on the "bundler_url" field.

func ChainID

func ChainID(v int64) predicate.Network

ChainID applies equality check predicate on the "chain_id" field. It's identical to ChainIDEQ.

func ChainIDEQ

func ChainIDEQ(v int64) predicate.Network

ChainIDEQ applies the EQ predicate on the "chain_id" field.

func ChainIDGT

func ChainIDGT(v int64) predicate.Network

ChainIDGT applies the GT predicate on the "chain_id" field.

func ChainIDGTE

func ChainIDGTE(v int64) predicate.Network

ChainIDGTE applies the GTE predicate on the "chain_id" field.

func ChainIDHex

func ChainIDHex(v string) predicate.Network

ChainIDHex applies equality check predicate on the "chain_id_hex" field. It's identical to ChainIDHexEQ.

func ChainIDHexContains

func ChainIDHexContains(v string) predicate.Network

ChainIDHexContains applies the Contains predicate on the "chain_id_hex" field.

func ChainIDHexContainsFold

func ChainIDHexContainsFold(v string) predicate.Network

ChainIDHexContainsFold applies the ContainsFold predicate on the "chain_id_hex" field.

func ChainIDHexEQ

func ChainIDHexEQ(v string) predicate.Network

ChainIDHexEQ applies the EQ predicate on the "chain_id_hex" field.

func ChainIDHexEqualFold

func ChainIDHexEqualFold(v string) predicate.Network

ChainIDHexEqualFold applies the EqualFold predicate on the "chain_id_hex" field.

func ChainIDHexGT

func ChainIDHexGT(v string) predicate.Network

ChainIDHexGT applies the GT predicate on the "chain_id_hex" field.

func ChainIDHexGTE

func ChainIDHexGTE(v string) predicate.Network

ChainIDHexGTE applies the GTE predicate on the "chain_id_hex" field.

func ChainIDHexHasPrefix

func ChainIDHexHasPrefix(v string) predicate.Network

ChainIDHexHasPrefix applies the HasPrefix predicate on the "chain_id_hex" field.

func ChainIDHexHasSuffix

func ChainIDHexHasSuffix(v string) predicate.Network

ChainIDHexHasSuffix applies the HasSuffix predicate on the "chain_id_hex" field.

func ChainIDHexIn

func ChainIDHexIn(vs ...string) predicate.Network

ChainIDHexIn applies the In predicate on the "chain_id_hex" field.

func ChainIDHexIsNil

func ChainIDHexIsNil() predicate.Network

ChainIDHexIsNil applies the IsNil predicate on the "chain_id_hex" field.

func ChainIDHexLT

func ChainIDHexLT(v string) predicate.Network

ChainIDHexLT applies the LT predicate on the "chain_id_hex" field.

func ChainIDHexLTE

func ChainIDHexLTE(v string) predicate.Network

ChainIDHexLTE applies the LTE predicate on the "chain_id_hex" field.

func ChainIDHexNEQ

func ChainIDHexNEQ(v string) predicate.Network

ChainIDHexNEQ applies the NEQ predicate on the "chain_id_hex" field.

func ChainIDHexNotIn

func ChainIDHexNotIn(vs ...string) predicate.Network

ChainIDHexNotIn applies the NotIn predicate on the "chain_id_hex" field.

func ChainIDHexNotNil

func ChainIDHexNotNil() predicate.Network

ChainIDHexNotNil applies the NotNil predicate on the "chain_id_hex" field.

func ChainIDIn

func ChainIDIn(vs ...int64) predicate.Network

ChainIDIn applies the In predicate on the "chain_id" field.

func ChainIDLT

func ChainIDLT(v int64) predicate.Network

ChainIDLT applies the LT predicate on the "chain_id" field.

func ChainIDLTE

func ChainIDLTE(v int64) predicate.Network

ChainIDLTE applies the LTE predicate on the "chain_id" field.

func ChainIDNEQ

func ChainIDNEQ(v int64) predicate.Network

ChainIDNEQ applies the NEQ predicate on the "chain_id" field.

func ChainIDNotIn

func ChainIDNotIn(vs ...int64) predicate.Network

ChainIDNotIn applies the NotIn predicate on the "chain_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Network

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Network

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Network

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Network

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Network

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Network

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Network

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

func CreatedAtNotIn

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

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

func Fee

Fee applies equality check predicate on the "fee" field. It's identical to FeeEQ.

func FeeEQ

FeeEQ applies the EQ predicate on the "fee" field.

func FeeGT

FeeGT applies the GT predicate on the "fee" field.

func FeeGTE

func FeeGTE(v decimal.Decimal) predicate.Network

FeeGTE applies the GTE predicate on the "fee" field.

func FeeIn

func FeeIn(vs ...decimal.Decimal) predicate.Network

FeeIn applies the In predicate on the "fee" field.

func FeeLT

FeeLT applies the LT predicate on the "fee" field.

func FeeLTE

func FeeLTE(v decimal.Decimal) predicate.Network

FeeLTE applies the LTE predicate on the "fee" field.

func FeeNEQ

func FeeNEQ(v decimal.Decimal) predicate.Network

FeeNEQ applies the NEQ predicate on the "fee" field.

func FeeNotIn

func FeeNotIn(vs ...decimal.Decimal) predicate.Network

FeeNotIn applies the NotIn predicate on the "fee" field.

func GatewayContractAddress

func GatewayContractAddress(v string) predicate.Network

GatewayContractAddress applies equality check predicate on the "gateway_contract_address" field. It's identical to GatewayContractAddressEQ.

func GatewayContractAddressContains

func GatewayContractAddressContains(v string) predicate.Network

GatewayContractAddressContains applies the Contains predicate on the "gateway_contract_address" field.

func GatewayContractAddressContainsFold

func GatewayContractAddressContainsFold(v string) predicate.Network

GatewayContractAddressContainsFold applies the ContainsFold predicate on the "gateway_contract_address" field.

func GatewayContractAddressEQ

func GatewayContractAddressEQ(v string) predicate.Network

GatewayContractAddressEQ applies the EQ predicate on the "gateway_contract_address" field.

func GatewayContractAddressEqualFold

func GatewayContractAddressEqualFold(v string) predicate.Network

GatewayContractAddressEqualFold applies the EqualFold predicate on the "gateway_contract_address" field.

func GatewayContractAddressGT

func GatewayContractAddressGT(v string) predicate.Network

GatewayContractAddressGT applies the GT predicate on the "gateway_contract_address" field.

func GatewayContractAddressGTE

func GatewayContractAddressGTE(v string) predicate.Network

GatewayContractAddressGTE applies the GTE predicate on the "gateway_contract_address" field.

func GatewayContractAddressHasPrefix

func GatewayContractAddressHasPrefix(v string) predicate.Network

GatewayContractAddressHasPrefix applies the HasPrefix predicate on the "gateway_contract_address" field.

func GatewayContractAddressHasSuffix

func GatewayContractAddressHasSuffix(v string) predicate.Network

GatewayContractAddressHasSuffix applies the HasSuffix predicate on the "gateway_contract_address" field.

func GatewayContractAddressIn

func GatewayContractAddressIn(vs ...string) predicate.Network

GatewayContractAddressIn applies the In predicate on the "gateway_contract_address" field.

func GatewayContractAddressLT

func GatewayContractAddressLT(v string) predicate.Network

GatewayContractAddressLT applies the LT predicate on the "gateway_contract_address" field.

func GatewayContractAddressLTE

func GatewayContractAddressLTE(v string) predicate.Network

GatewayContractAddressLTE applies the LTE predicate on the "gateway_contract_address" field.

func GatewayContractAddressNEQ

func GatewayContractAddressNEQ(v string) predicate.Network

GatewayContractAddressNEQ applies the NEQ predicate on the "gateway_contract_address" field.

func GatewayContractAddressNotIn

func GatewayContractAddressNotIn(vs ...string) predicate.Network

GatewayContractAddressNotIn applies the NotIn predicate on the "gateway_contract_address" field.

func HasTokens

func HasTokens() predicate.Network

HasTokens applies the HasEdge predicate on the "tokens" edge.

func HasTokensWith

func HasTokensWith(preds ...predicate.Token) predicate.Network

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

func ID

func ID(id int) predicate.Network

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Network

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Network

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Network

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Network

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Network

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Network

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Identifier

func Identifier(v string) predicate.Network

Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.

func IdentifierContains

func IdentifierContains(v string) predicate.Network

IdentifierContains applies the Contains predicate on the "identifier" field.

func IdentifierContainsFold

func IdentifierContainsFold(v string) predicate.Network

IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.

func IdentifierEQ

func IdentifierEQ(v string) predicate.Network

IdentifierEQ applies the EQ predicate on the "identifier" field.

func IdentifierEqualFold

func IdentifierEqualFold(v string) predicate.Network

IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.

func IdentifierGT

func IdentifierGT(v string) predicate.Network

IdentifierGT applies the GT predicate on the "identifier" field.

func IdentifierGTE

func IdentifierGTE(v string) predicate.Network

IdentifierGTE applies the GTE predicate on the "identifier" field.

func IdentifierHasPrefix

func IdentifierHasPrefix(v string) predicate.Network

IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.

func IdentifierHasSuffix

func IdentifierHasSuffix(v string) predicate.Network

IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.

func IdentifierIn

func IdentifierIn(vs ...string) predicate.Network

IdentifierIn applies the In predicate on the "identifier" field.

func IdentifierLT

func IdentifierLT(v string) predicate.Network

IdentifierLT applies the LT predicate on the "identifier" field.

func IdentifierLTE

func IdentifierLTE(v string) predicate.Network

IdentifierLTE applies the LTE predicate on the "identifier" field.

func IdentifierNEQ

func IdentifierNEQ(v string) predicate.Network

IdentifierNEQ applies the NEQ predicate on the "identifier" field.

func IdentifierNotIn

func IdentifierNotIn(vs ...string) predicate.Network

IdentifierNotIn applies the NotIn predicate on the "identifier" field.

func IsTestnet

func IsTestnet(v bool) predicate.Network

IsTestnet applies equality check predicate on the "is_testnet" field. It's identical to IsTestnetEQ.

func IsTestnetEQ

func IsTestnetEQ(v bool) predicate.Network

IsTestnetEQ applies the EQ predicate on the "is_testnet" field.

func IsTestnetNEQ

func IsTestnetNEQ(v bool) predicate.Network

IsTestnetNEQ applies the NEQ predicate on the "is_testnet" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Network) predicate.Network

Or groups predicates with the OR operator between them.

func PaymasterURL

func PaymasterURL(v string) predicate.Network

PaymasterURL applies equality check predicate on the "paymaster_url" field. It's identical to PaymasterURLEQ.

func PaymasterURLContains

func PaymasterURLContains(v string) predicate.Network

PaymasterURLContains applies the Contains predicate on the "paymaster_url" field.

func PaymasterURLContainsFold

func PaymasterURLContainsFold(v string) predicate.Network

PaymasterURLContainsFold applies the ContainsFold predicate on the "paymaster_url" field.

func PaymasterURLEQ

func PaymasterURLEQ(v string) predicate.Network

PaymasterURLEQ applies the EQ predicate on the "paymaster_url" field.

func PaymasterURLEqualFold

func PaymasterURLEqualFold(v string) predicate.Network

PaymasterURLEqualFold applies the EqualFold predicate on the "paymaster_url" field.

func PaymasterURLGT

func PaymasterURLGT(v string) predicate.Network

PaymasterURLGT applies the GT predicate on the "paymaster_url" field.

func PaymasterURLGTE

func PaymasterURLGTE(v string) predicate.Network

PaymasterURLGTE applies the GTE predicate on the "paymaster_url" field.

func PaymasterURLHasPrefix

func PaymasterURLHasPrefix(v string) predicate.Network

PaymasterURLHasPrefix applies the HasPrefix predicate on the "paymaster_url" field.

func PaymasterURLHasSuffix

func PaymasterURLHasSuffix(v string) predicate.Network

PaymasterURLHasSuffix applies the HasSuffix predicate on the "paymaster_url" field.

func PaymasterURLIn

func PaymasterURLIn(vs ...string) predicate.Network

PaymasterURLIn applies the In predicate on the "paymaster_url" field.

func PaymasterURLIsNil

func PaymasterURLIsNil() predicate.Network

PaymasterURLIsNil applies the IsNil predicate on the "paymaster_url" field.

func PaymasterURLLT

func PaymasterURLLT(v string) predicate.Network

PaymasterURLLT applies the LT predicate on the "paymaster_url" field.

func PaymasterURLLTE

func PaymasterURLLTE(v string) predicate.Network

PaymasterURLLTE applies the LTE predicate on the "paymaster_url" field.

func PaymasterURLNEQ

func PaymasterURLNEQ(v string) predicate.Network

PaymasterURLNEQ applies the NEQ predicate on the "paymaster_url" field.

func PaymasterURLNotIn

func PaymasterURLNotIn(vs ...string) predicate.Network

PaymasterURLNotIn applies the NotIn predicate on the "paymaster_url" field.

func PaymasterURLNotNil

func PaymasterURLNotNil() predicate.Network

PaymasterURLNotNil applies the NotNil predicate on the "paymaster_url" field.

func RPCEndpoint

func RPCEndpoint(v string) predicate.Network

RPCEndpoint applies equality check predicate on the "rpc_endpoint" field. It's identical to RPCEndpointEQ.

func RPCEndpointContains

func RPCEndpointContains(v string) predicate.Network

RPCEndpointContains applies the Contains predicate on the "rpc_endpoint" field.

func RPCEndpointContainsFold

func RPCEndpointContainsFold(v string) predicate.Network

RPCEndpointContainsFold applies the ContainsFold predicate on the "rpc_endpoint" field.

func RPCEndpointEQ

func RPCEndpointEQ(v string) predicate.Network

RPCEndpointEQ applies the EQ predicate on the "rpc_endpoint" field.

func RPCEndpointEqualFold

func RPCEndpointEqualFold(v string) predicate.Network

RPCEndpointEqualFold applies the EqualFold predicate on the "rpc_endpoint" field.

func RPCEndpointGT

func RPCEndpointGT(v string) predicate.Network

RPCEndpointGT applies the GT predicate on the "rpc_endpoint" field.

func RPCEndpointGTE

func RPCEndpointGTE(v string) predicate.Network

RPCEndpointGTE applies the GTE predicate on the "rpc_endpoint" field.

func RPCEndpointHasPrefix

func RPCEndpointHasPrefix(v string) predicate.Network

RPCEndpointHasPrefix applies the HasPrefix predicate on the "rpc_endpoint" field.

func RPCEndpointHasSuffix

func RPCEndpointHasSuffix(v string) predicate.Network

RPCEndpointHasSuffix applies the HasSuffix predicate on the "rpc_endpoint" field.

func RPCEndpointIn

func RPCEndpointIn(vs ...string) predicate.Network

RPCEndpointIn applies the In predicate on the "rpc_endpoint" field.

func RPCEndpointLT

func RPCEndpointLT(v string) predicate.Network

RPCEndpointLT applies the LT predicate on the "rpc_endpoint" field.

func RPCEndpointLTE

func RPCEndpointLTE(v string) predicate.Network

RPCEndpointLTE applies the LTE predicate on the "rpc_endpoint" field.

func RPCEndpointNEQ

func RPCEndpointNEQ(v string) predicate.Network

RPCEndpointNEQ applies the NEQ predicate on the "rpc_endpoint" field.

func RPCEndpointNotIn

func RPCEndpointNotIn(vs ...string) predicate.Network

RPCEndpointNotIn applies the NotIn predicate on the "rpc_endpoint" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Network

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Network

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Network

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Network

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Network

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Network

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Network

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

func UpdatedAtNotIn

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

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Network queries.

func ByBundlerURL

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

ByBundlerURL orders the results by the bundler_url field.

func ByChainID

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

ByChainID orders the results by the chain_id field.

func ByChainIDHex

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

ByChainIDHex orders the results by the chain_id_hex field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByFee

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

ByFee orders the results by the fee field.

func ByGatewayContractAddress

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

ByGatewayContractAddress orders the results by the gateway_contract_address field.

func ByID

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

ByID orders the results by the id field.

func ByIdentifier

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

ByIdentifier orders the results by the identifier field.

func ByIsTestnet

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

ByIsTestnet orders the results by the is_testnet field.

func ByPaymasterURL

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

ByPaymasterURL orders the results by the paymaster_url field.

func ByRPCEndpoint

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

ByRPCEndpoint orders the results by the rpc_endpoint field.

func ByTokens

func ByTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTokens orders the results by tokens terms.

func ByTokensCount

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

ByTokensCount orders the results by tokens count.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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