Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MarketInfo) predicate.MarketInfo
- func HasHours() predicate.MarketInfo
- func HasHoursWith(preds ...predicate.MarketHours) predicate.MarketInfo
- func HoursEnd(v time.Time) predicate.MarketInfo
- func HoursEndEQ(v time.Time) predicate.MarketInfo
- func HoursEndGT(v time.Time) predicate.MarketInfo
- func HoursEndGTE(v time.Time) predicate.MarketInfo
- func HoursEndIn(vs ...time.Time) predicate.MarketInfo
- func HoursEndLT(v time.Time) predicate.MarketInfo
- func HoursEndLTE(v time.Time) predicate.MarketInfo
- func HoursEndNEQ(v time.Time) predicate.MarketInfo
- func HoursEndNotIn(vs ...time.Time) predicate.MarketInfo
- func HoursStart(v time.Time) predicate.MarketInfo
- func HoursStartEQ(v time.Time) predicate.MarketInfo
- func HoursStartGT(v time.Time) predicate.MarketInfo
- func HoursStartGTE(v time.Time) predicate.MarketInfo
- func HoursStartIn(vs ...time.Time) predicate.MarketInfo
- func HoursStartLT(v time.Time) predicate.MarketInfo
- func HoursStartLTE(v time.Time) predicate.MarketInfo
- func HoursStartNEQ(v time.Time) predicate.MarketInfo
- func HoursStartNotIn(vs ...time.Time) predicate.MarketInfo
- func ID(id int) predicate.MarketInfo
- func IDEQ(id int) predicate.MarketInfo
- func IDGT(id int) predicate.MarketInfo
- func IDGTE(id int) predicate.MarketInfo
- func IDIn(ids ...int) predicate.MarketInfo
- func IDLT(id int) predicate.MarketInfo
- func IDLTE(id int) predicate.MarketInfo
- func IDNEQ(id int) predicate.MarketInfo
- func IDNotIn(ids ...int) predicate.MarketInfo
- func Not(p predicate.MarketInfo) predicate.MarketInfo
- func Or(predicates ...predicate.MarketInfo) predicate.MarketInfo
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the marketinfo type in the database. Label = "market_info" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHoursStart holds the string denoting the hours_start field in the database. FieldHoursStart = "hours_start" // FieldHoursEnd holds the string denoting the hours_end field in the database. FieldHoursEnd = "hours_end" // EdgeHours holds the string denoting the hours edge name in mutations. EdgeHours = "hours" // Table holds the table name of the marketinfo in the database. Table = "market_infos" // HoursTable is the table that holds the hours relation/edge. HoursTable = "market_hours" // HoursInverseTable is the table name for the MarketHours entity. // It exists in this package in order to avoid circular dependency with the "markethours" package. HoursInverseTable = "market_hours" // HoursColumn is the table column denoting the hours relation/edge. HoursColumn = "market_info_hours" )
Variables ¶
var Columns = []string{ FieldID, FieldHoursStart, FieldHoursEnd, }
Columns holds all SQL columns for marketinfo fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MarketInfo) predicate.MarketInfo
And groups predicates with the AND operator between them.
func HasHours ¶
func HasHours() predicate.MarketInfo
HasHours applies the HasEdge predicate on the "hours" edge.
func HasHoursWith ¶
func HasHoursWith(preds ...predicate.MarketHours) predicate.MarketInfo
HasHoursWith applies the HasEdge predicate on the "hours" edge with a given conditions (other predicates).
func HoursEnd ¶
func HoursEnd(v time.Time) predicate.MarketInfo
HoursEnd applies equality check predicate on the "hours_end" field. It's identical to HoursEndEQ.
func HoursEndEQ ¶
func HoursEndEQ(v time.Time) predicate.MarketInfo
HoursEndEQ applies the EQ predicate on the "hours_end" field.
func HoursEndGT ¶
func HoursEndGT(v time.Time) predicate.MarketInfo
HoursEndGT applies the GT predicate on the "hours_end" field.
func HoursEndGTE ¶
func HoursEndGTE(v time.Time) predicate.MarketInfo
HoursEndGTE applies the GTE predicate on the "hours_end" field.
func HoursEndIn ¶
func HoursEndIn(vs ...time.Time) predicate.MarketInfo
HoursEndIn applies the In predicate on the "hours_end" field.
func HoursEndLT ¶
func HoursEndLT(v time.Time) predicate.MarketInfo
HoursEndLT applies the LT predicate on the "hours_end" field.
func HoursEndLTE ¶
func HoursEndLTE(v time.Time) predicate.MarketInfo
HoursEndLTE applies the LTE predicate on the "hours_end" field.
func HoursEndNEQ ¶
func HoursEndNEQ(v time.Time) predicate.MarketInfo
HoursEndNEQ applies the NEQ predicate on the "hours_end" field.
func HoursEndNotIn ¶
func HoursEndNotIn(vs ...time.Time) predicate.MarketInfo
HoursEndNotIn applies the NotIn predicate on the "hours_end" field.
func HoursStart ¶
func HoursStart(v time.Time) predicate.MarketInfo
HoursStart applies equality check predicate on the "hours_start" field. It's identical to HoursStartEQ.
func HoursStartEQ ¶
func HoursStartEQ(v time.Time) predicate.MarketInfo
HoursStartEQ applies the EQ predicate on the "hours_start" field.
func HoursStartGT ¶
func HoursStartGT(v time.Time) predicate.MarketInfo
HoursStartGT applies the GT predicate on the "hours_start" field.
func HoursStartGTE ¶
func HoursStartGTE(v time.Time) predicate.MarketInfo
HoursStartGTE applies the GTE predicate on the "hours_start" field.
func HoursStartIn ¶
func HoursStartIn(vs ...time.Time) predicate.MarketInfo
HoursStartIn applies the In predicate on the "hours_start" field.
func HoursStartLT ¶
func HoursStartLT(v time.Time) predicate.MarketInfo
HoursStartLT applies the LT predicate on the "hours_start" field.
func HoursStartLTE ¶
func HoursStartLTE(v time.Time) predicate.MarketInfo
HoursStartLTE applies the LTE predicate on the "hours_start" field.
func HoursStartNEQ ¶
func HoursStartNEQ(v time.Time) predicate.MarketInfo
HoursStartNEQ applies the NEQ predicate on the "hours_start" field.
func HoursStartNotIn ¶
func HoursStartNotIn(vs ...time.Time) predicate.MarketInfo
HoursStartNotIn applies the NotIn predicate on the "hours_start" field.
func IDGTE ¶
func IDGTE(id int) predicate.MarketInfo
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MarketInfo
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MarketInfo
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MarketInfo
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MarketInfo
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.MarketInfo) predicate.MarketInfo
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MarketInfo) predicate.MarketInfo
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.