screen

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 screen type in the database.
	Label = "screen"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"

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

	// Table holds the table name of the screen in the database.
	Table = "screens"
	// 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_screen"
)

Variables

Columns holds all SQL columns for screen fields.

Functions

func And

func And(predicates ...predicate.Screen) predicate.Screen

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

func Category

func Category(v string) predicate.Screen

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains

func CategoryContains(v string) predicate.Screen

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold

func CategoryContainsFold(v string) predicate.Screen

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ

func CategoryEQ(v string) predicate.Screen

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold

func CategoryEqualFold(v string) predicate.Screen

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT

func CategoryGT(v string) predicate.Screen

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE

func CategoryGTE(v string) predicate.Screen

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix

func CategoryHasPrefix(v string) predicate.Screen

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix

func CategoryHasSuffix(v string) predicate.Screen

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryIn

func CategoryIn(vs ...string) predicate.Screen

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil

func CategoryIsNil() predicate.Screen

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT

func CategoryLT(v string) predicate.Screen

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE

func CategoryLTE(v string) predicate.Screen

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ

func CategoryNEQ(v string) predicate.Screen

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn

func CategoryNotIn(vs ...string) predicate.Screen

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil

func CategoryNotNil() predicate.Screen

CategoryNotNil applies the NotNil predicate on the "category" field.

func HasEvents

func HasEvents() predicate.Screen

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

func HasEventsWith

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

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

func ID

func ID(id int) predicate.Screen

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Screen

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Screen

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Screen

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Screen

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Screen

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Screen

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Screen

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Screen

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Screen

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Screen

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Screen

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Screen

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Screen

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Screen

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Screen

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Screen

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Screen

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Screen

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Screen

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Screen

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Screen) predicate.Screen

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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