barrecord

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for barrecord fields.

View Source
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 And

func And(predicates ...predicate.BarRecord) predicate.BarRecord

And groups predicates with the AND operator between them.

func Close

func Close(v float64) predicate.BarRecord

Close applies equality check predicate on the "close" field. It's identical to CloseEQ.

func CloseEQ

func CloseEQ(v float64) predicate.BarRecord

CloseEQ applies the EQ predicate on the "close" field.

func CloseGT

func CloseGT(v float64) predicate.BarRecord

CloseGT applies the GT predicate on the "close" field.

func CloseGTE

func CloseGTE(v float64) predicate.BarRecord

CloseGTE applies the GTE predicate on the "close" field.

func CloseIn

func CloseIn(vs ...float64) predicate.BarRecord

CloseIn applies the In predicate on the "close" field.

func CloseLT

func CloseLT(v float64) predicate.BarRecord

CloseLT applies the LT predicate on the "close" field.

func CloseLTE

func CloseLTE(v float64) predicate.BarRecord

CloseLTE applies the LTE predicate on the "close" field.

func CloseNEQ

func CloseNEQ(v float64) predicate.BarRecord

CloseNEQ applies the NEQ predicate on the "close" field.

func CloseNotIn

func CloseNotIn(vs ...float64) predicate.BarRecord

CloseNotIn applies the NotIn predicate on the "close" field.

func HasGroup

func HasGroup() predicate.BarRecord

HasGroup applies the HasEdge predicate on the "group" edge.

func HasGroupWith

func HasGroupWith(preds ...predicate.BarGroup) predicate.BarRecord

HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).

func High

func High(v float64) predicate.BarRecord

High applies equality check predicate on the "high" field. It's identical to HighEQ.

func HighEQ

func HighEQ(v float64) predicate.BarRecord

HighEQ applies the EQ predicate on the "high" field.

func HighGT

func HighGT(v float64) predicate.BarRecord

HighGT applies the GT predicate on the "high" field.

func HighGTE

func HighGTE(v float64) predicate.BarRecord

HighGTE applies the GTE predicate on the "high" field.

func HighIn

func HighIn(vs ...float64) predicate.BarRecord

HighIn applies the In predicate on the "high" field.

func HighLT

func HighLT(v float64) predicate.BarRecord

HighLT applies the LT predicate on the "high" field.

func HighLTE

func HighLTE(v float64) predicate.BarRecord

HighLTE applies the LTE predicate on the "high" field.

func HighNEQ

func HighNEQ(v float64) predicate.BarRecord

HighNEQ applies the NEQ predicate on the "high" field.

func HighNotIn

func HighNotIn(vs ...float64) predicate.BarRecord

HighNotIn applies the NotIn predicate on the "high" field.

func ID

func ID(id int) predicate.BarRecord

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.BarRecord

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.BarRecord

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.BarRecord

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.BarRecord

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.BarRecord

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.BarRecord

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.BarRecord

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.BarRecord

IDNotIn applies the NotIn predicate on the ID field.

func Low

Low applies equality check predicate on the "low" field. It's identical to LowEQ.

func LowEQ

func LowEQ(v float64) predicate.BarRecord

LowEQ applies the EQ predicate on the "low" field.

func LowGT

func LowGT(v float64) predicate.BarRecord

LowGT applies the GT predicate on the "low" field.

func LowGTE

func LowGTE(v float64) predicate.BarRecord

LowGTE applies the GTE predicate on the "low" field.

func LowIn

func LowIn(vs ...float64) predicate.BarRecord

LowIn applies the In predicate on the "low" field.

func LowLT

func LowLT(v float64) predicate.BarRecord

LowLT applies the LT predicate on the "low" field.

func LowLTE

func LowLTE(v float64) predicate.BarRecord

LowLTE applies the LTE predicate on the "low" field.

func LowNEQ

func LowNEQ(v float64) predicate.BarRecord

LowNEQ applies the NEQ predicate on the "low" field.

func LowNotIn

func LowNotIn(vs ...float64) predicate.BarRecord

LowNotIn applies the NotIn predicate on the "low" field.

func Not

Not applies the not operator on the given predicate.

func Open

func Open(v float64) predicate.BarRecord

Open applies equality check predicate on the "open" field. It's identical to OpenEQ.

func OpenEQ

func OpenEQ(v float64) predicate.BarRecord

OpenEQ applies the EQ predicate on the "open" field.

func OpenGT

func OpenGT(v float64) predicate.BarRecord

OpenGT applies the GT predicate on the "open" field.

func OpenGTE

func OpenGTE(v float64) predicate.BarRecord

OpenGTE applies the GTE predicate on the "open" field.

func OpenIn

func OpenIn(vs ...float64) predicate.BarRecord

