viewport

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the viewport type in the database.
	Label = "viewport"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDensity holds the string denoting the density field in the database.
	FieldDensity = "density"
	// FieldWidth holds the string denoting the width field in the database.
	FieldWidth = "width"
	// FieldHeight holds the string denoting the height field in the database.
	FieldHeight = "height"

	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"

	// Table holds the table name of the viewport in the database.
	Table = "viewports"
	// EventsTable is the table the holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "event_viewport"
)

Variables

Columns holds all SQL columns for viewport fields.

Functions

func And

func And(predicates ...predicate.Viewport) predicate.Viewport

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

func Density

func Density(v int) predicate.Viewport

Density applies equality check predicate on the "density" field. It's identical to DensityEQ.

func DensityEQ

func DensityEQ(v int) predicate.Viewport

DensityEQ applies the EQ predicate on the "density" field.

func DensityGT

func DensityGT(v int) predicate.Viewport

DensityGT applies the GT predicate on the "density" field.

func DensityGTE

func DensityGTE(v int) predicate.Viewport

DensityGTE applies the GTE predicate on the "density" field.

func DensityIn

func DensityIn(vs ...int) predicate.Viewport

DensityIn applies the In predicate on the "density" field.

func DensityLT

func DensityLT(v int) predicate.Viewport

DensityLT applies the LT predicate on the "density" field.

func DensityLTE

func DensityLTE(v int) predicate.Viewport

DensityLTE applies the LTE predicate on the "density" field.

func DensityNEQ

func DensityNEQ(v int) predicate.Viewport

DensityNEQ applies the NEQ predicate on the "density" field.

func DensityNotIn

func DensityNotIn(vs ...int) predicate.Viewport

DensityNotIn applies the NotIn predicate on the "density" field.

func HasEvents

func HasEvents() predicate.Viewport

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.Viewport

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

func Height

func Height(v int) predicate.Viewport

Height applies equality check predicate on the "height" field. It's identical to HeightEQ.

func HeightEQ

func HeightEQ(v int) predicate.Viewport

HeightEQ applies the EQ predicate on the "height" field.

func HeightGT

func HeightGT(v int) predicate.Viewport

HeightGT applies the GT predicate on the "height" field.

func HeightGTE

func HeightGTE(v int) predicate.Viewport

HeightGTE applies the GTE predicate on the "height" field.

func HeightIn

func HeightIn(vs ...int) predicate.Viewport

HeightIn applies the In predicate on the "height" field.

func HeightLT

func HeightLT(v int) predicate.Viewport

HeightLT applies the LT predicate on the "height" field.

func HeightLTE

func HeightLTE(v int) predicate.Viewport

HeightLTE applies the LTE predicate on the "height" field.

func HeightNEQ

func HeightNEQ(v int) predicate.Viewport

HeightNEQ applies the NEQ predicate on the "height" field.

func HeightNotIn

func HeightNotIn(vs ...int) predicate.Viewport

HeightNotIn applies the NotIn predicate on the "height" field.

func ID

func ID(id int) predicate.Viewport

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Viewport

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Viewport

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Viewport

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Viewport

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Viewport

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Viewport

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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

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

func Width

func Width(v int) predicate.Viewport

Width applies equality check predicate on the "width" field. It's identical to WidthEQ.

func WidthEQ

func WidthEQ(v int) predicate.Viewport

WidthEQ applies the EQ predicate on the "width" field.

func WidthGT

func WidthGT(v int) predicate.Viewport

WidthGT applies the GT predicate on the "width" field.

func WidthGTE

func WidthGTE(v int) predicate.Viewport

WidthGTE applies the GTE predicate on the "width" field.

func WidthIn

func WidthIn(vs ...int) predicate.Viewport

WidthIn applies the In predicate on the "width" field.

func WidthLT

func WidthLT(v int) predicate.Viewport

WidthLT applies the LT predicate on the "width" field.

func WidthLTE

func WidthLTE(v int) predicate.Viewport

WidthLTE applies the LTE predicate on the "width" field.

func WidthNEQ

func WidthNEQ(v int) predicate.Viewport

WidthNEQ applies the NEQ predicate on the "width" field.

func WidthNotIn

func WidthNotIn(vs ...int) predicate.Viewport

WidthNotIn applies the NotIn predicate on the "width" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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