Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TradingPair) predicate.TradingPair
- func BasePriceMaxPrecision(v int) predicate.TradingPair
- func BasePriceMaxPrecisionEQ(v int) predicate.TradingPair
- func BasePriceMaxPrecisionGT(v int) predicate.TradingPair
- func BasePriceMaxPrecisionGTE(v int) predicate.TradingPair
- func BasePriceMaxPrecisionIn(vs ...int) predicate.TradingPair
- func BasePriceMaxPrecisionIsNil() predicate.TradingPair
- func BasePriceMaxPrecisionLT(v int) predicate.TradingPair
- func BasePriceMaxPrecisionLTE(v int) predicate.TradingPair
- func BasePriceMaxPrecisionNEQ(v int) predicate.TradingPair
- func BasePriceMaxPrecisionNotIn(vs ...int) predicate.TradingPair
- func BasePriceMaxPrecisionNotNil() predicate.TradingPair
- func BasePriceMinPrecision(v int) predicate.TradingPair
- func BasePriceMinPrecisionEQ(v int) predicate.TradingPair
- func BasePriceMinPrecisionGT(v int) predicate.TradingPair
- func BasePriceMinPrecisionGTE(v int) predicate.TradingPair
- func BasePriceMinPrecisionIn(vs ...int) predicate.TradingPair
- func BasePriceMinPrecisionIsNil() predicate.TradingPair
- func BasePriceMinPrecisionLT(v int) predicate.TradingPair
- func BasePriceMinPrecisionLTE(v int) predicate.TradingPair
- func BasePriceMinPrecisionNEQ(v int) predicate.TradingPair
- func BasePriceMinPrecisionNotIn(vs ...int) predicate.TradingPair
- func BasePriceMinPrecisionNotNil() predicate.TradingPair
- func BaseQuantityMaxPrecision(v int) predicate.TradingPair
- func BaseQuantityMaxPrecisionEQ(v int) predicate.TradingPair
- func BaseQuantityMaxPrecisionGT(v int) predicate.TradingPair
- func BaseQuantityMaxPrecisionGTE(v int) predicate.TradingPair
- func BaseQuantityMaxPrecisionIn(vs ...int) predicate.TradingPair
- func BaseQuantityMaxPrecisionIsNil() predicate.TradingPair
- func BaseQuantityMaxPrecisionLT(v int) predicate.TradingPair
- func BaseQuantityMaxPrecisionLTE(v int) predicate.TradingPair
- func BaseQuantityMaxPrecisionNEQ(v int) predicate.TradingPair
- func BaseQuantityMaxPrecisionNotIn(vs ...int) predicate.TradingPair
- func BaseQuantityMaxPrecisionNotNil() predicate.TradingPair
- func BaseQuantityMinPrecision(v int) predicate.TradingPair
- func BaseQuantityMinPrecisionEQ(v int) predicate.TradingPair
- func BaseQuantityMinPrecisionGT(v int) predicate.TradingPair
- func BaseQuantityMinPrecisionGTE(v int) predicate.TradingPair
- func BaseQuantityMinPrecisionIn(vs ...int) predicate.TradingPair
- func BaseQuantityMinPrecisionIsNil() predicate.TradingPair
- func BaseQuantityMinPrecisionLT(v int) predicate.TradingPair
- func BaseQuantityMinPrecisionLTE(v int) predicate.TradingPair
- func BaseQuantityMinPrecisionNEQ(v int) predicate.TradingPair
- func BaseQuantityMinPrecisionNotIn(vs ...int) predicate.TradingPair
- func BaseQuantityMinPrecisionNotNil() predicate.TradingPair
- func CounterPriceMaxPrecision(v int) predicate.TradingPair
- func CounterPriceMaxPrecisionEQ(v int) predicate.TradingPair
- func CounterPriceMaxPrecisionGT(v int) predicate.TradingPair
- func CounterPriceMaxPrecisionGTE(v int) predicate.TradingPair
- func CounterPriceMaxPrecisionIn(vs ...int) predicate.TradingPair
- func CounterPriceMaxPrecisionIsNil() predicate.TradingPair
- func CounterPriceMaxPrecisionLT(v int) predicate.TradingPair
- func CounterPriceMaxPrecisionLTE(v int) predicate.TradingPair
- func CounterPriceMaxPrecisionNEQ(v int) predicate.TradingPair
- func CounterPriceMaxPrecisionNotIn(vs ...int) predicate.TradingPair
- func CounterPriceMaxPrecisionNotNil() predicate.TradingPair
- func CounterPriceMinPrecision(v int) predicate.TradingPair
- func CounterPriceMinPrecisionEQ(v int) predicate.TradingPair
- func CounterPriceMinPrecisionGT(v int) predicate.TradingPair
- func CounterPriceMinPrecisionGTE(v int) predicate.TradingPair
- func CounterPriceMinPrecisionIn(vs ...int) predicate.TradingPair
- func CounterPriceMinPrecisionIsNil() predicate.TradingPair
- func CounterPriceMinPrecisionLT(v int) predicate.TradingPair
- func CounterPriceMinPrecisionLTE(v int) predicate.TradingPair
- func CounterPriceMinPrecisionNEQ(v int) predicate.TradingPair
- func CounterPriceMinPrecisionNotIn(vs ...int) predicate.TradingPair
- func CounterPriceMinPrecisionNotNil() predicate.TradingPair
- func CounterQuantityMaxPrecision(v int) predicate.TradingPair
- func CounterQuantityMaxPrecisionEQ(v int) predicate.TradingPair
- func CounterQuantityMaxPrecisionGT(v int) predicate.TradingPair
- func CounterQuantityMaxPrecisionGTE(v int) predicate.TradingPair
- func CounterQuantityMaxPrecisionIn(vs ...int) predicate.TradingPair
- func CounterQuantityMaxPrecisionIsNil() predicate.TradingPair
- func CounterQuantityMaxPrecisionLT(v int) predicate.TradingPair
- func CounterQuantityMaxPrecisionLTE(v int) predicate.TradingPair
- func CounterQuantityMaxPrecisionNEQ(v int) predicate.TradingPair
- func CounterQuantityMaxPrecisionNotIn(vs ...int) predicate.TradingPair
- func CounterQuantityMaxPrecisionNotNil() predicate.TradingPair
- func CounterQuantityMinPrecision(v int) predicate.TradingPair
- func CounterQuantityMinPrecisionEQ(v int) predicate.TradingPair
- func CounterQuantityMinPrecisionGT(v int) predicate.TradingPair
- func CounterQuantityMinPrecisionGTE(v int) predicate.TradingPair
- func CounterQuantityMinPrecisionIn(vs ...int) predicate.TradingPair
- func CounterQuantityMinPrecisionIsNil() predicate.TradingPair
- func CounterQuantityMinPrecisionLT(v int) predicate.TradingPair
- func CounterQuantityMinPrecisionLTE(v int) predicate.TradingPair
- func CounterQuantityMinPrecisionNEQ(v int) predicate.TradingPair
- func CounterQuantityMinPrecisionNotIn(vs ...int) predicate.TradingPair
- func CounterQuantityMinPrecisionNotNil() predicate.TradingPair
- func HasBase() predicate.TradingPair
- func HasBaseWith(preds ...predicate.Currency) predicate.TradingPair
- func HasCounter() predicate.TradingPair
- func HasCounterWith(preds ...predicate.Currency) predicate.TradingPair
- func HasMarket() predicate.TradingPair
- func HasMarketWith(preds ...predicate.Market) predicate.TradingPair
- func HasVenue() predicate.TradingPair
- func HasVenueWith(preds ...predicate.Venue) predicate.TradingPair
- func ID(id int) predicate.TradingPair
- func IDEQ(id int) predicate.TradingPair
- func IDGT(id int) predicate.TradingPair
- func IDGTE(id int) predicate.TradingPair
- func IDIn(ids ...int) predicate.TradingPair
- func IDLT(id int) predicate.TradingPair
- func IDLTE(id int) predicate.TradingPair
- func IDNEQ(id int) predicate.TradingPair
- func IDNotIn(ids ...int) predicate.TradingPair
- func Not(p predicate.TradingPair) predicate.TradingPair
- func Or(predicates ...predicate.TradingPair) predicate.TradingPair
- func Symbol(v string) predicate.TradingPair
- func SymbolContains(v string) predicate.TradingPair
- func SymbolContainsFold(v string) predicate.TradingPair
- func SymbolEQ(v string) predicate.TradingPair
- func SymbolEqualFold(v string) predicate.TradingPair
- func SymbolGT(v string) predicate.TradingPair
- func SymbolGTE(v string) predicate.TradingPair
- func SymbolHasPrefix(v string) predicate.TradingPair
- func SymbolHasSuffix(v string) predicate.TradingPair
- func SymbolIn(vs ...string) predicate.TradingPair
- func SymbolLT(v string) predicate.TradingPair
- func SymbolLTE(v string) predicate.TradingPair
- func SymbolNEQ(v string) predicate.TradingPair
- func SymbolNotIn(vs ...string) predicate.TradingPair
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the tradingpair type in the database. Label = "trading_pair" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSymbol holds the string denoting the symbol field in the database. FieldSymbol = "symbol" // FieldBasePriceMinPrecision holds the string denoting the base_price_min_precision field in the database. FieldBasePriceMinPrecision = "base_price_min_precision" // FieldBasePriceMaxPrecision holds the string denoting the base_price_max_precision field in the database. FieldBasePriceMaxPrecision = "base_price_max_precision" // FieldBaseQuantityMinPrecision holds the string denoting the base_quantity_min_precision field in the database. FieldBaseQuantityMinPrecision = "base_quantity_min_precision" // FieldBaseQuantityMaxPrecision holds the string denoting the base_quantity_max_precision field in the database. FieldBaseQuantityMaxPrecision = "base_quantity_max_precision" // FieldCounterPriceMinPrecision holds the string denoting the counter_price_min_precision field in the database. FieldCounterPriceMinPrecision = "counter_price_min_precision" // FieldCounterPriceMaxPrecision holds the string denoting the counter_price_max_precision field in the database. FieldCounterPriceMaxPrecision = "counter_price_max_precision" // FieldCounterQuantityMinPrecision holds the string denoting the counter_quantity_min_precision field in the database. FieldCounterQuantityMinPrecision = "counter_quantity_min_precision" // FieldCounterQuantityMaxPrecision holds the string denoting the counter_quantity_max_precision field in the database. FieldCounterQuantityMaxPrecision = "counter_quantity_max_precision" // EdgeVenue holds the string denoting the venue edge name in mutations. EdgeVenue = "venue" // EdgeBase holds the string denoting the base edge name in mutations. EdgeBase = "base" // EdgeCounter holds the string denoting the counter edge name in mutations. EdgeCounter = "counter" // EdgeMarket holds the string denoting the market edge name in mutations. EdgeMarket = "market" // Table holds the table name of the tradingpair in the database. Table = "trading_pairs" // VenueTable is the table that holds the venue relation/edge. VenueTable = "trading_pairs" // VenueInverseTable is the table name for the Venue entity. // It exists in this package in order to avoid circular dependency with the "venue" package. VenueInverseTable = "venues" // VenueColumn is the table column denoting the venue relation/edge. VenueColumn = "venue_trading_pair" // BaseTable is the table that holds the base relation/edge. BaseTable = "trading_pairs" // BaseInverseTable is the table name for the Currency entity. // It exists in this package in order to avoid circular dependency with the "currency" package. BaseInverseTable = "currencies" // BaseColumn is the table column denoting the base relation/edge. BaseColumn = "currency_currency_base" // CounterTable is the table that holds the counter relation/edge. CounterTable = "trading_pairs" // CounterInverseTable is the table name for the Currency entity. // It exists in this package in order to avoid circular dependency with the "currency" package. CounterInverseTable = "currencies" // CounterColumn is the table column denoting the counter relation/edge. CounterColumn = "currency_currency_counter" // MarketTable is the table that holds the market relation/edge. The primary key declared below. MarketTable = "market_trading_pair" // MarketInverseTable is the table name for the Market entity. // It exists in this package in order to avoid circular dependency with the "market" package. MarketInverseTable = "markets" )
Variables ¶
var Columns = []string{ FieldID, FieldSymbol, FieldBasePriceMinPrecision, FieldBasePriceMaxPrecision, FieldBaseQuantityMinPrecision, FieldBaseQuantityMaxPrecision, FieldCounterPriceMinPrecision, FieldCounterPriceMaxPrecision, FieldCounterQuantityMinPrecision, FieldCounterQuantityMaxPrecision, }
Columns holds all SQL columns for tradingpair fields.
var ForeignKeys = []string{
"currency_currency_base",
"currency_currency_counter",
"venue_trading_pair",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "trading_pairs" table and are not defined as standalone fields in the schema.
var ( // MarketPrimaryKey and MarketColumn2 are the table columns denoting the // primary key for the market relation (M2M). MarketPrimaryKey = []string{"market_id", "trading_pair_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.TradingPair) predicate.TradingPair
And groups predicates with the AND operator between them.
func BasePriceMaxPrecision ¶
func BasePriceMaxPrecision(v int) predicate.TradingPair
BasePriceMaxPrecision applies equality check predicate on the "base_price_max_precision" field. It's identical to BasePriceMaxPrecisionEQ.
func BasePriceMaxPrecisionEQ ¶
func BasePriceMaxPrecisionEQ(v int) predicate.TradingPair
BasePriceMaxPrecisionEQ applies the EQ predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionGT ¶
func BasePriceMaxPrecisionGT(v int) predicate.TradingPair
BasePriceMaxPrecisionGT applies the GT predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionGTE ¶
func BasePriceMaxPrecisionGTE(v int) predicate.TradingPair
BasePriceMaxPrecisionGTE applies the GTE predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionIn ¶
func BasePriceMaxPrecisionIn(vs ...int) predicate.TradingPair
BasePriceMaxPrecisionIn applies the In predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionIsNil ¶
func BasePriceMaxPrecisionIsNil() predicate.TradingPair
BasePriceMaxPrecisionIsNil applies the IsNil predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionLT ¶
func BasePriceMaxPrecisionLT(v int) predicate.TradingPair
BasePriceMaxPrecisionLT applies the LT predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionLTE ¶
func BasePriceMaxPrecisionLTE(v int) predicate.TradingPair
BasePriceMaxPrecisionLTE applies the LTE predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionNEQ ¶
func BasePriceMaxPrecisionNEQ(v int) predicate.TradingPair
BasePriceMaxPrecisionNEQ applies the NEQ predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionNotIn ¶
func BasePriceMaxPrecisionNotIn(vs ...int) predicate.TradingPair
BasePriceMaxPrecisionNotIn applies the NotIn predicate on the "base_price_max_precision" field.
func BasePriceMaxPrecisionNotNil ¶
func BasePriceMaxPrecisionNotNil() predicate.TradingPair
BasePriceMaxPrecisionNotNil applies the NotNil predicate on the "base_price_max_precision" field.
func BasePriceMinPrecision ¶
func BasePriceMinPrecision(v int) predicate.TradingPair
BasePriceMinPrecision applies equality check predicate on the "base_price_min_precision" field. It's identical to BasePriceMinPrecisionEQ.
func BasePriceMinPrecisionEQ ¶
func BasePriceMinPrecisionEQ(v int) predicate.TradingPair
BasePriceMinPrecisionEQ applies the EQ predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionGT ¶
func BasePriceMinPrecisionGT(v int) predicate.TradingPair
BasePriceMinPrecisionGT applies the GT predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionGTE ¶
func BasePriceMinPrecisionGTE(v int) predicate.TradingPair
BasePriceMinPrecisionGTE applies the GTE predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionIn ¶
func BasePriceMinPrecisionIn(vs ...int) predicate.TradingPair
BasePriceMinPrecisionIn applies the In predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionIsNil ¶
func BasePriceMinPrecisionIsNil() predicate.TradingPair
BasePriceMinPrecisionIsNil applies the IsNil predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionLT ¶
func BasePriceMinPrecisionLT(v int) predicate.TradingPair
BasePriceMinPrecisionLT applies the LT predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionLTE ¶
func BasePriceMinPrecisionLTE(v int) predicate.TradingPair
BasePriceMinPrecisionLTE applies the LTE predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionNEQ ¶
func BasePriceMinPrecisionNEQ(v int) predicate.TradingPair
BasePriceMinPrecisionNEQ applies the NEQ predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionNotIn ¶
func BasePriceMinPrecisionNotIn(vs ...int) predicate.TradingPair
BasePriceMinPrecisionNotIn applies the NotIn predicate on the "base_price_min_precision" field.
func BasePriceMinPrecisionNotNil ¶
func BasePriceMinPrecisionNotNil() predicate.TradingPair
BasePriceMinPrecisionNotNil applies the NotNil predicate on the "base_price_min_precision" field.
func BaseQuantityMaxPrecision ¶
func BaseQuantityMaxPrecision(v int) predicate.TradingPair
BaseQuantityMaxPrecision applies equality check predicate on the "base_quantity_max_precision" field. It's identical to BaseQuantityMaxPrecisionEQ.
func BaseQuantityMaxPrecisionEQ ¶
func BaseQuantityMaxPrecisionEQ(v int) predicate.TradingPair
BaseQuantityMaxPrecisionEQ applies the EQ predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionGT ¶
func BaseQuantityMaxPrecisionGT(v int) predicate.TradingPair
BaseQuantityMaxPrecisionGT applies the GT predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionGTE ¶
func BaseQuantityMaxPrecisionGTE(v int) predicate.TradingPair
BaseQuantityMaxPrecisionGTE applies the GTE predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionIn ¶
func BaseQuantityMaxPrecisionIn(vs ...int) predicate.TradingPair
BaseQuantityMaxPrecisionIn applies the In predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionIsNil ¶
func BaseQuantityMaxPrecisionIsNil() predicate.TradingPair
BaseQuantityMaxPrecisionIsNil applies the IsNil predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionLT ¶
func BaseQuantityMaxPrecisionLT(v int) predicate.TradingPair
BaseQuantityMaxPrecisionLT applies the LT predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionLTE ¶
func BaseQuantityMaxPrecisionLTE(v int) predicate.TradingPair
BaseQuantityMaxPrecisionLTE applies the LTE predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionNEQ ¶
func BaseQuantityMaxPrecisionNEQ(v int) predicate.TradingPair
BaseQuantityMaxPrecisionNEQ applies the NEQ predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionNotIn ¶
func BaseQuantityMaxPrecisionNotIn(vs ...int) predicate.TradingPair
BaseQuantityMaxPrecisionNotIn applies the NotIn predicate on the "base_quantity_max_precision" field.
func BaseQuantityMaxPrecisionNotNil ¶
func BaseQuantityMaxPrecisionNotNil() predicate.TradingPair
BaseQuantityMaxPrecisionNotNil applies the NotNil predicate on the "base_quantity_max_precision" field.
func BaseQuantityMinPrecision ¶
func BaseQuantityMinPrecision(v int) predicate.TradingPair
BaseQuantityMinPrecision applies equality check predicate on the "base_quantity_min_precision" field. It's identical to BaseQuantityMinPrecisionEQ.
func BaseQuantityMinPrecisionEQ ¶
func BaseQuantityMinPrecisionEQ(v int) predicate.TradingPair
BaseQuantityMinPrecisionEQ applies the EQ predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionGT ¶
func BaseQuantityMinPrecisionGT(v int) predicate.TradingPair
BaseQuantityMinPrecisionGT applies the GT predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionGTE ¶
func BaseQuantityMinPrecisionGTE(v int) predicate.TradingPair
BaseQuantityMinPrecisionGTE applies the GTE predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionIn ¶
func BaseQuantityMinPrecisionIn(vs ...int) predicate.TradingPair
BaseQuantityMinPrecisionIn applies the In predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionIsNil ¶
func BaseQuantityMinPrecisionIsNil() predicate.TradingPair
BaseQuantityMinPrecisionIsNil applies the IsNil predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionLT ¶
func BaseQuantityMinPrecisionLT(v int) predicate.TradingPair
BaseQuantityMinPrecisionLT applies the LT predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionLTE ¶
func BaseQuantityMinPrecisionLTE(v int) predicate.TradingPair
BaseQuantityMinPrecisionLTE applies the LTE predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionNEQ ¶
func BaseQuantityMinPrecisionNEQ(v int) predicate.TradingPair
BaseQuantityMinPrecisionNEQ applies the NEQ predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionNotIn ¶
func BaseQuantityMinPrecisionNotIn(vs ...int) predicate.TradingPair
BaseQuantityMinPrecisionNotIn applies the NotIn predicate on the "base_quantity_min_precision" field.
func BaseQuantityMinPrecisionNotNil ¶
func BaseQuantityMinPrecisionNotNil() predicate.TradingPair
BaseQuantityMinPrecisionNotNil applies the NotNil predicate on the "base_quantity_min_precision" field.
func CounterPriceMaxPrecision ¶
func CounterPriceMaxPrecision(v int) predicate.TradingPair
CounterPriceMaxPrecision applies equality check predicate on the "counter_price_max_precision" field. It's identical to CounterPriceMaxPrecisionEQ.
func CounterPriceMaxPrecisionEQ ¶
func CounterPriceMaxPrecisionEQ(v int) predicate.TradingPair
CounterPriceMaxPrecisionEQ applies the EQ predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionGT ¶
func CounterPriceMaxPrecisionGT(v int) predicate.TradingPair
CounterPriceMaxPrecisionGT applies the GT predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionGTE ¶
func CounterPriceMaxPrecisionGTE(v int) predicate.TradingPair
CounterPriceMaxPrecisionGTE applies the GTE predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionIn ¶
func CounterPriceMaxPrecisionIn(vs ...int) predicate.TradingPair
CounterPriceMaxPrecisionIn applies the In predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionIsNil ¶
func CounterPriceMaxPrecisionIsNil() predicate.TradingPair
CounterPriceMaxPrecisionIsNil applies the IsNil predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionLT ¶
func CounterPriceMaxPrecisionLT(v int) predicate.TradingPair
CounterPriceMaxPrecisionLT applies the LT predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionLTE ¶
func CounterPriceMaxPrecisionLTE(v int) predicate.TradingPair
CounterPriceMaxPrecisionLTE applies the LTE predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionNEQ ¶
func CounterPriceMaxPrecisionNEQ(v int) predicate.TradingPair
CounterPriceMaxPrecisionNEQ applies the NEQ predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionNotIn ¶
func CounterPriceMaxPrecisionNotIn(vs ...int) predicate.TradingPair
CounterPriceMaxPrecisionNotIn applies the NotIn predicate on the "counter_price_max_precision" field.
func CounterPriceMaxPrecisionNotNil ¶
func CounterPriceMaxPrecisionNotNil() predicate.TradingPair
CounterPriceMaxPrecisionNotNil applies the NotNil predicate on the "counter_price_max_precision" field.
func CounterPriceMinPrecision ¶
func CounterPriceMinPrecision(v int) predicate.TradingPair
CounterPriceMinPrecision applies equality check predicate on the "counter_price_min_precision" field. It's identical to CounterPriceMinPrecisionEQ.
func CounterPriceMinPrecisionEQ ¶
func CounterPriceMinPrecisionEQ(v int) predicate.TradingPair
CounterPriceMinPrecisionEQ applies the EQ predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionGT ¶
func CounterPriceMinPrecisionGT(v int) predicate.TradingPair
CounterPriceMinPrecisionGT applies the GT predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionGTE ¶
func CounterPriceMinPrecisionGTE(v int) predicate.TradingPair
CounterPriceMinPrecisionGTE applies the GTE predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionIn ¶
func CounterPriceMinPrecisionIn(vs ...int) predicate.TradingPair
CounterPriceMinPrecisionIn applies the In predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionIsNil ¶
func CounterPriceMinPrecisionIsNil() predicate.TradingPair
CounterPriceMinPrecisionIsNil applies the IsNil predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionLT ¶
func CounterPriceMinPrecisionLT(v int) predicate.TradingPair
CounterPriceMinPrecisionLT applies the LT predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionLTE ¶
func CounterPriceMinPrecisionLTE(v int) predicate.TradingPair
CounterPriceMinPrecisionLTE applies the LTE predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionNEQ ¶
func CounterPriceMinPrecisionNEQ(v int) predicate.TradingPair
CounterPriceMinPrecisionNEQ applies the NEQ predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionNotIn ¶
func CounterPriceMinPrecisionNotIn(vs ...int) predicate.TradingPair
CounterPriceMinPrecisionNotIn applies the NotIn predicate on the "counter_price_min_precision" field.
func CounterPriceMinPrecisionNotNil ¶
func CounterPriceMinPrecisionNotNil() predicate.TradingPair
CounterPriceMinPrecisionNotNil applies the NotNil predicate on the "counter_price_min_precision" field.
func CounterQuantityMaxPrecision ¶
func CounterQuantityMaxPrecision(v int) predicate.TradingPair
CounterQuantityMaxPrecision applies equality check predicate on the "counter_quantity_max_precision" field. It's identical to CounterQuantityMaxPrecisionEQ.
func CounterQuantityMaxPrecisionEQ ¶
func CounterQuantityMaxPrecisionEQ(v int) predicate.TradingPair
CounterQuantityMaxPrecisionEQ applies the EQ predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionGT ¶
func CounterQuantityMaxPrecisionGT(v int) predicate.TradingPair
CounterQuantityMaxPrecisionGT applies the GT predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionGTE ¶
func CounterQuantityMaxPrecisionGTE(v int) predicate.TradingPair
CounterQuantityMaxPrecisionGTE applies the GTE predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionIn ¶
func CounterQuantityMaxPrecisionIn(vs ...int) predicate.TradingPair
CounterQuantityMaxPrecisionIn applies the In predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionIsNil ¶
func CounterQuantityMaxPrecisionIsNil() predicate.TradingPair
CounterQuantityMaxPrecisionIsNil applies the IsNil predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionLT ¶
func CounterQuantityMaxPrecisionLT(v int) predicate.TradingPair
CounterQuantityMaxPrecisionLT applies the LT predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionLTE ¶
func CounterQuantityMaxPrecisionLTE(v int) predicate.TradingPair
CounterQuantityMaxPrecisionLTE applies the LTE predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionNEQ ¶
func CounterQuantityMaxPrecisionNEQ(v int) predicate.TradingPair
CounterQuantityMaxPrecisionNEQ applies the NEQ predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionNotIn ¶
func CounterQuantityMaxPrecisionNotIn(vs ...int) predicate.TradingPair
CounterQuantityMaxPrecisionNotIn applies the NotIn predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMaxPrecisionNotNil ¶
func CounterQuantityMaxPrecisionNotNil() predicate.TradingPair
CounterQuantityMaxPrecisionNotNil applies the NotNil predicate on the "counter_quantity_max_precision" field.
func CounterQuantityMinPrecision ¶
func CounterQuantityMinPrecision(v int) predicate.TradingPair
CounterQuantityMinPrecision applies equality check predicate on the "counter_quantity_min_precision" field. It's identical to CounterQuantityMinPrecisionEQ.
func CounterQuantityMinPrecisionEQ ¶
func CounterQuantityMinPrecisionEQ(v int) predicate.TradingPair
CounterQuantityMinPrecisionEQ applies the EQ predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionGT ¶
func CounterQuantityMinPrecisionGT(v int) predicate.TradingPair
CounterQuantityMinPrecisionGT applies the GT predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionGTE ¶
func CounterQuantityMinPrecisionGTE(v int) predicate.TradingPair
CounterQuantityMinPrecisionGTE applies the GTE predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionIn ¶
func CounterQuantityMinPrecisionIn(vs ...int) predicate.TradingPair
CounterQuantityMinPrecisionIn applies the In predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionIsNil ¶
func CounterQuantityMinPrecisionIsNil() predicate.TradingPair
CounterQuantityMinPrecisionIsNil applies the IsNil predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionLT ¶
func CounterQuantityMinPrecisionLT(v int) predicate.TradingPair
CounterQuantityMinPrecisionLT applies the LT predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionLTE ¶
func CounterQuantityMinPrecisionLTE(v int) predicate.TradingPair
CounterQuantityMinPrecisionLTE applies the LTE predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionNEQ ¶
func CounterQuantityMinPrecisionNEQ(v int) predicate.TradingPair
CounterQuantityMinPrecisionNEQ applies the NEQ predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionNotIn ¶
func CounterQuantityMinPrecisionNotIn(vs ...int) predicate.TradingPair
CounterQuantityMinPrecisionNotIn applies the NotIn predicate on the "counter_quantity_min_precision" field.
func CounterQuantityMinPrecisionNotNil ¶
func CounterQuantityMinPrecisionNotNil() predicate.TradingPair
CounterQuantityMinPrecisionNotNil applies the NotNil predicate on the "counter_quantity_min_precision" field.
func HasBase ¶
func HasBase() predicate.TradingPair
HasBase applies the HasEdge predicate on the "base" edge.
func HasBaseWith ¶
func HasBaseWith(preds ...predicate.Currency) predicate.TradingPair
HasBaseWith applies the HasEdge predicate on the "base" edge with a given conditions (other predicates).
func HasCounter ¶
func HasCounter() predicate.TradingPair
HasCounter applies the HasEdge predicate on the "counter" edge.
func HasCounterWith ¶
func HasCounterWith(preds ...predicate.Currency) predicate.TradingPair
HasCounterWith applies the HasEdge predicate on the "counter" edge with a given conditions (other predicates).
func HasMarket ¶
func HasMarket() predicate.TradingPair
HasMarket applies the HasEdge predicate on the "market" edge.
func HasMarketWith ¶
func HasMarketWith(preds ...predicate.Market) predicate.TradingPair
HasMarketWith applies the HasEdge predicate on the "market" edge with a given conditions (other predicates).
func HasVenue ¶
func HasVenue() predicate.TradingPair
HasVenue applies the HasEdge predicate on the "venue" edge.
func HasVenueWith ¶
func HasVenueWith(preds ...predicate.Venue) predicate.TradingPair
HasVenueWith applies the HasEdge predicate on the "venue" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.TradingPair
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.TradingPair
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.TradingPair
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.TradingPair
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.TradingPair
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.TradingPair) predicate.TradingPair
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TradingPair) predicate.TradingPair
Or groups predicates with the OR operator between them.
func Symbol ¶
func Symbol(v string) predicate.TradingPair
Symbol applies equality check predicate on the "symbol" field. It's identical to SymbolEQ.
func SymbolContains ¶
func SymbolContains(v string) predicate.TradingPair
SymbolContains applies the Contains predicate on the "symbol" field.
func SymbolContainsFold ¶
func SymbolContainsFold(v string) predicate.TradingPair
SymbolContainsFold applies the ContainsFold predicate on the "symbol" field.
func SymbolEQ ¶
func SymbolEQ(v string) predicate.TradingPair
SymbolEQ applies the EQ predicate on the "symbol" field.
func SymbolEqualFold ¶
func SymbolEqualFold(v string) predicate.TradingPair
SymbolEqualFold applies the EqualFold predicate on the "symbol" field.
func SymbolGT ¶
func SymbolGT(v string) predicate.TradingPair
SymbolGT applies the GT predicate on the "symbol" field.
func SymbolGTE ¶
func SymbolGTE(v string) predicate.TradingPair
SymbolGTE applies the GTE predicate on the "symbol" field.
func SymbolHasPrefix ¶
func SymbolHasPrefix(v string) predicate.TradingPair
SymbolHasPrefix applies the HasPrefix predicate on the "symbol" field.
func SymbolHasSuffix ¶
func SymbolHasSuffix(v string) predicate.TradingPair
SymbolHasSuffix applies the HasSuffix predicate on the "symbol" field.
func SymbolIn ¶
func SymbolIn(vs ...string) predicate.TradingPair
SymbolIn applies the In predicate on the "symbol" field.
func SymbolLT ¶
func SymbolLT(v string) predicate.TradingPair
SymbolLT applies the LT predicate on the "symbol" field.
func SymbolLTE ¶
func SymbolLTE(v string) predicate.TradingPair
SymbolLTE applies the LTE predicate on the "symbol" field.
func SymbolNEQ ¶
func SymbolNEQ(v string) predicate.TradingPair
SymbolNEQ applies the NEQ predicate on the "symbol" field.
func SymbolNotIn ¶
func SymbolNotIn(vs ...string) predicate.TradingPair
SymbolNotIn applies the NotIn predicate on the "symbol" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.