Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BarRecord) predicate.BarRecord
- func Close(v float64) predicate.BarRecord
- func CloseEQ(v float64) predicate.BarRecord
- func CloseGT(v float64) predicate.BarRecord
- func CloseGTE(v float64) predicate.BarRecord
- func CloseIn(vs ...float64) predicate.BarRecord
- func CloseLT(v float64) predicate.BarRecord
- func CloseLTE(v float64) predicate.BarRecord
- func CloseNEQ(v float64) predicate.BarRecord
- func CloseNotIn(vs ...float64) predicate.BarRecord
- func HasGroup() predicate.BarRecord
- func HasGroupWith(preds ...predicate.BarGroup) predicate.BarRecord
- func High(v float64) predicate.BarRecord
- func HighEQ(v float64) predicate.BarRecord
- func HighGT(v float64) predicate.BarRecord
- func HighGTE(v float64) predicate.BarRecord
- func HighIn(vs ...float64) predicate.BarRecord
- func HighLT(v float64) predicate.BarRecord
- func HighLTE(v float64) predicate.BarRecord
- func HighNEQ(v float64) predicate.BarRecord
- func HighNotIn(vs ...float64) predicate.BarRecord
- func ID(id int) predicate.BarRecord
- func IDEQ(id int) predicate.BarRecord
- func IDGT(id int) predicate.BarRecord
- func IDGTE(id int) predicate.BarRecord
- func IDIn(ids ...int) predicate.BarRecord
- func IDLT(id int) predicate.BarRecord
- func IDLTE(id int) predicate.BarRecord
- func IDNEQ(id int) predicate.BarRecord
- func IDNotIn(ids ...int) predicate.BarRecord
- func Low(v float64) predicate.BarRecord
- func LowEQ(v float64) predicate.BarRecord
- func LowGT(v float64) predicate.BarRecord
- func LowGTE(v float64) predicate.BarRecord
- func LowIn(vs ...float64) predicate.BarRecord
- func LowLT(v float64) predicate.BarRecord
- func LowLTE(v float64) predicate.BarRecord
- func LowNEQ(v float64) predicate.BarRecord
- func LowNotIn(vs ...float64) predicate.BarRecord
- func Not(p predicate.BarRecord) predicate.BarRecord
- func Open(v float64) predicate.BarRecord
- func OpenEQ(v float64) predicate.BarRecord
- func OpenGT(v float64) predicate.BarRecord
- func OpenGTE(v float64) predicate.BarRecord
- func OpenIn(vs ...float64) predicate.BarRecord
- func OpenLT(v float64) predicate.BarRecord
- func OpenLTE(v float64) predicate.BarRecord
- func OpenNEQ(v float64) predicate.BarRecord
- func OpenNotIn(vs ...float64) predicate.BarRecord
- func Or(predicates ...predicate.BarRecord) predicate.BarRecord
- func Timestamp(v time.Time) predicate.BarRecord
- func TimestampEQ(v time.Time) predicate.BarRecord
- func TimestampGT(v time.Time) predicate.BarRecord
- func TimestampGTE(v time.Time) predicate.BarRecord
- func TimestampIn(vs ...time.Time) predicate.BarRecord
- func TimestampLT(v time.Time) predicate.BarRecord
- func TimestampLTE(v time.Time) predicate.BarRecord
- func TimestampNEQ(v time.Time) predicate.BarRecord
- func TimestampNotIn(vs ...time.Time) predicate.BarRecord
- func Transactions(v int32) predicate.BarRecord
- func TransactionsEQ(v int32) predicate.BarRecord
- func TransactionsGT(v int32) predicate.BarRecord
- func TransactionsGTE(v int32) predicate.BarRecord
- func TransactionsIn(vs ...int32) predicate.BarRecord
- func TransactionsLT(v int32) predicate.BarRecord
- func TransactionsLTE(v int32) predicate.BarRecord
- func TransactionsNEQ(v int32) predicate.BarRecord
- func TransactionsNotIn(vs ...int32) predicate.BarRecord
- func ValidColumn(column string) bool
- func Volume(v float64) predicate.BarRecord
- func VolumeEQ(v float64) predicate.BarRecord
- func VolumeGT(v float64) predicate.BarRecord
- func VolumeGTE(v float64) predicate.BarRecord
- func VolumeIn(vs ...float64) predicate.BarRecord
- func VolumeLT(v float64) predicate.BarRecord
- func VolumeLTE(v float64) predicate.BarRecord
- func VolumeNEQ(v float64) predicate.BarRecord
- func VolumeNotIn(vs ...float64) predicate.BarRecord
Constants ¶
const ( // Label holds the string label denoting the barrecord type in the database. Label = "bar_record" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldClose holds the string denoting the close field in the database. FieldClose = "close" // FieldHigh holds the string denoting the high field in the database. FieldHigh = "high" // FieldLow holds the string denoting the low field in the database. FieldLow = "low" // FieldOpen holds the string denoting the open field in the database. FieldOpen = "open" // FieldTimestamp holds the string denoting the timestamp field in the database. FieldTimestamp = "timestamp" // FieldVolume holds the string denoting the volume field in the database. FieldVolume = "volume" // FieldTransactions holds the string denoting the transactions field in the database. FieldTransactions = "transactions" // EdgeGroup holds the string denoting the group edge name in mutations. EdgeGroup = "group" // Table holds the table name of the barrecord in the database. Table = "bar_records" // GroupTable is the table that holds the group relation/edge. GroupTable = "bar_records" // GroupInverseTable is the table name for the BarGroup entity. // It exists in this package in order to avoid circular dependency with the "bargroup" package. GroupInverseTable = "bar_groups" // GroupColumn is the table column denoting the group relation/edge. GroupColumn = "bar_group_records" )
Variables ¶
var Columns = []string{ FieldID, FieldClose, FieldHigh, FieldLow, FieldOpen, FieldTimestamp, FieldVolume, FieldTransactions, }
Columns holds all SQL columns for barrecord fields.
var ForeignKeys = []string{
"bar_group_records",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "bar_records" table and are not defined as standalone fields in the schema.
Functions ¶
func Close ¶
Close applies equality check predicate on the "close" field. It's identical to CloseEQ.
func CloseNotIn ¶
CloseNotIn applies the NotIn predicate on the "close" field.
func HasGroupWith ¶
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func Timestamp ¶
Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.
func TimestampEQ ¶
TimestampEQ applies the EQ predicate on the "timestamp" field.
func TimestampGT ¶
TimestampGT applies the GT predicate on the "timestamp" field.
func TimestampGTE ¶
TimestampGTE applies the GTE predicate on the "timestamp" field.
func TimestampIn ¶
TimestampIn applies the In predicate on the "timestamp" field.
func TimestampLT ¶
TimestampLT applies the LT predicate on the "timestamp" field.
func TimestampLTE ¶
TimestampLTE applies the LTE predicate on the "timestamp" field.
func TimestampNEQ ¶
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
func TimestampNotIn ¶
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
func Transactions ¶
Transactions applies equality check predicate on the "transactions" field. It's identical to TransactionsEQ.
func TransactionsEQ ¶
TransactionsEQ applies the EQ predicate on the "transactions" field.
func TransactionsGT ¶
TransactionsGT applies the GT predicate on the "transactions" field.
func TransactionsGTE ¶
TransactionsGTE applies the GTE predicate on the "transactions" field.
func TransactionsIn ¶
TransactionsIn applies the In predicate on the "transactions" field.
func TransactionsLT ¶
TransactionsLT applies the LT predicate on the "transactions" field.
func TransactionsLTE ¶
TransactionsLTE applies the LTE predicate on the "transactions" field.
func TransactionsNEQ ¶
TransactionsNEQ applies the NEQ predicate on the "transactions" field.
func TransactionsNotIn ¶
TransactionsNotIn applies the NotIn predicate on the "transactions" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Volume ¶
Volume applies equality check predicate on the "volume" field. It's identical to VolumeEQ.
func VolumeNotIn ¶
VolumeNotIn applies the NotIn predicate on the "volume" field.
Types ¶
This section is empty.