Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MarketHours) predicate.MarketHours
- func Date(v time.Time) predicate.MarketHours
- func DateEQ(v time.Time) predicate.MarketHours
- func DateGT(v time.Time) predicate.MarketHours
- func DateGTE(v time.Time) predicate.MarketHours
- func DateIn(vs ...time.Time) predicate.MarketHours
- func DateLT(v time.Time) predicate.MarketHours
- func DateLTE(v time.Time) predicate.MarketHours
- func DateNEQ(v time.Time) predicate.MarketHours
- func DateNotIn(vs ...time.Time) predicate.MarketHours
- func EndTime(v time.Time) predicate.MarketHours
- func EndTimeEQ(v time.Time) predicate.MarketHours
- func EndTimeGT(v time.Time) predicate.MarketHours
- func EndTimeGTE(v time.Time) predicate.MarketHours
- func EndTimeIn(vs ...time.Time) predicate.MarketHours
- func EndTimeLT(v time.Time) predicate.MarketHours
- func EndTimeLTE(v time.Time) predicate.MarketHours
- func EndTimeNEQ(v time.Time) predicate.MarketHours
- func EndTimeNotIn(vs ...time.Time) predicate.MarketHours
- func HasMarketInfo() predicate.MarketHours
- func HasMarketInfoWith(preds ...predicate.MarketInfo) predicate.MarketHours
- func ID(id int) predicate.MarketHours
- func IDEQ(id int) predicate.MarketHours
- func IDGT(id int) predicate.MarketHours
- func IDGTE(id int) predicate.MarketHours
- func IDIn(ids ...int) predicate.MarketHours
- func IDLT(id int) predicate.MarketHours
- func IDLTE(id int) predicate.MarketHours
- func IDNEQ(id int) predicate.MarketHours
- func IDNotIn(ids ...int) predicate.MarketHours
- func Not(p predicate.MarketHours) predicate.MarketHours
- func Or(predicates ...predicate.MarketHours) predicate.MarketHours
- func StartTime(v time.Time) predicate.MarketHours
- func StartTimeEQ(v time.Time) predicate.MarketHours
- func StartTimeGT(v time.Time) predicate.MarketHours
- func StartTimeGTE(v time.Time) predicate.MarketHours
- func StartTimeIn(vs ...time.Time) predicate.MarketHours
- func StartTimeLT(v time.Time) predicate.MarketHours
- func StartTimeLTE(v time.Time) predicate.MarketHours
- func StartTimeNEQ(v time.Time) predicate.MarketHours
- func StartTimeNotIn(vs ...time.Time) predicate.MarketHours
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the markethours type in the database. Label = "market_hours" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDate holds the string denoting the date field in the database. FieldDate = "date" // FieldStartTime holds the string denoting the start_time field in the database. FieldStartTime = "start_time" // FieldEndTime holds the string denoting the end_time field in the database. FieldEndTime = "end_time" // EdgeMarketInfo holds the string denoting the market_info edge name in mutations. EdgeMarketInfo = "market_info" // Table holds the table name of the markethours in the database. Table = "market_hours" // MarketInfoTable is the table that holds the market_info relation/edge. MarketInfoTable = "market_hours" // MarketInfoInverseTable is the table name for the MarketInfo entity. // It exists in this package in order to avoid circular dependency with the "marketinfo" package. MarketInfoInverseTable = "market_infos" // MarketInfoColumn is the table column denoting the market_info relation/edge. MarketInfoColumn = "market_info_hours" )
Variables ¶
var Columns = []string{ FieldID, FieldDate, FieldStartTime, FieldEndTime, }
Columns holds all SQL columns for markethours fields.
var ForeignKeys = []string{
"market_info_hours",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "market_hours" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.MarketHours) predicate.MarketHours
And groups predicates with the AND operator between them.
func Date ¶
func Date(v time.Time) predicate.MarketHours
Date applies equality check predicate on the "date" field. It's identical to DateEQ.
func DateEQ ¶
func DateEQ(v time.Time) predicate.MarketHours
DateEQ applies the EQ predicate on the "date" field.
func DateGT ¶
func DateGT(v time.Time) predicate.MarketHours
DateGT applies the GT predicate on the "date" field.
func DateGTE ¶
func DateGTE(v time.Time) predicate.MarketHours
DateGTE applies the GTE predicate on the "date" field.
func DateIn ¶
func DateIn(vs ...time.Time) predicate.MarketHours
DateIn applies the In predicate on the "date" field.
func DateLT ¶
func DateLT(v time.Time) predicate.MarketHours
DateLT applies the LT predicate on the "date" field.
func DateLTE ¶
func DateLTE(v time.Time) predicate.MarketHours
DateLTE applies the LTE predicate on the "date" field.
func DateNEQ ¶
func DateNEQ(v time.Time) predicate.MarketHours
DateNEQ applies the NEQ predicate on the "date" field.
func DateNotIn ¶
func DateNotIn(vs ...time.Time) predicate.MarketHours
DateNotIn applies the NotIn predicate on the "date" field.
func EndTime ¶
func EndTime(v time.Time) predicate.MarketHours
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeEQ ¶
func EndTimeEQ(v time.Time) predicate.MarketHours
EndTimeEQ applies the EQ predicate on the "end_time" field.
func EndTimeGT ¶
func EndTimeGT(v time.Time) predicate.MarketHours
EndTimeGT applies the GT predicate on the "end_time" field.
func EndTimeGTE ¶
func EndTimeGTE(v time.Time) predicate.MarketHours
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeIn ¶
func EndTimeIn(vs ...time.Time) predicate.MarketHours
EndTimeIn applies the In predicate on the "end_time" field.
func EndTimeLT ¶
func EndTimeLT(v time.Time) predicate.MarketHours
EndTimeLT applies the LT predicate on the "end_time" field.
func EndTimeLTE ¶
func EndTimeLTE(v time.Time) predicate.MarketHours
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
func EndTimeNEQ(v time.Time) predicate.MarketHours
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
func EndTimeNotIn(vs ...time.Time) predicate.MarketHours
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
func HasMarketInfo ¶
func HasMarketInfo() predicate.MarketHours
HasMarketInfo applies the HasEdge predicate on the "market_info" edge.
func HasMarketInfoWith ¶
func HasMarketInfoWith(preds ...predicate.MarketInfo) predicate.MarketHours
HasMarketInfoWith applies the HasEdge predicate on the "market_info" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.MarketHours
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.MarketHours
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.MarketHours
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.MarketHours
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.MarketHours
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.MarketHours) predicate.MarketHours
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MarketHours) predicate.MarketHours
Or groups predicates with the OR operator between them.
func StartTime ¶
func StartTime(v time.Time) predicate.MarketHours
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeEQ ¶
func StartTimeEQ(v time.Time) predicate.MarketHours
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeGT ¶
func StartTimeGT(v time.Time) predicate.MarketHours
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
func StartTimeGTE(v time.Time) predicate.MarketHours
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeIn ¶
func StartTimeIn(vs ...time.Time) predicate.MarketHours
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeLT ¶
func StartTimeLT(v time.Time) predicate.MarketHours
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
func StartTimeLTE(v time.Time) predicate.MarketHours
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
func StartTimeNEQ(v time.Time) predicate.MarketHours
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
func StartTimeNotIn(vs ...time.Time) predicate.MarketHours
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.