Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Screen) predicate.Screen
- func Category(v string) predicate.Screen
- func CategoryContains(v string) predicate.Screen
- func CategoryContainsFold(v string) predicate.Screen
- func CategoryEQ(v string) predicate.Screen
- func CategoryEqualFold(v string) predicate.Screen
- func CategoryGT(v string) predicate.Screen
- func CategoryGTE(v string) predicate.Screen
- func CategoryHasPrefix(v string) predicate.Screen
- func CategoryHasSuffix(v string) predicate.Screen
- func CategoryIn(vs ...string) predicate.Screen
- func CategoryIsNil() predicate.Screen
- func CategoryLT(v string) predicate.Screen
- func CategoryLTE(v string) predicate.Screen
- func CategoryNEQ(v string) predicate.Screen
- func CategoryNotIn(vs ...string) predicate.Screen
- func CategoryNotNil() predicate.Screen
- func HasEvents() predicate.Screen
- func HasEventsWith(preds ...predicate.Event) predicate.Screen
- func ID(id int) predicate.Screen
- func IDEQ(id int) predicate.Screen
- func IDGT(id int) predicate.Screen
- func IDGTE(id int) predicate.Screen
- func IDIn(ids ...int) predicate.Screen
- func IDLT(id int) predicate.Screen
- func IDLTE(id int) predicate.Screen
- func IDNEQ(id int) predicate.Screen
- func IDNotIn(ids ...int) predicate.Screen
- func Name(v string) predicate.Screen
- func NameContains(v string) predicate.Screen
- func NameContainsFold(v string) predicate.Screen
- func NameEQ(v string) predicate.Screen
- func NameEqualFold(v string) predicate.Screen
- func NameGT(v string) predicate.Screen
- func NameGTE(v string) predicate.Screen
- func NameHasPrefix(v string) predicate.Screen
- func NameHasSuffix(v string) predicate.Screen
- func NameIn(vs ...string) predicate.Screen
- func NameLT(v string) predicate.Screen
- func NameLTE(v string) predicate.Screen
- func NameNEQ(v string) predicate.Screen
- func NameNotIn(vs ...string) predicate.Screen
- func Not(p predicate.Screen) predicate.Screen
- func Or(predicates ...predicate.Screen) predicate.Screen
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldName, FieldCategory, }
Columns holds all SQL columns for screen fields.
Functions ¶
func Category ¶
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶
CategoryNotNil applies the NotNil predicate on the "category" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
Types ¶
This section is empty.