marketinfo

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

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 ID

func ID(id int) predicate.MarketInfo

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.MarketInfo

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MarketInfo

IDGT applies the GT predicate on the ID 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 IDLT

func IDLT(id int) predicate.MarketInfo

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

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

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