Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Viewport) predicate.Viewport
- func Density(v int) predicate.Viewport
- func DensityEQ(v int) predicate.Viewport
- func DensityGT(v int) predicate.Viewport
- func DensityGTE(v int) predicate.Viewport
- func DensityIn(vs ...int) predicate.Viewport
- func DensityLT(v int) predicate.Viewport
- func DensityLTE(v int) predicate.Viewport
- func DensityNEQ(v int) predicate.Viewport
- func DensityNotIn(vs ...int) predicate.Viewport
- func HasEvents() predicate.Viewport
- func HasEventsWith(preds ...predicate.Event) predicate.Viewport
- func Height(v int) predicate.Viewport
- func HeightEQ(v int) predicate.Viewport
- func HeightGT(v int) predicate.Viewport
- func HeightGTE(v int) predicate.Viewport
- func HeightIn(vs ...int) predicate.Viewport
- func HeightLT(v int) predicate.Viewport
- func HeightLTE(v int) predicate.Viewport
- func HeightNEQ(v int) predicate.Viewport
- func HeightNotIn(vs ...int) predicate.Viewport
- func ID(id int) predicate.Viewport
- func IDEQ(id int) predicate.Viewport
- func IDGT(id int) predicate.Viewport
- func IDGTE(id int) predicate.Viewport
- func IDIn(ids ...int) predicate.Viewport
- func IDLT(id int) predicate.Viewport
- func IDLTE(id int) predicate.Viewport
- func IDNEQ(id int) predicate.Viewport
- func IDNotIn(ids ...int) predicate.Viewport
- func Not(p predicate.Viewport) predicate.Viewport
- func Or(predicates ...predicate.Viewport) predicate.Viewport
- func Width(v int) predicate.Viewport
- func WidthEQ(v int) predicate.Viewport
- func WidthGT(v int) predicate.Viewport
- func WidthGTE(v int) predicate.Viewport
- func WidthIn(vs ...int) predicate.Viewport
- func WidthLT(v int) predicate.Viewport
- func WidthLTE(v int) predicate.Viewport
- func WidthNEQ(v int) predicate.Viewport
- func WidthNotIn(vs ...int) predicate.Viewport
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldDensity, FieldWidth, FieldHeight, }
Columns holds all SQL columns for viewport fields.
Functions ¶
func Density ¶
Density applies equality check predicate on the "density" field. It's identical to DensityEQ.
func DensityGTE ¶
DensityGTE applies the GTE predicate on the "density" field.
func DensityLTE ¶
DensityLTE applies the LTE predicate on the "density" field.
func DensityNEQ ¶
DensityNEQ applies the NEQ predicate on the "density" field.
func DensityNotIn ¶
DensityNotIn applies the NotIn predicate on the "density" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func Height ¶
Height applies equality check predicate on the "height" field. It's identical to HeightEQ.
func HeightNotIn ¶
HeightNotIn applies the NotIn predicate on the "height" field.
func Width ¶
Width applies equality check predicate on the "width" field. It's identical to WidthEQ.
func WidthNotIn ¶
WidthNotIn applies the NotIn predicate on the "width" field.
Types ¶
This section is empty.