markethours

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

Columns holds all SQL columns for markethours fields.

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

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 ID

func ID(id int) predicate.MarketHours

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.MarketHours

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MarketHours

IDGT applies the GT predicate on the ID field.

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 IDLT

func IDLT(id int) predicate.MarketHours

IDLT applies the LT 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

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

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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