Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EventType) predicate.EventType
- func Color(v string) predicate.EventType
- func ColorContains(v string) predicate.EventType
- func ColorContainsFold(v string) predicate.EventType
- func ColorEQ(v string) predicate.EventType
- func ColorEqualFold(v string) predicate.EventType
- func ColorGT(v string) predicate.EventType
- func ColorGTE(v string) predicate.EventType
- func ColorHasPrefix(v string) predicate.EventType
- func ColorHasSuffix(v string) predicate.EventType
- func ColorIn(vs ...string) predicate.EventType
- func ColorLT(v string) predicate.EventType
- func ColorLTE(v string) predicate.EventType
- func ColorNEQ(v string) predicate.EventType
- func ColorNotIn(vs ...string) predicate.EventType
- func HasEvents() predicate.EventType
- func HasEventsWith(preds ...predicate.Event) predicate.EventType
- func ID(id uuid.UUID) predicate.EventType
- func IDEQ(id uuid.UUID) predicate.EventType
- func IDGT(id uuid.UUID) predicate.EventType
- func IDGTE(id uuid.UUID) predicate.EventType
- func IDIn(ids ...uuid.UUID) predicate.EventType
- func IDLT(id uuid.UUID) predicate.EventType
- func IDLTE(id uuid.UUID) predicate.EventType
- func IDNEQ(id uuid.UUID) predicate.EventType
- func IDNotIn(ids ...uuid.UUID) predicate.EventType
- func Name(v string) predicate.EventType
- func NameContains(v string) predicate.EventType
- func NameContainsFold(v string) predicate.EventType
- func NameEQ(v string) predicate.EventType
- func NameEqualFold(v string) predicate.EventType
- func NameGT(v string) predicate.EventType
- func NameGTE(v string) predicate.EventType
- func NameHasPrefix(v string) predicate.EventType
- func NameHasSuffix(v string) predicate.EventType
- func NameIn(vs ...string) predicate.EventType
- func NameLT(v string) predicate.EventType
- func NameLTE(v string) predicate.EventType
- func NameNEQ(v string) predicate.EventType
- func NameNotIn(vs ...string) predicate.EventType
- func Not(p predicate.EventType) predicate.EventType
- func Or(predicates ...predicate.EventType) predicate.EventType
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the eventtype type in the database. Label = "event_type" // 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" // FieldColor holds the string denoting the color field in the database. FieldColor = "color" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the eventtype in the database. Table = "event_types" // EventsTable is the table that 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_type_events" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldColor, }
Columns holds all SQL columns for eventtype fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func Color ¶
Color applies equality check predicate on the "color" field. It's identical to ColorEQ.
func ColorContains ¶
ColorContains applies the Contains predicate on the "color" field.
func ColorContainsFold ¶
ColorContainsFold applies the ContainsFold predicate on the "color" field.
func ColorEqualFold ¶
ColorEqualFold applies the EqualFold predicate on the "color" field.
func ColorHasPrefix ¶
ColorHasPrefix applies the HasPrefix predicate on the "color" field.
func ColorHasSuffix ¶
ColorHasSuffix applies the HasSuffix predicate on the "color" field.
func ColorNotIn ¶
ColorNotIn applies the NotIn predicate on the "color" 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.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.