OpenIn applies the In predicate on the "open" field.

func OpenLT

func OpenLT(v float64) predicate.BarRecord

OpenLT applies the LT predicate on the "open" field.

func OpenLTE

func OpenLTE(v float64) predicate.BarRecord

OpenLTE applies the LTE predicate on the "open" field.

func OpenNEQ

func OpenNEQ(v float64) predicate.BarRecord

OpenNEQ applies the NEQ predicate on the "open" field.

func OpenNotIn

func OpenNotIn(vs ...float64) predicate.BarRecord

OpenNotIn applies the NotIn predicate on the "open" field.

func Or

func Or(predicates ...predicate.BarRecord) predicate.BarRecord

Or groups predicates with the OR operator between them.

func Timestamp

func Timestamp(v time.Time) predicate.BarRecord

Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.

func TimestampEQ

func TimestampEQ(v time.Time) predicate.BarRecord

TimestampEQ applies the EQ predicate on the "timestamp" field.

func TimestampGT

func TimestampGT(v time.Time) predicate.BarRecord

TimestampGT applies the GT predicate on the "timestamp" field.

func TimestampGTE

func TimestampGTE(v time.Time) predicate.BarRecord

TimestampGTE applies the GTE predicate on the "timestamp" field.

func TimestampIn

func TimestampIn(vs ...time.Time) predicate.BarRecord

TimestampIn applies the In predicate on the "timestamp" field.

func TimestampLT

func TimestampLT(v time.Time) predicate.BarRecord

TimestampLT applies the LT predicate on the "timestamp" field.

func TimestampLTE

func TimestampLTE(v time.Time) predicate.BarRecord

TimestampLTE applies the LTE predicate on the "timestamp" field.

func TimestampNEQ

func TimestampNEQ(v time.Time) predicate.BarRecord

TimestampNEQ applies the NEQ predicate on the "timestamp" field.

func TimestampNotIn

func TimestampNotIn(vs ...time.Time) predicate.BarRecord

TimestampNotIn applies the NotIn predicate on the "timestamp" field.

func Transactions

func Transactions(v int32) predicate.BarRecord

Transactions applies equality check predicate on the "transactions" field. It's identical to TransactionsEQ.

func TransactionsEQ

func TransactionsEQ(v int32) predicate.BarRecord

TransactionsEQ applies the EQ predicate on the "transactions" field.

func TransactionsGT

func TransactionsGT(v int32) predicate.BarRecord

TransactionsGT applies the GT predicate on the "transactions" field.

func TransactionsGTE

func TransactionsGTE(v int32) predicate.BarRecord

TransactionsGTE applies the GTE predicate on the "transactions" field.

func TransactionsIn

func TransactionsIn(vs ...int32) predicate.BarRecord

TransactionsIn applies the In predicate on the "transactions" field.

func TransactionsLT

func TransactionsLT(v int32) predicate.BarRecord

TransactionsLT applies the LT predicate on the "transactions" field.

func TransactionsLTE

func TransactionsLTE(v int32) predicate.BarRecord

TransactionsLTE applies the LTE predicate on the "transactions" field.

func TransactionsNEQ

func TransactionsNEQ(v int32) predicate.BarRecord

TransactionsNEQ applies the NEQ predicate on the "transactions" field.

func TransactionsNotIn

func TransactionsNotIn(vs ...int32) predicate.BarRecord

TransactionsNotIn applies the NotIn predicate on the "transactions" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Volume

func Volume(v float64) predicate.BarRecord

Volume applies equality check predicate on the "volume" field. It's identical to VolumeEQ.

func VolumeEQ

func VolumeEQ(v float64) predicate.BarRecord

VolumeEQ applies the EQ predicate on the "volume" field.

func VolumeGT

func VolumeGT(v float64) predicate.BarRecord

VolumeGT applies the GT predicate on the "volume" field.

func VolumeGTE

func VolumeGTE(v float64) predicate.BarRecord

VolumeGTE applies the GTE predicate on the "volume" field.

func VolumeIn

func VolumeIn(vs ...float64) predicate.BarRecord

VolumeIn applies the In predicate on the "volume" field.

func VolumeLT

func VolumeLT(v float64) predicate.BarRecord

VolumeLT applies the LT predicate on the "volume" field.

func VolumeLTE

func VolumeLTE(v float64) predicate.BarRecord

VolumeLTE applies the LTE predicate on the "volume" field.

func VolumeNEQ

func VolumeNEQ(v float64) predicate.BarRecord

VolumeNEQ applies the NEQ predicate on the "volume" field.

func VolumeNotIn

func VolumeNotIn(vs ...float64) predicate.BarRecord

VolumeNotIn applies the NotIn predicate on the "volume" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL