Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NotificationRecord) predicate.NotificationRecord
- func EventID(v int) predicate.NotificationRecord
- func EventIDEQ(v int) predicate.NotificationRecord
- func EventIDIn(vs ...int) predicate.NotificationRecord
- func EventIDIsNil() predicate.NotificationRecord
- func EventIDNEQ(v int) predicate.NotificationRecord
- func EventIDNotIn(vs ...int) predicate.NotificationRecord
- func EventIDNotNil() predicate.NotificationRecord
- func HasEvent() predicate.NotificationRecord
- func HasEventWith(preds ...predicate.Event) predicate.NotificationRecord
- func ID(id int) predicate.NotificationRecord
- func IDEQ(id int) predicate.NotificationRecord
- func IDGT(id int) predicate.NotificationRecord
- func IDGTE(id int) predicate.NotificationRecord
- func IDIn(ids ...int) predicate.NotificationRecord
- func IDLT(id int) predicate.NotificationRecord
- func IDLTE(id int) predicate.NotificationRecord
- func IDNEQ(id int) predicate.NotificationRecord
- func IDNotIn(ids ...int) predicate.NotificationRecord
- func Not(p predicate.NotificationRecord) predicate.NotificationRecord
- func Or(predicates ...predicate.NotificationRecord) predicate.NotificationRecord
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the notificationrecord type in the database. Label = "notification_record" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldEventID holds the string denoting the event_id field in the database. FieldEventID = "event_id" // EdgeEvent holds the string denoting the event edge name in mutations. EdgeEvent = "event" // Table holds the table name of the notificationrecord in the database. Table = "notification_records" // EventTable is the table that holds the event relation/edge. EventTable = "notification_records" // 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_id" )
Variables ¶
var Columns = []string{ FieldID, FieldEventID, }
Columns holds all SQL columns for notificationrecord fields.
Functions ¶
func And ¶
func And(predicates ...predicate.NotificationRecord) predicate.NotificationRecord
And groups predicates with the AND operator between them.
func EventID ¶
func EventID(v int) predicate.NotificationRecord
EventID applies equality check predicate on the "event_id" field. It's identical to EventIDEQ.
func EventIDEQ ¶
func EventIDEQ(v int) predicate.NotificationRecord
EventIDEQ applies the EQ predicate on the "event_id" field.
func EventIDIn ¶
func EventIDIn(vs ...int) predicate.NotificationRecord
EventIDIn applies the In predicate on the "event_id" field.
func EventIDIsNil ¶
func EventIDIsNil() predicate.NotificationRecord
EventIDIsNil applies the IsNil predicate on the "event_id" field.
func EventIDNEQ ¶
func EventIDNEQ(v int) predicate.NotificationRecord
EventIDNEQ applies the NEQ predicate on the "event_id" field.
func EventIDNotIn ¶
func EventIDNotIn(vs ...int) predicate.NotificationRecord
EventIDNotIn applies the NotIn predicate on the "event_id" field.
func EventIDNotNil ¶
func EventIDNotNil() predicate.NotificationRecord
EventIDNotNil applies the NotNil predicate on the "event_id" field.
func HasEvent ¶
func HasEvent() predicate.NotificationRecord
HasEvent applies the HasEdge predicate on the "event" edge.
func HasEventWith ¶
func HasEventWith(preds ...predicate.Event) predicate.NotificationRecord
HasEventWith applies the HasEdge predicate on the "event" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.NotificationRecord
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.NotificationRecord
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.NotificationRecord
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NotificationRecord
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.NotificationRecord
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NotificationRecord
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NotificationRecord
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NotificationRecord
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.NotificationRecord) predicate.NotificationRecord
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NotificationRecord) predicate.NotificationRecord
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.