Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Transaction) predicate.Transaction
- func BaseAssetID(v pulid.PULID) predicate.Transaction
- func BaseAssetIDContains(v pulid.PULID) predicate.Transaction
- func BaseAssetIDContainsFold(v pulid.PULID) predicate.Transaction
- func BaseAssetIDEQ(v pulid.PULID) predicate.Transaction
- func BaseAssetIDEqualFold(v pulid.PULID) predicate.Transaction
- func BaseAssetIDGT(v pulid.PULID) predicate.Transaction
- func BaseAssetIDGTE(v pulid.PULID) predicate.Transaction
- func BaseAssetIDHasPrefix(v pulid.PULID) predicate.Transaction
- func BaseAssetIDHasSuffix(v pulid.PULID) predicate.Transaction
- func BaseAssetIDIn(vs ...pulid.PULID) predicate.Transaction
- func BaseAssetIDLT(v pulid.PULID) predicate.Transaction
- func BaseAssetIDLTE(v pulid.PULID) predicate.Transaction
- func BaseAssetIDNEQ(v pulid.PULID) predicate.Transaction
- func BaseAssetIDNotIn(vs ...pulid.PULID) predicate.Transaction
- func BlockchainID(v pulid.PULID) predicate.Transaction
- func BlockchainIDContains(v pulid.PULID) predicate.Transaction
- func BlockchainIDContainsFold(v pulid.PULID) predicate.Transaction
- func BlockchainIDEQ(v pulid.PULID) predicate.Transaction
- func BlockchainIDEqualFold(v pulid.PULID) predicate.Transaction
- func BlockchainIDGT(v pulid.PULID) predicate.Transaction
- func BlockchainIDGTE(v pulid.PULID) predicate.Transaction
- func BlockchainIDHasPrefix(v pulid.PULID) predicate.Transaction
- func BlockchainIDHasSuffix(v pulid.PULID) predicate.Transaction
- func BlockchainIDIn(vs ...pulid.PULID) predicate.Transaction
- func BlockchainIDIsNil() predicate.Transaction
- func BlockchainIDLT(v pulid.PULID) predicate.Transaction
- func BlockchainIDLTE(v pulid.PULID) predicate.Transaction
- func BlockchainIDNEQ(v pulid.PULID) predicate.Transaction
- func BlockchainIDNotIn(vs ...pulid.PULID) predicate.Transaction
- func BlockchainIDNotNil() predicate.Transaction
- func CreatedAt(v time.Time) predicate.Transaction
- func CreatedAtEQ(v time.Time) predicate.Transaction
- func CreatedAtGT(v time.Time) predicate.Transaction
- func CreatedAtGTE(v time.Time) predicate.Transaction
- func CreatedAtIn(vs ...time.Time) predicate.Transaction
- func CreatedAtLT(v time.Time) predicate.Transaction
- func CreatedAtLTE(v time.Time) predicate.Transaction
- func CreatedAtNEQ(v time.Time) predicate.Transaction
- func CreatedAtNotIn(vs ...time.Time) predicate.Transaction
- func DeletedAt(v time.Time) predicate.Transaction
- func DeletedAtEQ(v time.Time) predicate.Transaction
- func DeletedAtGT(v time.Time) predicate.Transaction
- func DeletedAtGTE(v time.Time) predicate.Transaction
- func DeletedAtIn(vs ...time.Time) predicate.Transaction
- func DeletedAtIsNil() predicate.Transaction
- func DeletedAtLT(v time.Time) predicate.Transaction
- func DeletedAtLTE(v time.Time) predicate.Transaction
- func DeletedAtNEQ(v time.Time) predicate.Transaction
- func DeletedAtNotIn(vs ...time.Time) predicate.Transaction
- func DeletedAtNotNil() predicate.Transaction
- func ExchangeID(v pulid.PULID) predicate.Transaction
- func ExchangeIDContains(v pulid.PULID) predicate.Transaction
- func ExchangeIDContainsFold(v pulid.PULID) predicate.Transaction
- func ExchangeIDEQ(v pulid.PULID) predicate.Transaction
- func ExchangeIDEqualFold(v pulid.PULID) predicate.Transaction
- func ExchangeIDGT(v pulid.PULID) predicate.Transaction
- func ExchangeIDGTE(v pulid.PULID) predicate.Transaction
- func ExchangeIDHasPrefix(v pulid.PULID) predicate.Transaction
- func ExchangeIDHasSuffix(v pulid.PULID) predicate.Transaction
- func ExchangeIDIn(vs ...pulid.PULID) predicate.Transaction
- func ExchangeIDLT(v pulid.PULID) predicate.Transaction
- func ExchangeIDLTE(v pulid.PULID) predicate.Transaction
- func ExchangeIDNEQ(v pulid.PULID) predicate.Transaction
- func ExchangeIDNotIn(vs ...pulid.PULID) predicate.Transaction
- func HasBaseAsset() predicate.Transaction
- func HasBaseAssetWith(preds ...predicate.Asset) predicate.Transaction
- func HasBlockchain() predicate.Transaction
- func HasBlockchainWith(preds ...predicate.Blockchain) predicate.Transaction
- func HasExchange() predicate.Transaction
- func HasExchangeWith(preds ...predicate.Exchange) predicate.Transaction
- func HasPortfolio() predicate.Transaction
- func HasPortfolioWith(preds ...predicate.Portfolio) predicate.Transaction
- func HasQuoteAsset() predicate.Transaction
- func HasQuoteAssetWith(preds ...predicate.Asset) predicate.Transaction
- func HasTransactionType() predicate.Transaction
- func HasTransactionTypeWith(preds ...predicate.TransactionType) predicate.Transaction
- func ID(id pulid.PULID) predicate.Transaction
- func IDEQ(id pulid.PULID) predicate.Transaction
- func IDGT(id pulid.PULID) predicate.Transaction
- func IDGTE(id pulid.PULID) predicate.Transaction
- func IDIn(ids ...pulid.PULID) predicate.Transaction
- func IDLT(id pulid.PULID) predicate.Transaction
- func IDLTE(id pulid.PULID) predicate.Transaction
- func IDNEQ(id pulid.PULID) predicate.Transaction
- func IDNotIn(ids ...pulid.PULID) predicate.Transaction
- func Not(p predicate.Transaction) predicate.Transaction
- func Or(predicates ...predicate.Transaction) predicate.Transaction
- func PortfolioID(v pulid.PULID) predicate.Transaction
- func PortfolioIDContains(v pulid.PULID) predicate.Transaction
- func PortfolioIDContainsFold(v pulid.PULID) predicate.Transaction
- func PortfolioIDEQ(v pulid.PULID) predicate.Transaction
- func PortfolioIDEqualFold(v pulid.PULID) predicate.Transaction
- func PortfolioIDGT(v pulid.PULID) predicate.Transaction
- func PortfolioIDGTE(v pulid.PULID) predicate.Transaction
- func PortfolioIDHasPrefix(v pulid.PULID) predicate.Transaction
- func PortfolioIDHasSuffix(v pulid.PULID) predicate.Transaction
- func PortfolioIDIn(vs ...pulid.PULID) predicate.Transaction
- func PortfolioIDLT(v pulid.PULID) predicate.Transaction
- func PortfolioIDLTE(v pulid.PULID) predicate.Transaction
- func PortfolioIDNEQ(v pulid.PULID) predicate.Transaction
- func PortfolioIDNotIn(vs ...pulid.PULID) predicate.Transaction
- func PricePerUnit(v float64) predicate.Transaction
- func PricePerUnitEQ(v float64) predicate.Transaction
- func PricePerUnitGT(v float64) predicate.Transaction
- func PricePerUnitGTE(v float64) predicate.Transaction
- func PricePerUnitIn(vs ...float64) predicate.Transaction
- func PricePerUnitLT(v float64) predicate.Transaction
- func PricePerUnitLTE(v float64) predicate.Transaction
- func PricePerUnitNEQ(v float64) predicate.Transaction
- func PricePerUnitNotIn(vs ...float64) predicate.Transaction
- func QuoteAssetID(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDContains(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDContainsFold(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDEQ(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDEqualFold(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDGT(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDGTE(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDHasPrefix(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDHasSuffix(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDIn(vs ...pulid.PULID) predicate.Transaction
- func QuoteAssetIDIsNil() predicate.Transaction
- func QuoteAssetIDLT(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDLTE(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDNEQ(v pulid.PULID) predicate.Transaction
- func QuoteAssetIDNotIn(vs ...pulid.PULID) predicate.Transaction
- func QuoteAssetIDNotNil() predicate.Transaction
- func Time(v time.Time) predicate.Transaction
- func TimeEQ(v time.Time) predicate.Transaction
- func TimeGT(v time.Time) predicate.Transaction
- func TimeGTE(v time.Time) predicate.Transaction
- func TimeIn(vs ...time.Time) predicate.Transaction
- func TimeLT(v time.Time) predicate.Transaction
- func TimeLTE(v time.Time) predicate.Transaction
- func TimeNEQ(v time.Time) predicate.Transaction
- func TimeNotIn(vs ...time.Time) predicate.Transaction
- func Units(v int) predicate.Transaction
- func UnitsEQ(v int) predicate.Transaction
- func UnitsGT(v int) predicate.Transaction
- func UnitsGTE(v int) predicate.Transaction
- func UnitsIn(vs ...int) predicate.Transaction
- func UnitsLT(v int) predicate.Transaction
- func UnitsLTE(v int) predicate.Transaction
- func UnitsNEQ(v int) predicate.Transaction
- func UnitsNotIn(vs ...int) predicate.Transaction
- func UpdatedAt(v time.Time) predicate.Transaction
- func UpdatedAtEQ(v time.Time) predicate.Transaction
- func UpdatedAtGT(v time.Time) predicate.Transaction
- func UpdatedAtGTE(v time.Time) predicate.Transaction
- func UpdatedAtIn(vs ...time.Time) predicate.Transaction
- func UpdatedAtLT(v time.Time) predicate.Transaction
- func UpdatedAtLTE(v time.Time) predicate.Transaction
- func UpdatedAtNEQ(v time.Time) predicate.Transaction
- func UpdatedAtNotIn(vs ...time.Time) 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" // 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" // FieldTime holds the string denoting the time field in the database. FieldTime = "time" // FieldUnits holds the string denoting the units field in the database. FieldUnits = "units" // FieldPricePerUnit holds the string denoting the price_per_unit field in the database. FieldPricePerUnit = "price_per_unit" // FieldBlockchainID holds the string denoting the blockchain_id field in the database. FieldBlockchainID = "blockchain_id" // FieldExchangeID holds the string denoting the exchange_id field in the database. FieldExchangeID = "exchange_id" // FieldPortfolioID holds the string denoting the portfolio_id field in the database. FieldPortfolioID = "portfolio_id" // FieldBaseAssetID holds the string denoting the base_asset_id field in the database. FieldBaseAssetID = "base_asset_id" // FieldQuoteAssetID holds the string denoting the quote_asset_id field in the database. FieldQuoteAssetID = "quote_asset_id" // EdgeTransactionType holds the string denoting the transaction_type edge name in mutations. EdgeTransactionType = "transaction_type" // EdgeBaseAsset holds the string denoting the base_asset edge name in mutations. EdgeBaseAsset = "base_asset" // EdgeQuoteAsset holds the string denoting the quote_asset edge name in mutations. EdgeQuoteAsset = "quote_asset" // EdgePortfolio holds the string denoting the portfolio edge name in mutations. EdgePortfolio = "portfolio" // EdgeExchange holds the string denoting the exchange edge name in mutations. EdgeExchange = "exchange" // EdgeBlockchain holds the string denoting the blockchain edge name in mutations. EdgeBlockchain = "blockchain" // Table holds the table name of the transaction in the database. Table = "transactions" // TransactionTypeTable is the table that holds the transaction_type relation/edge. TransactionTypeTable = "transactions" // TransactionTypeInverseTable is the table name for the TransactionType entity. // It exists in this package in order to avoid circular dependency with the "transactiontype" package. TransactionTypeInverseTable = "transaction_types" // TransactionTypeColumn is the table column denoting the transaction_type relation/edge. TransactionTypeColumn = "transaction_transaction_type" // BaseAssetTable is the table that holds the base_asset relation/edge. BaseAssetTable = "transactions" // BaseAssetInverseTable is the table name for the Asset entity. // It exists in this package in order to avoid circular dependency with the "asset" package. BaseAssetInverseTable = "assets" // BaseAssetColumn is the table column denoting the base_asset relation/edge. BaseAssetColumn = "base_asset_id" // QuoteAssetTable is the table that holds the quote_asset relation/edge. QuoteAssetTable = "transactions" // QuoteAssetInverseTable is the table name for the Asset entity. // It exists in this package in order to avoid circular dependency with the "asset" package. QuoteAssetInverseTable = "assets" // QuoteAssetColumn is the table column denoting the quote_asset relation/edge. QuoteAssetColumn = "quote_asset_id" // PortfolioTable is the table that holds the portfolio relation/edge. PortfolioTable = "transactions" // PortfolioInverseTable is the table name for the Portfolio entity. // It exists in this package in order to avoid circular dependency with the "portfolio" package. PortfolioInverseTable = "portfolios" // PortfolioColumn is the table column denoting the portfolio relation/edge. PortfolioColumn = "portfolio_id" // ExchangeTable is the table that holds the exchange relation/edge. ExchangeTable = "transactions" // ExchangeInverseTable is the table name for the Exchange entity. // It exists in this package in order to avoid circular dependency with the "exchange" package. ExchangeInverseTable = "exchanges" // ExchangeColumn is the table column denoting the exchange relation/edge. ExchangeColumn = "exchange_id" // BlockchainTable is the table that holds the blockchain relation/edge. BlockchainTable = "transactions" // BlockchainInverseTable is the table name for the Blockchain entity. // It exists in this package in order to avoid circular dependency with the "blockchain" package. BlockchainInverseTable = "blockchains" // BlockchainColumn is the table column denoting the blockchain relation/edge. BlockchainColumn = "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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() pulid.PULID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldTime, FieldUnits, FieldPricePerUnit, FieldBlockchainID, FieldExchangeID, FieldPortfolioID, FieldBaseAssetID, FieldQuoteAssetID, }
Columns holds all SQL columns for transaction fields.
var ForeignKeys = []string{
"transaction_transaction_type",
}
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 BaseAssetID ¶
func BaseAssetID(v pulid.PULID) predicate.Transaction
BaseAssetID applies equality check predicate on the "base_asset_id" field. It's identical to BaseAssetIDEQ.
func BaseAssetIDContains ¶
func BaseAssetIDContains(v pulid.PULID) predicate.Transaction
BaseAssetIDContains applies the Contains predicate on the "base_asset_id" field.
func BaseAssetIDContainsFold ¶
func BaseAssetIDContainsFold(v pulid.PULID) predicate.Transaction
BaseAssetIDContainsFold applies the ContainsFold predicate on the "base_asset_id" field.
func BaseAssetIDEQ ¶
func BaseAssetIDEQ(v pulid.PULID) predicate.Transaction
BaseAssetIDEQ applies the EQ predicate on the "base_asset_id" field.
func BaseAssetIDEqualFold ¶
func BaseAssetIDEqualFold(v pulid.PULID) predicate.Transaction
BaseAssetIDEqualFold applies the EqualFold predicate on the "base_asset_id" field.
func BaseAssetIDGT ¶
func BaseAssetIDGT(v pulid.PULID) predicate.Transaction
BaseAssetIDGT applies the GT predicate on the "base_asset_id" field.
func BaseAssetIDGTE ¶
func BaseAssetIDGTE(v pulid.PULID) predicate.Transaction
BaseAssetIDGTE applies the GTE predicate on the "base_asset_id" field.
func BaseAssetIDHasPrefix ¶
func BaseAssetIDHasPrefix(v pulid.PULID) predicate.Transaction
BaseAssetIDHasPrefix applies the HasPrefix predicate on the "base_asset_id" field.
func BaseAssetIDHasSuffix ¶
func BaseAssetIDHasSuffix(v pulid.PULID) predicate.Transaction
BaseAssetIDHasSuffix applies the HasSuffix predicate on the "base_asset_id" field.
func BaseAssetIDIn ¶
func BaseAssetIDIn(vs ...pulid.PULID) predicate.Transaction
BaseAssetIDIn applies the In predicate on the "base_asset_id" field.
func BaseAssetIDLT ¶
func BaseAssetIDLT(v pulid.PULID) predicate.Transaction
BaseAssetIDLT applies the LT predicate on the "base_asset_id" field.
func BaseAssetIDLTE ¶
func BaseAssetIDLTE(v pulid.PULID) predicate.Transaction
BaseAssetIDLTE applies the LTE predicate on the "base_asset_id" field.
func BaseAssetIDNEQ ¶
func BaseAssetIDNEQ(v pulid.PULID) predicate.Transaction
BaseAssetIDNEQ applies the NEQ predicate on the "base_asset_id" field.
func BaseAssetIDNotIn ¶
func BaseAssetIDNotIn(vs ...pulid.PULID) predicate.Transaction
BaseAssetIDNotIn applies the NotIn predicate on the "base_asset_id" field.
func BlockchainID ¶
func BlockchainID(v pulid.PULID) predicate.Transaction
BlockchainID applies equality check predicate on the "blockchain_id" field. It's identical to BlockchainIDEQ.
func BlockchainIDContains ¶
func BlockchainIDContains(v pulid.PULID) predicate.Transaction
BlockchainIDContains applies the Contains predicate on the "blockchain_id" field.
func BlockchainIDContainsFold ¶
func BlockchainIDContainsFold(v pulid.PULID) predicate.Transaction
BlockchainIDContainsFold applies the ContainsFold predicate on the "blockchain_id" field.
func BlockchainIDEQ ¶
func BlockchainIDEQ(v pulid.PULID) predicate.Transaction
BlockchainIDEQ applies the EQ predicate on the "blockchain_id" field.
func BlockchainIDEqualFold ¶
func BlockchainIDEqualFold(v pulid.PULID) predicate.Transaction
BlockchainIDEqualFold applies the EqualFold predicate on the "blockchain_id" field.
func BlockchainIDGT ¶
func BlockchainIDGT(v pulid.PULID) predicate.Transaction
BlockchainIDGT applies the GT predicate on the "blockchain_id" field.
func BlockchainIDGTE ¶
func BlockchainIDGTE(v pulid.PULID) predicate.Transaction
BlockchainIDGTE applies the GTE predicate on the "blockchain_id" field.
func BlockchainIDHasPrefix ¶
func BlockchainIDHasPrefix(v pulid.PULID) predicate.Transaction
BlockchainIDHasPrefix applies the HasPrefix predicate on the "blockchain_id" field.
func BlockchainIDHasSuffix ¶
func BlockchainIDHasSuffix(v pulid.PULID) predicate.Transaction
BlockchainIDHasSuffix applies the HasSuffix predicate on the "blockchain_id" field.
func BlockchainIDIn ¶
func BlockchainIDIn(vs ...pulid.PULID) predicate.Transaction
BlockchainIDIn applies the In predicate on the "blockchain_id" field.
func BlockchainIDIsNil ¶
func BlockchainIDIsNil() predicate.Transaction
BlockchainIDIsNil applies the IsNil predicate on the "blockchain_id" field.
func BlockchainIDLT ¶
func BlockchainIDLT(v pulid.PULID) predicate.Transaction
BlockchainIDLT applies the LT predicate on the "blockchain_id" field.
func BlockchainIDLTE ¶
func BlockchainIDLTE(v pulid.PULID) predicate.Transaction
BlockchainIDLTE applies the LTE predicate on the "blockchain_id" field.
func BlockchainIDNEQ ¶
func BlockchainIDNEQ(v pulid.PULID) predicate.Transaction
BlockchainIDNEQ applies the NEQ predicate on the "blockchain_id" field.
func BlockchainIDNotIn ¶
func BlockchainIDNotIn(vs ...pulid.PULID) predicate.Transaction
BlockchainIDNotIn applies the NotIn predicate on the "blockchain_id" field.
func BlockchainIDNotNil ¶
func BlockchainIDNotNil() predicate.Transaction
BlockchainIDNotNil applies the NotNil predicate on the "blockchain_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Transaction
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Transaction
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Transaction
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Transaction
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Transaction
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Transaction
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Transaction
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Transaction
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Transaction
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.Transaction
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.Transaction
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.Transaction
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.Transaction
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.Transaction
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.Transaction
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.Transaction
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.Transaction
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.Transaction
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.Transaction
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.Transaction
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func ExchangeID ¶
func ExchangeID(v pulid.PULID) predicate.Transaction
ExchangeID applies equality check predicate on the "exchange_id" field. It's identical to ExchangeIDEQ.
func ExchangeIDContains ¶
func ExchangeIDContains(v pulid.PULID) predicate.Transaction
ExchangeIDContains applies the Contains predicate on the "exchange_id" field.
func ExchangeIDContainsFold ¶
func ExchangeIDContainsFold(v pulid.PULID) predicate.Transaction
ExchangeIDContainsFold applies the ContainsFold predicate on the "exchange_id" field.
func ExchangeIDEQ ¶
func ExchangeIDEQ(v pulid.PULID) predicate.Transaction
ExchangeIDEQ applies the EQ predicate on the "exchange_id" field.
func ExchangeIDEqualFold ¶
func ExchangeIDEqualFold(v pulid.PULID) predicate.Transaction
ExchangeIDEqualFold applies the EqualFold predicate on the "exchange_id" field.
func ExchangeIDGT ¶
func ExchangeIDGT(v pulid.PULID) predicate.Transaction
ExchangeIDGT applies the GT predicate on the "exchange_id" field.
func ExchangeIDGTE ¶
func ExchangeIDGTE(v pulid.PULID) predicate.Transaction
ExchangeIDGTE applies the GTE predicate on the "exchange_id" field.
func ExchangeIDHasPrefix ¶
func ExchangeIDHasPrefix(v pulid.PULID) predicate.Transaction
ExchangeIDHasPrefix applies the HasPrefix predicate on the "exchange_id" field.
func ExchangeIDHasSuffix ¶
func ExchangeIDHasSuffix(v pulid.PULID) predicate.Transaction
ExchangeIDHasSuffix applies the HasSuffix predicate on the "exchange_id" field.
func ExchangeIDIn ¶
func ExchangeIDIn(vs ...pulid.PULID) predicate.Transaction
ExchangeIDIn applies the In predicate on the "exchange_id" field.
func ExchangeIDLT ¶
func ExchangeIDLT(v pulid.PULID) predicate.Transaction
ExchangeIDLT applies the LT predicate on the "exchange_id" field.
func ExchangeIDLTE ¶
func ExchangeIDLTE(v pulid.PULID) predicate.Transaction
ExchangeIDLTE applies the LTE predicate on the "exchange_id" field.
func ExchangeIDNEQ ¶
func ExchangeIDNEQ(v pulid.PULID) predicate.Transaction
ExchangeIDNEQ applies the NEQ predicate on the "exchange_id" field.
func ExchangeIDNotIn ¶
func ExchangeIDNotIn(vs ...pulid.PULID) predicate.Transaction
ExchangeIDNotIn applies the NotIn predicate on the "exchange_id" field.
func HasBaseAsset ¶
func HasBaseAsset() predicate.Transaction
HasBaseAsset applies the HasEdge predicate on the "base_asset" edge.
func HasBaseAssetWith ¶
func HasBaseAssetWith(preds ...predicate.Asset) predicate.Transaction
HasBaseAssetWith applies the HasEdge predicate on the "base_asset" edge with a given conditions (other predicates).
func HasBlockchain ¶
func HasBlockchain() predicate.Transaction
HasBlockchain applies the HasEdge predicate on the "blockchain" edge.
func HasBlockchainWith ¶
func HasBlockchainWith(preds ...predicate.Blockchain) predicate.Transaction
HasBlockchainWith applies the HasEdge predicate on the "blockchain" edge with a given conditions (other predicates).
func HasExchange ¶
func HasExchange() predicate.Transaction
HasExchange applies the HasEdge predicate on the "exchange" edge.
func HasExchangeWith ¶
func HasExchangeWith(preds ...predicate.Exchange) predicate.Transaction
HasExchangeWith applies the HasEdge predicate on the "exchange" edge with a given conditions (other predicates).
func HasPortfolio ¶
func HasPortfolio() predicate.Transaction
HasPortfolio applies the HasEdge predicate on the "portfolio" edge.
func HasPortfolioWith ¶
func HasPortfolioWith(preds ...predicate.Portfolio) predicate.Transaction
HasPortfolioWith applies the HasEdge predicate on the "portfolio" edge with a given conditions (other predicates).
func HasQuoteAsset ¶
func HasQuoteAsset() predicate.Transaction
HasQuoteAsset applies the HasEdge predicate on the "quote_asset" edge.
func HasQuoteAssetWith ¶
func HasQuoteAssetWith(preds ...predicate.Asset) predicate.Transaction
HasQuoteAssetWith applies the HasEdge predicate on the "quote_asset" edge with a given conditions (other predicates).
func HasTransactionType ¶
func HasTransactionType() predicate.Transaction
HasTransactionType applies the HasEdge predicate on the "transaction_type" edge.
func HasTransactionTypeWith ¶
func HasTransactionTypeWith(preds ...predicate.TransactionType) predicate.Transaction
HasTransactionTypeWith applies the HasEdge predicate on the "transaction_type" edge with a given conditions (other predicates).
func ID ¶
func ID(id pulid.PULID) predicate.Transaction
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id pulid.PULID) predicate.Transaction
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id pulid.PULID) predicate.Transaction
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id pulid.PULID) predicate.Transaction
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...pulid.PULID) predicate.Transaction
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id pulid.PULID) predicate.Transaction
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id pulid.PULID) predicate.Transaction
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id pulid.PULID) predicate.Transaction
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...pulid.PULID) predicate.Transaction
IDNotIn applies the NotIn predicate on the ID 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 PortfolioID ¶
func PortfolioID(v pulid.PULID) predicate.Transaction
PortfolioID applies equality check predicate on the "portfolio_id" field. It's identical to PortfolioIDEQ.
func PortfolioIDContains ¶
func PortfolioIDContains(v pulid.PULID) predicate.Transaction
PortfolioIDContains applies the Contains predicate on the "portfolio_id" field.
func PortfolioIDContainsFold ¶
func PortfolioIDContainsFold(v pulid.PULID) predicate.Transaction
PortfolioIDContainsFold applies the ContainsFold predicate on the "portfolio_id" field.
func PortfolioIDEQ ¶
func PortfolioIDEQ(v pulid.PULID) predicate.Transaction
PortfolioIDEQ applies the EQ predicate on the "portfolio_id" field.
func PortfolioIDEqualFold ¶
func PortfolioIDEqualFold(v pulid.PULID) predicate.Transaction
PortfolioIDEqualFold applies the EqualFold predicate on the "portfolio_id" field.
func PortfolioIDGT ¶
func PortfolioIDGT(v pulid.PULID) predicate.Transaction
PortfolioIDGT applies the GT predicate on the "portfolio_id" field.
func PortfolioIDGTE ¶
func PortfolioIDGTE(v pulid.PULID) predicate.Transaction
PortfolioIDGTE applies the GTE predicate on the "portfolio_id" field.
func PortfolioIDHasPrefix ¶
func PortfolioIDHasPrefix(v pulid.PULID) predicate.Transaction
PortfolioIDHasPrefix applies the HasPrefix predicate on the "portfolio_id" field.
func PortfolioIDHasSuffix ¶
func PortfolioIDHasSuffix(v pulid.PULID) predicate.Transaction
PortfolioIDHasSuffix applies the HasSuffix predicate on the "portfolio_id" field.
func PortfolioIDIn ¶
func PortfolioIDIn(vs ...pulid.PULID) predicate.Transaction
PortfolioIDIn applies the In predicate on the "portfolio_id" field.
func PortfolioIDLT ¶
func PortfolioIDLT(v pulid.PULID) predicate.Transaction
PortfolioIDLT applies the LT predicate on the "portfolio_id" field.
func PortfolioIDLTE ¶
func PortfolioIDLTE(v pulid.PULID) predicate.Transaction
PortfolioIDLTE applies the LTE predicate on the "portfolio_id" field.
func PortfolioIDNEQ ¶
func PortfolioIDNEQ(v pulid.PULID) predicate.Transaction
PortfolioIDNEQ applies the NEQ predicate on the "portfolio_id" field.
func PortfolioIDNotIn ¶
func PortfolioIDNotIn(vs ...pulid.PULID) predicate.Transaction
PortfolioIDNotIn applies the NotIn predicate on the "portfolio_id" field.
func PricePerUnit ¶
func PricePerUnit(v float64) predicate.Transaction
PricePerUnit applies equality check predicate on the "price_per_unit" field. It's identical to PricePerUnitEQ.
func PricePerUnitEQ ¶
func PricePerUnitEQ(v float64) predicate.Transaction
PricePerUnitEQ applies the EQ predicate on the "price_per_unit" field.
func PricePerUnitGT ¶
func PricePerUnitGT(v float64) predicate.Transaction
PricePerUnitGT applies the GT predicate on the "price_per_unit" field.
func PricePerUnitGTE ¶
func PricePerUnitGTE(v float64) predicate.Transaction
PricePerUnitGTE applies the GTE predicate on the "price_per_unit" field.
func PricePerUnitIn ¶
func PricePerUnitIn(vs ...float64) predicate.Transaction
PricePerUnitIn applies the In predicate on the "price_per_unit" field.
func PricePerUnitLT ¶
func PricePerUnitLT(v float64) predicate.Transaction
PricePerUnitLT applies the LT predicate on the "price_per_unit" field.
func PricePerUnitLTE ¶
func PricePerUnitLTE(v float64) predicate.Transaction
PricePerUnitLTE applies the LTE predicate on the "price_per_unit" field.
func PricePerUnitNEQ ¶
func PricePerUnitNEQ(v float64) predicate.Transaction
PricePerUnitNEQ applies the NEQ predicate on the "price_per_unit" field.
func PricePerUnitNotIn ¶
func PricePerUnitNotIn(vs ...float64) predicate.Transaction
PricePerUnitNotIn applies the NotIn predicate on the "price_per_unit" field.
func QuoteAssetID ¶
func QuoteAssetID(v pulid.PULID) predicate.Transaction
QuoteAssetID applies equality check predicate on the "quote_asset_id" field. It's identical to QuoteAssetIDEQ.
func QuoteAssetIDContains ¶
func QuoteAssetIDContains(v pulid.PULID) predicate.Transaction
QuoteAssetIDContains applies the Contains predicate on the "quote_asset_id" field.
func QuoteAssetIDContainsFold ¶
func QuoteAssetIDContainsFold(v pulid.PULID) predicate.Transaction
QuoteAssetIDContainsFold applies the ContainsFold predicate on the "quote_asset_id" field.
func QuoteAssetIDEQ ¶
func QuoteAssetIDEQ(v pulid.PULID) predicate.Transaction
QuoteAssetIDEQ applies the EQ predicate on the "quote_asset_id" field.
func QuoteAssetIDEqualFold ¶
func QuoteAssetIDEqualFold(v pulid.PULID) predicate.Transaction
QuoteAssetIDEqualFold applies the EqualFold predicate on the "quote_asset_id" field.
func QuoteAssetIDGT ¶
func QuoteAssetIDGT(v pulid.PULID) predicate.Transaction
QuoteAssetIDGT applies the GT predicate on the "quote_asset_id" field.
func QuoteAssetIDGTE ¶
func QuoteAssetIDGTE(v pulid.PULID) predicate.Transaction
QuoteAssetIDGTE applies the GTE predicate on the "quote_asset_id" field.
func QuoteAssetIDHasPrefix ¶
func QuoteAssetIDHasPrefix(v pulid.PULID) predicate.Transaction
QuoteAssetIDHasPrefix applies the HasPrefix predicate on the "quote_asset_id" field.
func QuoteAssetIDHasSuffix ¶
func QuoteAssetIDHasSuffix(v pulid.PULID) predicate.Transaction
QuoteAssetIDHasSuffix applies the HasSuffix predicate on the "quote_asset_id" field.
func QuoteAssetIDIn ¶
func QuoteAssetIDIn(vs ...pulid.PULID) predicate.Transaction
QuoteAssetIDIn applies the In predicate on the "quote_asset_id" field.
func QuoteAssetIDIsNil ¶
func QuoteAssetIDIsNil() predicate.Transaction
QuoteAssetIDIsNil applies the IsNil predicate on the "quote_asset_id" field.
func QuoteAssetIDLT ¶
func QuoteAssetIDLT(v pulid.PULID) predicate.Transaction
QuoteAssetIDLT applies the LT predicate on the "quote_asset_id" field.
func QuoteAssetIDLTE ¶
func QuoteAssetIDLTE(v pulid.PULID) predicate.Transaction
QuoteAssetIDLTE applies the LTE predicate on the "quote_asset_id" field.
func QuoteAssetIDNEQ ¶
func QuoteAssetIDNEQ(v pulid.PULID) predicate.Transaction
QuoteAssetIDNEQ applies the NEQ predicate on the "quote_asset_id" field.
func QuoteAssetIDNotIn ¶
func QuoteAssetIDNotIn(vs ...pulid.PULID) predicate.Transaction
QuoteAssetIDNotIn applies the NotIn predicate on the "quote_asset_id" field.
func QuoteAssetIDNotNil ¶
func QuoteAssetIDNotNil() predicate.Transaction
QuoteAssetIDNotNil applies the NotNil predicate on the "quote_asset_id" field.
func Time ¶
func Time(v time.Time) predicate.Transaction
Time applies equality check predicate on the "time" field. It's identical to TimeEQ.
func TimeEQ ¶
func TimeEQ(v time.Time) predicate.Transaction
TimeEQ applies the EQ predicate on the "time" field.
func TimeGT ¶
func TimeGT(v time.Time) predicate.Transaction
TimeGT applies the GT predicate on the "time" field.
func TimeGTE ¶
func TimeGTE(v time.Time) predicate.Transaction
TimeGTE applies the GTE predicate on the "time" field.
func TimeIn ¶
func TimeIn(vs ...time.Time) predicate.Transaction
TimeIn applies the In predicate on the "time" field.
func TimeLT ¶
func TimeLT(v time.Time) predicate.Transaction
TimeLT applies the LT predicate on the "time" field.
func TimeLTE ¶
func TimeLTE(v time.Time) predicate.Transaction
TimeLTE applies the LTE predicate on the "time" field.
func TimeNEQ ¶
func TimeNEQ(v time.Time) predicate.Transaction
TimeNEQ applies the NEQ predicate on the "time" field.
func TimeNotIn ¶
func TimeNotIn(vs ...time.Time) predicate.Transaction
TimeNotIn applies the NotIn predicate on the "time" field.
func Units ¶
func Units(v int) predicate.Transaction
Units applies equality check predicate on the "units" field. It's identical to UnitsEQ.
func UnitsEQ ¶
func UnitsEQ(v int) predicate.Transaction
UnitsEQ applies the EQ predicate on the "units" field.
func UnitsGT ¶
func UnitsGT(v int) predicate.Transaction
UnitsGT applies the GT predicate on the "units" field.
func UnitsGTE ¶
func UnitsGTE(v int) predicate.Transaction
UnitsGTE applies the GTE predicate on the "units" field.
func UnitsIn ¶
func UnitsIn(vs ...int) predicate.Transaction
UnitsIn applies the In predicate on the "units" field.
func UnitsLT ¶
func UnitsLT(v int) predicate.Transaction
UnitsLT applies the LT predicate on the "units" field.
func UnitsLTE ¶
func UnitsLTE(v int) predicate.Transaction
UnitsLTE applies the LTE predicate on the "units" field.
func UnitsNEQ ¶
func UnitsNEQ(v int) predicate.Transaction
UnitsNEQ applies the NEQ predicate on the "units" field.
func UnitsNotIn ¶
func UnitsNotIn(vs ...int) predicate.Transaction
UnitsNotIn applies the NotIn predicate on the "units" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Transaction
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Transaction
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Transaction
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Transaction
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Transaction
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Transaction
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Transaction
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Transaction
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Transaction
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.