Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Split) predicate.Split
- func ExecutionDate(v time.Time) predicate.Split
- func ExecutionDateEQ(v time.Time) predicate.Split
- func ExecutionDateGT(v time.Time) predicate.Split
- func ExecutionDateGTE(v time.Time) predicate.Split
- func ExecutionDateIn(vs ...time.Time) predicate.Split
- func ExecutionDateLT(v time.Time) predicate.Split
- func ExecutionDateLTE(v time.Time) predicate.Split
- func ExecutionDateNEQ(v time.Time) predicate.Split
- func ExecutionDateNotIn(vs ...time.Time) predicate.Split
- func From(v float64) predicate.Split
- func FromEQ(v float64) predicate.Split
- func FromGT(v float64) predicate.Split
- func FromGTE(v float64) predicate.Split
- func FromIn(vs ...float64) predicate.Split
- func FromLT(v float64) predicate.Split
- func FromLTE(v float64) predicate.Split
- func FromNEQ(v float64) predicate.Split
- func FromNotIn(vs ...float64) predicate.Split
- func HasStock() predicate.Split
- func HasStockWith(preds ...predicate.Entity) predicate.Split
- func ID(id int) predicate.Split
- func IDEQ(id int) predicate.Split
- func IDGT(id int) predicate.Split
- func IDGTE(id int) predicate.Split
- func IDIn(ids ...int) predicate.Split
- func IDLT(id int) predicate.Split
- func IDLTE(id int) predicate.Split
- func IDNEQ(id int) predicate.Split
- func IDNotIn(ids ...int) predicate.Split
- func Not(p predicate.Split) predicate.Split
- func Or(predicates ...predicate.Split) predicate.Split
- func To(v float64) predicate.Split
- func ToEQ(v float64) predicate.Split
- func ToGT(v float64) predicate.Split
- func ToGTE(v float64) predicate.Split
- func ToIn(vs ...float64) predicate.Split
- func ToLT(v float64) predicate.Split
- func ToLTE(v float64) predicate.Split
- func ToNEQ(v float64) predicate.Split
- func ToNotIn(vs ...float64) predicate.Split
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the split type in the database. Label = "split" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldExecutionDate holds the string denoting the execution_date field in the database. FieldExecutionDate = "execution_date" // FieldFrom holds the string denoting the from field in the database. FieldFrom = "from" // FieldTo holds the string denoting the to field in the database. FieldTo = "to" // EdgeStock holds the string denoting the stock edge name in mutations. EdgeStock = "stock" // Table holds the table name of the split in the database. Table = "splits" // StockTable is the table that holds the stock relation/edge. StockTable = "splits" // StockInverseTable is the table name for the Entity entity. // It exists in this package in order to avoid circular dependency with the "entity" package. StockInverseTable = "entities" // StockColumn is the table column denoting the stock relation/edge. StockColumn = "entity_splits" )
Variables ¶
var Columns = []string{ FieldID, FieldExecutionDate, FieldFrom, FieldTo, }
Columns holds all SQL columns for split fields.
var ForeignKeys = []string{
"entity_splits",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "splits" table and are not defined as standalone fields in the schema.
Functions ¶
func ExecutionDate ¶
ExecutionDate applies equality check predicate on the "execution_date" field. It's identical to ExecutionDateEQ.
func ExecutionDateEQ ¶
ExecutionDateEQ applies the EQ predicate on the "execution_date" field.
func ExecutionDateGT ¶
ExecutionDateGT applies the GT predicate on the "execution_date" field.
func ExecutionDateGTE ¶
ExecutionDateGTE applies the GTE predicate on the "execution_date" field.
func ExecutionDateIn ¶
ExecutionDateIn applies the In predicate on the "execution_date" field.
func ExecutionDateLT ¶
ExecutionDateLT applies the LT predicate on the "execution_date" field.
func ExecutionDateLTE ¶
ExecutionDateLTE applies the LTE predicate on the "execution_date" field.
func ExecutionDateNEQ ¶
ExecutionDateNEQ applies the NEQ predicate on the "execution_date" field.
func ExecutionDateNotIn ¶
ExecutionDateNotIn applies the NotIn predicate on the "execution_date" field.
func HasStockWith ¶
HasStockWith applies the HasEdge predicate on the "stock" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.