Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Blockchain) predicate.Blockchain
- func ChainID(v int64) predicate.Blockchain
- func ChainIDEQ(v int64) predicate.Blockchain
- func ChainIDGT(v int64) predicate.Blockchain
- func ChainIDGTE(v int64) predicate.Blockchain
- func ChainIDIn(vs ...int64) predicate.Blockchain
- func ChainIDIsNil() predicate.Blockchain
- func ChainIDLT(v int64) predicate.Blockchain
- func ChainIDLTE(v int64) predicate.Blockchain
- func ChainIDNEQ(v int64) predicate.Blockchain
- func ChainIDNotIn(vs ...int64) predicate.Blockchain
- func ChainIDNotNil() predicate.Blockchain
- func CreatedAt(v time.Time) predicate.Blockchain
- func CreatedAtEQ(v time.Time) predicate.Blockchain
- func CreatedAtGT(v time.Time) predicate.Blockchain
- func CreatedAtGTE(v time.Time) predicate.Blockchain
- func CreatedAtIn(vs ...time.Time) predicate.Blockchain
- func CreatedAtLT(v time.Time) predicate.Blockchain
- func CreatedAtLTE(v time.Time) predicate.Blockchain
- func CreatedAtNEQ(v time.Time) predicate.Blockchain
- func CreatedAtNotIn(vs ...time.Time) predicate.Blockchain
- func DeletedAt(v time.Time) predicate.Blockchain
- func DeletedAtEQ(v time.Time) predicate.Blockchain
- func DeletedAtGT(v time.Time) predicate.Blockchain
- func DeletedAtGTE(v time.Time) predicate.Blockchain
- func DeletedAtIn(vs ...time.Time) predicate.Blockchain
- func DeletedAtIsNil() predicate.Blockchain
- func DeletedAtLT(v time.Time) predicate.Blockchain
- func DeletedAtLTE(v time.Time) predicate.Blockchain
- func DeletedAtNEQ(v time.Time) predicate.Blockchain
- func DeletedAtNotIn(vs ...time.Time) predicate.Blockchain
- func DeletedAtNotNil() predicate.Blockchain
- func HasCryptocurrencies() predicate.Blockchain
- func HasCryptocurrenciesWith(preds ...predicate.Cryptocurrency) predicate.Blockchain
- func HasTransactions() predicate.Blockchain
- func HasTransactionsWith(preds ...predicate.Transaction) predicate.Blockchain
- func ID(id pulid.PULID) predicate.Blockchain
- func IDEQ(id pulid.PULID) predicate.Blockchain
- func IDGT(id pulid.PULID) predicate.Blockchain
- func IDGTE(id pulid.PULID) predicate.Blockchain
- func IDIn(ids ...pulid.PULID) predicate.Blockchain
- func IDLT(id pulid.PULID) predicate.Blockchain
- func IDLTE(id pulid.PULID) predicate.Blockchain
- func IDNEQ(id pulid.PULID) predicate.Blockchain
- func IDNotIn(ids ...pulid.PULID) predicate.Blockchain
- func Icon(v string) predicate.Blockchain
- func IconContains(v string) predicate.Blockchain
- func IconContainsFold(v string) predicate.Blockchain
- func IconEQ(v string) predicate.Blockchain
- func IconEqualFold(v string) predicate.Blockchain
- func IconGT(v string) predicate.Blockchain
- func IconGTE(v string) predicate.Blockchain
- func IconHasPrefix(v string) predicate.Blockchain
- func IconHasSuffix(v string) predicate.Blockchain
- func IconIn(vs ...string) predicate.Blockchain
- func IconIsNil() predicate.Blockchain
- func IconLT(v string) predicate.Blockchain
- func IconLTE(v string) predicate.Blockchain
- func IconNEQ(v string) predicate.Blockchain
- func IconNotIn(vs ...string) predicate.Blockchain
- func IconNotNil() predicate.Blockchain
- func Name(v string) predicate.Blockchain
- func NameContains(v string) predicate.Blockchain
- func NameContainsFold(v string) predicate.Blockchain
- func NameEQ(v string) predicate.Blockchain
- func NameEqualFold(v string) predicate.Blockchain
- func NameGT(v string) predicate.Blockchain
- func NameGTE(v string) predicate.Blockchain
- func NameHasPrefix(v string) predicate.Blockchain
- func NameHasSuffix(v string) predicate.Blockchain
- func NameIn(vs ...string) predicate.Blockchain
- func NameLT(v string) predicate.Blockchain
- func NameLTE(v string) predicate.Blockchain
- func NameNEQ(v string) predicate.Blockchain
- func NameNotIn(vs ...string) predicate.Blockchain
- func Not(p predicate.Blockchain) predicate.Blockchain
- func Or(predicates ...predicate.Blockchain) predicate.Blockchain
- func Symbol(v string) predicate.Blockchain
- func SymbolContains(v string) predicate.Blockchain
- func SymbolContainsFold(v string) predicate.Blockchain
- func SymbolEQ(v string) predicate.Blockchain
- func SymbolEqualFold(v string) predicate.Blockchain
- func SymbolGT(v string) predicate.Blockchain
- func SymbolGTE(v string) predicate.Blockchain
- func SymbolHasPrefix(v string) predicate.Blockchain
- func SymbolHasSuffix(v string) predicate.Blockchain
- func SymbolIn(vs ...string) predicate.Blockchain
- func SymbolLT(v string) predicate.Blockchain
- func SymbolLTE(v string) predicate.Blockchain
- func SymbolNEQ(v string) predicate.Blockchain
- func SymbolNotIn(vs ...string) predicate.Blockchain
- func UpdatedAt(v time.Time) predicate.Blockchain
- func UpdatedAtEQ(v time.Time) predicate.Blockchain
- func UpdatedAtGT(v time.Time) predicate.Blockchain
- func UpdatedAtGTE(v time.Time) predicate.Blockchain
- func UpdatedAtIn(vs ...time.Time) predicate.Blockchain
- func UpdatedAtLT(v time.Time) predicate.Blockchain
- func UpdatedAtLTE(v time.Time) predicate.Blockchain
- func UpdatedAtNEQ(v time.Time) predicate.Blockchain
- func UpdatedAtNotIn(vs ...time.Time) predicate.Blockchain
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the blockchain type in the database. Label = "blockchain" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSymbol holds the string denoting the symbol field in the database. FieldSymbol = "symbol" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // FieldChainID holds the string denoting the chain_id field in the database. FieldChainID = "chain_id" // EdgeCryptocurrencies holds the string denoting the cryptocurrencies edge name in mutations. EdgeCryptocurrencies = "cryptocurrencies" // EdgeTransactions holds the string denoting the transactions edge name in mutations. EdgeTransactions = "transactions" // Table holds the table name of the blockchain in the database. Table = "blockchains" // CryptocurrenciesTable is the table that holds the cryptocurrencies relation/edge. The primary key declared below. CryptocurrenciesTable = "blockchain_cryptocurrencies" // CryptocurrenciesInverseTable is the table name for the Cryptocurrency entity. // It exists in this package in order to avoid circular dependency with the "cryptocurrency" package. CryptocurrenciesInverseTable = "cryptocurrencies" // TransactionsTable is the table that holds the transactions relation/edge. TransactionsTable = "transactions" // TransactionsInverseTable is the table name for the Transaction entity. // It exists in this package in order to avoid circular dependency with the "transaction" package. TransactionsInverseTable = "transactions" // TransactionsColumn is the table column denoting the transactions relation/edge. TransactionsColumn = "blockchain_id" )
Variables ¶
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 // UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field. UpdateDefaultDeletedAt func() time.Time // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // SymbolValidator is a validator for the "symbol" field. It is called by the builders before save. SymbolValidator func(string) error // IconValidator is a validator for the "icon" field. It is called by the builders before save. IconValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() pulid.PULID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldSymbol, FieldIcon, FieldChainID, }
Columns holds all SQL columns for blockchain fields.
var ( // CryptocurrenciesPrimaryKey and CryptocurrenciesColumn2 are the table columns denoting the // primary key for the cryptocurrencies relation (M2M). CryptocurrenciesPrimaryKey = []string{"blockchain_id", "cryptocurrency_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.Blockchain) predicate.Blockchain
And groups predicates with the AND operator between them.
func ChainID ¶
func ChainID(v int64) predicate.Blockchain
ChainID applies equality check predicate on the "chain_id" field. It's identical to ChainIDEQ.
func ChainIDEQ ¶
func ChainIDEQ(v int64) predicate.Blockchain
ChainIDEQ applies the EQ predicate on the "chain_id" field.
func ChainIDGT ¶
func ChainIDGT(v int64) predicate.Blockchain
ChainIDGT applies the GT predicate on the "chain_id" field.
func ChainIDGTE ¶
func ChainIDGTE(v int64) predicate.Blockchain
ChainIDGTE applies the GTE predicate on the "chain_id" field.
func ChainIDIn ¶
func ChainIDIn(vs ...int64) predicate.Blockchain
ChainIDIn applies the In predicate on the "chain_id" field.
func ChainIDIsNil ¶
func ChainIDIsNil() predicate.Blockchain
ChainIDIsNil applies the IsNil predicate on the "chain_id" field.
func ChainIDLT ¶
func ChainIDLT(v int64) predicate.Blockchain
ChainIDLT applies the LT predicate on the "chain_id" field.
func ChainIDLTE ¶
func ChainIDLTE(v int64) predicate.Blockchain
ChainIDLTE applies the LTE predicate on the "chain_id" field.
func ChainIDNEQ ¶
func ChainIDNEQ(v int64) predicate.Blockchain
ChainIDNEQ applies the NEQ predicate on the "chain_id" field.
func ChainIDNotIn ¶
func ChainIDNotIn(vs ...int64) predicate.Blockchain
ChainIDNotIn applies the NotIn predicate on the "chain_id" field.
func ChainIDNotNil ¶
func ChainIDNotNil() predicate.Blockchain
ChainIDNotNil applies the NotNil predicate on the "chain_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Blockchain
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Blockchain
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Blockchain
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Blockchain
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Blockchain
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Blockchain
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Blockchain
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Blockchain
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Blockchain
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.Blockchain
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.Blockchain
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.Blockchain
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.Blockchain
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.Blockchain
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.Blockchain
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.Blockchain
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.Blockchain
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.Blockchain
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.Blockchain
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.Blockchain
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasCryptocurrencies ¶
func HasCryptocurrencies() predicate.Blockchain
HasCryptocurrencies applies the HasEdge predicate on the "cryptocurrencies" edge.
func HasCryptocurrenciesWith ¶
func HasCryptocurrenciesWith(preds ...predicate.Cryptocurrency) predicate.Blockchain
HasCryptocurrenciesWith applies the HasEdge predicate on the "cryptocurrencies" edge with a given conditions (other predicates).
func HasTransactions ¶
func HasTransactions() predicate.Blockchain
HasTransactions applies the HasEdge predicate on the "transactions" edge.
func HasTransactionsWith ¶
func HasTransactionsWith(preds ...predicate.Transaction) predicate.Blockchain
HasTransactionsWith applies the HasEdge predicate on the "transactions" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id pulid.PULID) predicate.Blockchain
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id pulid.PULID) predicate.Blockchain
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id pulid.PULID) predicate.Blockchain
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...pulid.PULID) predicate.Blockchain
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id pulid.PULID) predicate.Blockchain
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id pulid.PULID) predicate.Blockchain
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id pulid.PULID) predicate.Blockchain
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...pulid.PULID) predicate.Blockchain
IDNotIn applies the NotIn predicate on the ID field.
func Icon ¶
func Icon(v string) predicate.Blockchain
Icon applies equality check predicate on the "icon" field. It's identical to IconEQ.
func IconContains ¶
func IconContains(v string) predicate.Blockchain
IconContains applies the Contains predicate on the "icon" field.
func IconContainsFold ¶
func IconContainsFold(v string) predicate.Blockchain
IconContainsFold applies the ContainsFold predicate on the "icon" field.
func IconEQ ¶
func IconEQ(v string) predicate.Blockchain
IconEQ applies the EQ predicate on the "icon" field.
func IconEqualFold ¶
func IconEqualFold(v string) predicate.Blockchain
IconEqualFold applies the EqualFold predicate on the "icon" field.
func IconGT ¶
func IconGT(v string) predicate.Blockchain
IconGT applies the GT predicate on the "icon" field.
func IconGTE ¶
func IconGTE(v string) predicate.Blockchain
IconGTE applies the GTE predicate on the "icon" field.
func IconHasPrefix ¶
func IconHasPrefix(v string) predicate.Blockchain
IconHasPrefix applies the HasPrefix predicate on the "icon" field.
func IconHasSuffix ¶
func IconHasSuffix(v string) predicate.Blockchain
IconHasSuffix applies the HasSuffix predicate on the "icon" field.
func IconIn ¶
func IconIn(vs ...string) predicate.Blockchain
IconIn applies the In predicate on the "icon" field.
func IconIsNil ¶
func IconIsNil() predicate.Blockchain
IconIsNil applies the IsNil predicate on the "icon" field.
func IconLT ¶
func IconLT(v string) predicate.Blockchain
IconLT applies the LT predicate on the "icon" field.
func IconLTE ¶
func IconLTE(v string) predicate.Blockchain
IconLTE applies the LTE predicate on the "icon" field.
func IconNEQ ¶
func IconNEQ(v string) predicate.Blockchain
IconNEQ applies the NEQ predicate on the "icon" field.
func IconNotIn ¶
func IconNotIn(vs ...string) predicate.Blockchain
IconNotIn applies the NotIn predicate on the "icon" field.
func IconNotNil ¶
func IconNotNil() predicate.Blockchain
IconNotNil applies the NotNil predicate on the "icon" field.
func Name ¶
func Name(v string) predicate.Blockchain
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Blockchain
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Blockchain
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Blockchain
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Blockchain
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Blockchain
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Blockchain
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Blockchain
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Blockchain
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Blockchain
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Blockchain
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Blockchain
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Blockchain
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Blockchain
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.Blockchain) predicate.Blockchain
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Blockchain) predicate.Blockchain
Or groups predicates with the OR operator between them.
func Symbol ¶
func Symbol(v string) predicate.Blockchain
Symbol applies equality check predicate on the "symbol" field. It's identical to SymbolEQ.
func SymbolContains ¶
func SymbolContains(v string) predicate.Blockchain
SymbolContains applies the Contains predicate on the "symbol" field.
func SymbolContainsFold ¶
func SymbolContainsFold(v string) predicate.Blockchain
SymbolContainsFold applies the ContainsFold predicate on the "symbol" field.
func SymbolEQ ¶
func SymbolEQ(v string) predicate.Blockchain
SymbolEQ applies the EQ predicate on the "symbol" field.
func SymbolEqualFold ¶
func SymbolEqualFold(v string) predicate.Blockchain
SymbolEqualFold applies the EqualFold predicate on the "symbol" field.
func SymbolGT ¶
func SymbolGT(v string) predicate.Blockchain
SymbolGT applies the GT predicate on the "symbol" field.
func SymbolGTE ¶
func SymbolGTE(v string) predicate.Blockchain
SymbolGTE applies the GTE predicate on the "symbol" field.
func SymbolHasPrefix ¶
func SymbolHasPrefix(v string) predicate.Blockchain
SymbolHasPrefix applies the HasPrefix predicate on the "symbol" field.
func SymbolHasSuffix ¶
func SymbolHasSuffix(v string) predicate.Blockchain
SymbolHasSuffix applies the HasSuffix predicate on the "symbol" field.
func SymbolIn ¶
func SymbolIn(vs ...string) predicate.Blockchain
SymbolIn applies the In predicate on the "symbol" field.
func SymbolLT ¶
func SymbolLT(v string) predicate.Blockchain
SymbolLT applies the LT predicate on the "symbol" field.
func SymbolLTE ¶
func SymbolLTE(v string) predicate.Blockchain
SymbolLTE applies the LTE predicate on the "symbol" field.
func SymbolNEQ ¶
func SymbolNEQ(v string) predicate.Blockchain
SymbolNEQ applies the NEQ predicate on the "symbol" field.
func SymbolNotIn ¶
func SymbolNotIn(vs ...string) predicate.Blockchain
SymbolNotIn applies the NotIn predicate on the "symbol" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Blockchain
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Blockchain
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Blockchain
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Blockchain
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Blockchain
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Blockchain
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Blockchain
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Blockchain
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Blockchain
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.