Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Extra) predicate.Extra
- func HasEvent() predicate.Extra
- func HasEventWith(preds ...predicate.Event) predicate.Extra
- func ID(id int) predicate.Extra
- func IDEQ(id int) predicate.Extra
- func IDGT(id int) predicate.Extra
- func IDGTE(id int) predicate.Extra
- func IDIn(ids ...int) predicate.Extra
- func IDLT(id int) predicate.Extra
- func IDLTE(id int) predicate.Extra
- func IDNEQ(id int) predicate.Extra
- func IDNotIn(ids ...int) predicate.Extra
- func Not(p predicate.Extra) predicate.Extra
- func Or(predicates ...predicate.Extra) predicate.Extra
Constants ¶
View Source
const ( // Label holds the string label denoting the extra type in the database. Label = "extra" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldValues holds the string denoting the values field in the database. FieldValues = "values" // EdgeEvent holds the string denoting the event edge name in mutations. EdgeEvent = "event" // Table holds the table name of the extra in the database. Table = "extras" // EventTable is the table the holds the event relation/edge. EventTable = "events" // EventInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventInverseTable = "events" // EventColumn is the table column denoting the event relation/edge. EventColumn = "event_extra" )
Variables ¶
View Source
var Columns = []string{ FieldID, FieldValues, }
Columns holds all SQL columns for extra fields.
Functions ¶
func HasEventWith ¶
HasEventWith applies the HasEdge predicate on the "event" edge with a given conditions (other predicates).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.