queue

package
v0.0.0-...-8b1d7e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the queue type in the database.
	Label = "queue"
	// FieldID holds the string denoting the id field in the database.
	FieldID         = "id"         // FieldCompletion holds the string denoting the completion vertex property in the database.
	FieldCompletion = "completion" // FieldAction holds the string denoting the action vertex property in the database.
	FieldAction     = "action"     // FieldOrder holds the string denoting the order vertex property in the database.
	FieldOrder      = "order"

	// EdgeCity holds the string denoting the city edge name in mutations.
	EdgeCity = "city"
	// EdgeConstruction holds the string denoting the construction edge name in mutations.
	EdgeConstruction = "construction"

	// Table holds the table name of the queue in the database.
	Table = "queues"
	// CityTable is the table the holds the city relation/edge.
	CityTable = "queues"
	// CityInverseTable is the table name for the City entity.
	// It exists in this package in order to avoid circular dependency with the "city" package.
	CityInverseTable = "cities"
	// CityColumn is the table column denoting the city relation/edge.
	CityColumn = "city_queue"
	// ConstructionTable is the table the holds the construction relation/edge.
	ConstructionTable = "queues"
	// ConstructionInverseTable is the table name for the Construction entity.
	// It exists in this package in order to avoid circular dependency with the "construction" package.
	ConstructionInverseTable = "constructions"
	// ConstructionColumn is the table column denoting the construction relation/edge.
	ConstructionColumn = "construction_queue"
)

Variables

Columns holds all SQL columns for queue fields.

View Source
var ForeignKeys = []string{
	"city_queue",
	"construction_queue",
}

ForeignKeys holds the SQL foreign-keys that are owned by the Queue type.

Functions

func Action

func Action(v int) predicate.Queue

Action applies equality check predicate on the "action" field. It's identical to ActionEQ.

func ActionEQ

func ActionEQ(v int) predicate.Queue

ActionEQ applies the EQ predicate on the "action" field.

func ActionGT

func ActionGT(v int) predicate.Queue

ActionGT applies the GT predicate on the "action" field.

func ActionGTE

func ActionGTE(v int) predicate.Queue

ActionGTE applies the GTE predicate on the "action" field.

func ActionIn

func ActionIn(vs ...int) predicate.Queue

ActionIn applies the In predicate on the "action" field.

func ActionLT

func ActionLT(v int) predicate.Queue

ActionLT applies the LT predicate on the "action" field.

func ActionLTE

func ActionLTE(v int) predicate.Queue

ActionLTE applies the LTE predicate on the "action" field.

func ActionNEQ

func ActionNEQ(v int) predicate.Queue

ActionNEQ applies the NEQ predicate on the "action" field.

func ActionNotIn

func ActionNotIn(vs ...int) predicate.Queue

ActionNotIn applies the NotIn predicate on the "action" field.

func And

func And(predicates ...predicate.Queue) predicate.Queue

And groups list of predicates with the AND operator between them.

func Completion

func Completion(v time.Time) predicate.Queue

Completion applies equality check predicate on the "completion" field. It's identical to CompletionEQ.

func CompletionEQ

func CompletionEQ(v time.Time) predicate.Queue

CompletionEQ applies the EQ predicate on the "completion" field.

func CompletionGT

func CompletionGT(v time.Time) predicate.Queue

CompletionGT applies the GT predicate on the "completion" field.

func CompletionGTE

func CompletionGTE(v time.Time) predicate.Queue

CompletionGTE applies the GTE predicate on the "completion" field.

func CompletionIn

func CompletionIn(vs ...time.Time) predicate.Queue

CompletionIn applies the In predicate on the "completion" field.

func CompletionLT

func CompletionLT(v time.Time) predicate.Queue

CompletionLT applies the LT predicate on the "completion" field.

func CompletionLTE

func CompletionLTE(v time.Time) predicate.Queue

CompletionLTE applies the LTE predicate on the "completion" field.

func CompletionNEQ

func CompletionNEQ(v time.Time) predicate.Queue

CompletionNEQ applies the NEQ predicate on the "completion" field.

func CompletionNotIn

func CompletionNotIn(vs ...time.Time) predicate.Queue

CompletionNotIn applies the NotIn predicate on the "completion" field.

func HasCity

func HasCity() predicate.Queue

HasCity applies the HasEdge predicate on the "city" edge.

func HasCityWith

func HasCityWith(preds ...predicate.City) predicate.Queue

HasCityWith applies the HasEdge predicate on the "city" edge with a given conditions (other predicates).

func HasConstruction

func HasConstruction() predicate.Queue

HasConstruction applies the HasEdge predicate on the "construction" edge.

func HasConstructionWith

func HasConstructionWith(preds ...predicate.Construction) predicate.Queue

HasConstructionWith applies the HasEdge predicate on the "construction" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Queue

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Queue

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Queue

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Queue

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Queue

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Queue

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Queue

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Queue

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Queue

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.Queue) predicate.Queue

Or groups list of predicates with the OR operator between them.

func Order

func Order(v int) predicate.Queue

Order applies equality check predicate on the "order" field. It's identical to OrderEQ.

func OrderEQ

func OrderEQ(v int) predicate.Queue

OrderEQ applies the EQ predicate on the "order" field.

func OrderGT

func OrderGT(v int) predicate.Queue

OrderGT applies the GT predicate on the "order" field.

func OrderGTE

func OrderGTE(v int) predicate.Queue

OrderGTE applies the GTE predicate on the "order" field.

func OrderIn

func OrderIn(vs ...int) predicate.Queue

OrderIn applies the In predicate on the "order" field.

func OrderLT

func OrderLT(v int) predicate.Queue

OrderLT applies the LT predicate on the "order" field.

func OrderLTE

func OrderLTE(v int) predicate.Queue

OrderLTE applies the LTE predicate on the "order" field.

func OrderNEQ

func OrderNEQ(v int) predicate.Queue

OrderNEQ applies the NEQ predicate on the "order" field.

func OrderNotIn

func OrderNotIn(vs ...int) predicate.Queue

OrderNotIn applies the NotIn predicate on the "order" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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