Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Order) predicate.Order
- func CreatedAt(v time.Time) predicate.Order
- func CreatedAtEQ(v time.Time) predicate.Order
- func CreatedAtGT(v time.Time) predicate.Order
- func CreatedAtGTE(v time.Time) predicate.Order
- func CreatedAtIn(vs ...time.Time) predicate.Order
- func CreatedAtLT(v time.Time) predicate.Order
- func CreatedAtLTE(v time.Time) predicate.Order
- func CreatedAtNEQ(v time.Time) predicate.Order
- func CreatedAtNotIn(vs ...time.Time) predicate.Order
- func ExchangeID(v int64) predicate.Order
- func ExchangeIDEQ(v int64) predicate.Order
- func ExchangeIDGT(v int64) predicate.Order
- func ExchangeIDGTE(v int64) predicate.Order
- func ExchangeIDIn(vs ...int64) predicate.Order
- func ExchangeIDLT(v int64) predicate.Order
- func ExchangeIDLTE(v int64) predicate.Order
- func ExchangeIDNEQ(v int64) predicate.Order
- func ExchangeIDNotIn(vs ...int64) predicate.Order
- func GroupID(v int64) predicate.Order
- func GroupIDEQ(v int64) predicate.Order
- func GroupIDGT(v int64) predicate.Order
- func GroupIDGTE(v int64) predicate.Order
- func GroupIDIn(vs ...int64) predicate.Order
- func GroupIDIsNil() predicate.Order
- func GroupIDLT(v int64) predicate.Order
- func GroupIDLTE(v int64) predicate.Order
- func GroupIDNEQ(v int64) predicate.Order
- func GroupIDNotIn(vs ...int64) predicate.Order
- func GroupIDNotNil() predicate.Order
- func ID(id int64) predicate.Order
- func IDEQ(id int64) predicate.Order
- func IDGT(id int64) predicate.Order
- func IDGTE(id int64) predicate.Order
- func IDIn(ids ...int64) predicate.Order
- func IDLT(id int64) predicate.Order
- func IDLTE(id int64) predicate.Order
- func IDNEQ(id int64) predicate.Order
- func IDNotIn(ids ...int64) predicate.Order
- func Not(p predicate.Order) predicate.Order
- func Or(predicates ...predicate.Order) predicate.Order
- func Price(v float64) predicate.Order
- func PriceEQ(v float64) predicate.Order
- func PriceGT(v float64) predicate.Order
- func PriceGTE(v float64) predicate.Order
- func PriceIn(vs ...float64) predicate.Order
- func PriceLT(v float64) predicate.Order
- func PriceLTE(v float64) predicate.Order
- func PriceNEQ(v float64) predicate.Order
- func PriceNotIn(vs ...float64) predicate.Order
- func Quantity(v float64) predicate.Order
- func QuantityEQ(v float64) predicate.Order
- func QuantityGT(v float64) predicate.Order
- func QuantityGTE(v float64) predicate.Order
- func QuantityIn(vs ...float64) predicate.Order
- func QuantityLT(v float64) predicate.Order
- func QuantityLTE(v float64) predicate.Order
- func QuantityNEQ(v float64) predicate.Order
- func QuantityNotIn(vs ...float64) predicate.Order
- func Side(v string) predicate.Order
- func SideContains(v string) predicate.Order
- func SideContainsFold(v string) predicate.Order
- func SideEQ(v string) predicate.Order
- func SideEqualFold(v string) predicate.Order
- func SideGT(v string) predicate.Order
- func SideGTE(v string) predicate.Order
- func SideHasPrefix(v string) predicate.Order
- func SideHasSuffix(v string) predicate.Order
- func SideIn(vs ...string) predicate.Order
- func SideLT(v string) predicate.Order
- func SideLTE(v string) predicate.Order
- func SideNEQ(v string) predicate.Order
- func SideNotIn(vs ...string) predicate.Order
- func Status(v string) predicate.Order
- func StatusContains(v string) predicate.Order
- func StatusContainsFold(v string) predicate.Order
- func StatusEQ(v string) predicate.Order
- func StatusEqualFold(v string) predicate.Order
- func StatusGT(v string) predicate.Order
- func StatusGTE(v string) predicate.Order
- func StatusHasPrefix(v string) predicate.Order
- func StatusHasSuffix(v string) predicate.Order
- func StatusIn(vs ...string) predicate.Order
- func StatusLT(v string) predicate.Order
- func StatusLTE(v string) predicate.Order
- func StatusNEQ(v string) predicate.Order
- func StatusNotIn(vs ...string) predicate.Order
- func Stop(v float64) predicate.Order
- func StopEQ(v float64) predicate.Order
- func StopGT(v float64) predicate.Order
- func StopGTE(v float64) predicate.Order
- func StopIn(vs ...float64) predicate.Order
- func StopIsNil() predicate.Order
- func StopLT(v float64) predicate.Order
- func StopLTE(v float64) predicate.Order
- func StopNEQ(v float64) predicate.Order
- func StopNotIn(vs ...float64) predicate.Order
- func StopNotNil() predicate.Order
- func Symbol(v string) predicate.Order
- func SymbolContains(v string) predicate.Order
- func SymbolContainsFold(v string) predicate.Order
- func SymbolEQ(v string) predicate.Order
- func SymbolEqualFold(v string) predicate.Order
- func SymbolGT(v string) predicate.Order
- func SymbolGTE(v string) predicate.Order
- func SymbolHasPrefix(v string) predicate.Order
- func SymbolHasSuffix(v string) predicate.Order
- func SymbolIn(vs ...string) predicate.Order
- func SymbolLT(v string) predicate.Order
- func SymbolLTE(v string) predicate.Order
- func SymbolNEQ(v string) predicate.Order
- func SymbolNotIn(vs ...string) predicate.Order
- func Type(v string) predicate.Order
- func TypeContains(v string) predicate.Order
- func TypeContainsFold(v string) predicate.Order
- func TypeEQ(v string) predicate.Order
- func TypeEqualFold(v string) predicate.Order
- func TypeGT(v string) predicate.Order
- func TypeGTE(v string) predicate.Order
- func TypeHasPrefix(v string) predicate.Order
- func TypeHasSuffix(v string) predicate.Order
- func TypeIn(vs ...string) predicate.Order
- func TypeLT(v string) predicate.Order
- func TypeLTE(v string) predicate.Order
- func TypeNEQ(v string) predicate.Order
- func TypeNotIn(vs ...string) predicate.Order
- func UpdatedAt(v time.Time) predicate.Order
- func UpdatedAtEQ(v time.Time) predicate.Order
- func UpdatedAtGT(v time.Time) predicate.Order
- func UpdatedAtGTE(v time.Time) predicate.Order
- func UpdatedAtIn(vs ...time.Time) predicate.Order
- func UpdatedAtLT(v time.Time) predicate.Order
- func UpdatedAtLTE(v time.Time) predicate.Order
- func UpdatedAtNEQ(v time.Time) predicate.Order
- func UpdatedAtNotIn(vs ...time.Time) predicate.Order
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the order type in the database. Label = "order" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldExchangeID holds the string denoting the exchange_id field in the database. FieldExchangeID = "exchange_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" // FieldSymbol holds the string denoting the symbol field in the database. FieldSymbol = "symbol" // FieldSide holds the string denoting the side field in the database. FieldSide = "side" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldQuantity holds the string denoting the quantity field in the database. FieldQuantity = "quantity" // FieldGroupID holds the string denoting the group_id field in the database. FieldGroupID = "group_id" // FieldStop holds the string denoting the stop field in the database. FieldStop = "stop" // Table holds the table name of the order in the database. Table = "orders" )
Variables ¶
var Columns = []string{ FieldID, FieldExchangeID, FieldCreatedAt, FieldUpdatedAt, FieldSymbol, FieldSide, FieldType, FieldStatus, FieldPrice, FieldQuantity, FieldGroupID, FieldStop, }
Columns holds all SQL columns for order fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ExchangeID ¶
ExchangeID applies equality check predicate on the "exchange_id" field. It's identical to ExchangeIDEQ.
func ExchangeIDEQ ¶
ExchangeIDEQ applies the EQ predicate on the "exchange_id" field.
func ExchangeIDGT ¶
ExchangeIDGT applies the GT predicate on the "exchange_id" field.
func ExchangeIDGTE ¶
ExchangeIDGTE applies the GTE predicate on the "exchange_id" field.
func ExchangeIDIn ¶
ExchangeIDIn applies the In predicate on the "exchange_id" field.
func ExchangeIDLT ¶
ExchangeIDLT applies the LT predicate on the "exchange_id" field.
func ExchangeIDLTE ¶
ExchangeIDLTE applies the LTE predicate on the "exchange_id" field.
func ExchangeIDNEQ ¶
ExchangeIDNEQ applies the NEQ predicate on the "exchange_id" field.
func ExchangeIDNotIn ¶
ExchangeIDNotIn applies the NotIn predicate on the "exchange_id" field.
func GroupID ¶
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDGTE ¶
GroupIDGTE applies the GTE predicate on the "group_id" field.
func GroupIDIsNil ¶
GroupIDIsNil applies the IsNil predicate on the "group_id" field.
func GroupIDLTE ¶
GroupIDLTE applies the LTE predicate on the "group_id" field.
func GroupIDNEQ ¶
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func GroupIDNotNil ¶
GroupIDNotNil applies the NotNil predicate on the "group_id" field.
func Price ¶
Price applies equality check predicate on the "price" field. It's identical to PriceEQ.
func PriceNotIn ¶
PriceNotIn applies the NotIn predicate on the "price" field.
func Quantity ¶
Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func QuantityEQ ¶
QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityGT ¶
QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGTE ¶
QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityIn ¶
QuantityIn applies the In predicate on the "quantity" field.
func QuantityLT ¶
QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLTE ¶
QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityNEQ ¶
QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNotIn ¶
QuantityNotIn applies the NotIn predicate on the "quantity" field.
func SideContains ¶
SideContains applies the Contains predicate on the "side" field.
func SideContainsFold ¶
SideContainsFold applies the ContainsFold predicate on the "side" field.
func SideEqualFold ¶
SideEqualFold applies the EqualFold predicate on the "side" field.
func SideHasPrefix ¶
SideHasPrefix applies the HasPrefix predicate on the "side" field.
func SideHasSuffix ¶
SideHasSuffix applies the HasSuffix predicate on the "side" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StopNotNil ¶
StopNotNil applies the NotNil predicate on the "stop" field.
func Symbol ¶
Symbol applies equality check predicate on the "symbol" field. It's identical to SymbolEQ.
func SymbolContains ¶
SymbolContains applies the Contains predicate on the "symbol" field.
func SymbolContainsFold ¶
SymbolContainsFold applies the ContainsFold predicate on the "symbol" field.
func SymbolEqualFold ¶
SymbolEqualFold applies the EqualFold predicate on the "symbol" field.
func SymbolHasPrefix ¶
SymbolHasPrefix applies the HasPrefix predicate on the "symbol" field.
func SymbolHasSuffix ¶
SymbolHasSuffix applies the HasSuffix predicate on the "symbol" field.
func SymbolNotIn ¶
SymbolNotIn applies the NotIn predicate on the "symbol" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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.