Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NotificationEventDeliveryStatus) predicate.NotificationEventDeliveryStatus
- func ChannelID(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDContains(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDContainsFold(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDEQ(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDEqualFold(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDGT(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDGTE(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDHasPrefix(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDHasSuffix(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func ChannelIDLT(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDLTE(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDNEQ(v string) predicate.NotificationEventDeliveryStatus
- func ChannelIDNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func CreatedAt(v time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtEQ(v time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtGT(v time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtGTE(v time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtLT(v time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtLTE(v time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtNEQ(v time.Time) predicate.NotificationEventDeliveryStatus
- func CreatedAtNotIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
- func EventID(v string) predicate.NotificationEventDeliveryStatus
- func EventIDContains(v string) predicate.NotificationEventDeliveryStatus
- func EventIDContainsFold(v string) predicate.NotificationEventDeliveryStatus
- func EventIDEQ(v string) predicate.NotificationEventDeliveryStatus
- func EventIDEqualFold(v string) predicate.NotificationEventDeliveryStatus
- func EventIDGT(v string) predicate.NotificationEventDeliveryStatus
- func EventIDGTE(v string) predicate.NotificationEventDeliveryStatus
- func EventIDHasPrefix(v string) predicate.NotificationEventDeliveryStatus
- func EventIDHasSuffix(v string) predicate.NotificationEventDeliveryStatus
- func EventIDIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func EventIDLT(v string) predicate.NotificationEventDeliveryStatus
- func EventIDLTE(v string) predicate.NotificationEventDeliveryStatus
- func EventIDNEQ(v string) predicate.NotificationEventDeliveryStatus
- func EventIDNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func HasEvents() predicate.NotificationEventDeliveryStatus
- func HasEventsWith(preds ...predicate.NotificationEvent) predicate.NotificationEventDeliveryStatus
- func ID(id string) predicate.NotificationEventDeliveryStatus
- func IDContainsFold(id string) predicate.NotificationEventDeliveryStatus
- func IDEQ(id string) predicate.NotificationEventDeliveryStatus
- func IDEqualFold(id string) predicate.NotificationEventDeliveryStatus
- func IDGT(id string) predicate.NotificationEventDeliveryStatus
- func IDGTE(id string) predicate.NotificationEventDeliveryStatus
- func IDIn(ids ...string) predicate.NotificationEventDeliveryStatus
- func IDLT(id string) predicate.NotificationEventDeliveryStatus
- func IDLTE(id string) predicate.NotificationEventDeliveryStatus
- func IDNEQ(id string) predicate.NotificationEventDeliveryStatus
- func IDNotIn(ids ...string) predicate.NotificationEventDeliveryStatus
- func Namespace(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceContains(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceContainsFold(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceEQ(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceEqualFold(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceGT(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceGTE(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceHasPrefix(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceHasSuffix(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func NamespaceLT(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceLTE(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceNEQ(v string) predicate.NotificationEventDeliveryStatus
- func NamespaceNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func Not(p predicate.NotificationEventDeliveryStatus) predicate.NotificationEventDeliveryStatus
- func Or(predicates ...predicate.NotificationEventDeliveryStatus) predicate.NotificationEventDeliveryStatus
- func Reason(v string) predicate.NotificationEventDeliveryStatus
- func ReasonContains(v string) predicate.NotificationEventDeliveryStatus
- func ReasonContainsFold(v string) predicate.NotificationEventDeliveryStatus
- func ReasonEQ(v string) predicate.NotificationEventDeliveryStatus
- func ReasonEqualFold(v string) predicate.NotificationEventDeliveryStatus
- func ReasonGT(v string) predicate.NotificationEventDeliveryStatus
- func ReasonGTE(v string) predicate.NotificationEventDeliveryStatus
- func ReasonHasPrefix(v string) predicate.NotificationEventDeliveryStatus
- func ReasonHasSuffix(v string) predicate.NotificationEventDeliveryStatus
- func ReasonIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func ReasonIsNil() predicate.NotificationEventDeliveryStatus
- func ReasonLT(v string) predicate.NotificationEventDeliveryStatus
- func ReasonLTE(v string) predicate.NotificationEventDeliveryStatus
- func ReasonNEQ(v string) predicate.NotificationEventDeliveryStatus
- func ReasonNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
- func ReasonNotNil() predicate.NotificationEventDeliveryStatus
- func StateEQ(v notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
- func StateIn(vs ...notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
- func StateNEQ(v notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
- func StateNotIn(vs ...notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
- func StateValidator(s notification.EventDeliveryStatusState) error
- func UpdatedAt(v time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtEQ(v time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtGT(v time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtGTE(v time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtLT(v time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtLTE(v time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtNEQ(v time.Time) predicate.NotificationEventDeliveryStatus
- func UpdatedAtNotIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
- func ValidColumn(column string) bool
- type OrderOption
- func ByChannelID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEventID(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByReason(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the notificationeventdeliverystatus type in the database. Label = "notification_event_delivery_status" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldEventID holds the string denoting the event_id field in the database. FieldEventID = "event_id" // FieldChannelID holds the string denoting the channel_id field in the database. FieldChannelID = "channel_id" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldReason holds the string denoting the reason field in the database. FieldReason = "reason" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the notificationeventdeliverystatus in the database. Table = "notification_event_delivery_status" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "notification_event_delivery_status_events" // EventsInverseTable is the table name for the NotificationEvent entity. // It exists in this package in order to avoid circular dependency with the "notificationevent" package. EventsInverseTable = "notification_events" )
const DefaultState notification.EventDeliveryStatusState = "PENDING"
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // EventIDValidator is a validator for the "event_id" field. It is called by the builders before save. EventIDValidator func(string) error // ChannelIDValidator is a validator for the "channel_id" field. It is called by the builders before save. ChannelIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldNamespace, FieldCreatedAt, FieldUpdatedAt, FieldEventID, FieldChannelID, FieldState, FieldReason, }
Columns holds all SQL columns for notificationeventdeliverystatus fields.
var ( // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"notification_event_delivery_status_id", "notification_event_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.NotificationEventDeliveryStatus) predicate.NotificationEventDeliveryStatus
And groups predicates with the AND operator between them.
func ChannelID ¶
func ChannelID(v string) predicate.NotificationEventDeliveryStatus
ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelIDContains ¶
func ChannelIDContains(v string) predicate.NotificationEventDeliveryStatus
ChannelIDContains applies the Contains predicate on the "channel_id" field.
func ChannelIDContainsFold ¶
func ChannelIDContainsFold(v string) predicate.NotificationEventDeliveryStatus
ChannelIDContainsFold applies the ContainsFold predicate on the "channel_id" field.
func ChannelIDEQ ¶
func ChannelIDEQ(v string) predicate.NotificationEventDeliveryStatus
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDEqualFold ¶
func ChannelIDEqualFold(v string) predicate.NotificationEventDeliveryStatus
ChannelIDEqualFold applies the EqualFold predicate on the "channel_id" field.
func ChannelIDGT ¶
func ChannelIDGT(v string) predicate.NotificationEventDeliveryStatus
ChannelIDGT applies the GT predicate on the "channel_id" field.
func ChannelIDGTE ¶
func ChannelIDGTE(v string) predicate.NotificationEventDeliveryStatus
ChannelIDGTE applies the GTE predicate on the "channel_id" field.
func ChannelIDHasPrefix ¶
func ChannelIDHasPrefix(v string) predicate.NotificationEventDeliveryStatus
ChannelIDHasPrefix applies the HasPrefix predicate on the "channel_id" field.
func ChannelIDHasSuffix ¶
func ChannelIDHasSuffix(v string) predicate.NotificationEventDeliveryStatus
ChannelIDHasSuffix applies the HasSuffix predicate on the "channel_id" field.
func ChannelIDIn ¶
func ChannelIDIn(vs ...string) predicate.NotificationEventDeliveryStatus
ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDLT ¶
func ChannelIDLT(v string) predicate.NotificationEventDeliveryStatus
ChannelIDLT applies the LT predicate on the "channel_id" field.
func ChannelIDLTE ¶
func ChannelIDLTE(v string) predicate.NotificationEventDeliveryStatus
ChannelIDLTE applies the LTE predicate on the "channel_id" field.
func ChannelIDNEQ ¶
func ChannelIDNEQ(v string) predicate.NotificationEventDeliveryStatus
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNotIn ¶
func ChannelIDNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.NotificationEventDeliveryStatus
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EventID ¶
func EventID(v string) predicate.NotificationEventDeliveryStatus
EventID applies equality check predicate on the "event_id" field. It's identical to EventIDEQ.
func EventIDContains ¶
func EventIDContains(v string) predicate.NotificationEventDeliveryStatus
EventIDContains applies the Contains predicate on the "event_id" field.
func EventIDContainsFold ¶
func EventIDContainsFold(v string) predicate.NotificationEventDeliveryStatus
EventIDContainsFold applies the ContainsFold predicate on the "event_id" field.
func EventIDEQ ¶
func EventIDEQ(v string) predicate.NotificationEventDeliveryStatus
EventIDEQ applies the EQ predicate on the "event_id" field.
func EventIDEqualFold ¶
func EventIDEqualFold(v string) predicate.NotificationEventDeliveryStatus
EventIDEqualFold applies the EqualFold predicate on the "event_id" field.
func EventIDGT ¶
func EventIDGT(v string) predicate.NotificationEventDeliveryStatus
EventIDGT applies the GT predicate on the "event_id" field.
func EventIDGTE ¶
func EventIDGTE(v string) predicate.NotificationEventDeliveryStatus
EventIDGTE applies the GTE predicate on the "event_id" field.
func EventIDHasPrefix ¶
func EventIDHasPrefix(v string) predicate.NotificationEventDeliveryStatus
EventIDHasPrefix applies the HasPrefix predicate on the "event_id" field.
func EventIDHasSuffix ¶
func EventIDHasSuffix(v string) predicate.NotificationEventDeliveryStatus
EventIDHasSuffix applies the HasSuffix predicate on the "event_id" field.
func EventIDIn ¶
func EventIDIn(vs ...string) predicate.NotificationEventDeliveryStatus
EventIDIn applies the In predicate on the "event_id" field.
func EventIDLT ¶
func EventIDLT(v string) predicate.NotificationEventDeliveryStatus
EventIDLT applies the LT predicate on the "event_id" field.
func EventIDLTE ¶
func EventIDLTE(v string) predicate.NotificationEventDeliveryStatus
EventIDLTE applies the LTE predicate on the "event_id" field.
func EventIDNEQ ¶
func EventIDNEQ(v string) predicate.NotificationEventDeliveryStatus
EventIDNEQ applies the NEQ predicate on the "event_id" field.
func EventIDNotIn ¶
func EventIDNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
EventIDNotIn applies the NotIn predicate on the "event_id" field.
func HasEvents ¶
func HasEvents() predicate.NotificationEventDeliveryStatus
HasEvents applies the HasEdge predicate on the "events" edge.
func HasEventsWith ¶
func HasEventsWith(preds ...predicate.NotificationEvent) predicate.NotificationEventDeliveryStatus
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.NotificationEventDeliveryStatus
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.NotificationEventDeliveryStatus
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.NotificationEventDeliveryStatus
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.NotificationEventDeliveryStatus
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.NotificationEventDeliveryStatus
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.NotificationEventDeliveryStatus
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.NotificationEventDeliveryStatus
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.NotificationEventDeliveryStatus
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.NotificationEventDeliveryStatus
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.NotificationEventDeliveryStatus
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.NotificationEventDeliveryStatus
IDNotIn applies the NotIn predicate on the ID field.
func Namespace ¶
func Namespace(v string) predicate.NotificationEventDeliveryStatus
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.NotificationEventDeliveryStatus
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.NotificationEventDeliveryStatus
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.NotificationEventDeliveryStatus
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.NotificationEventDeliveryStatus
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.NotificationEventDeliveryStatus
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.NotificationEventDeliveryStatus
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.NotificationEventDeliveryStatus
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.NotificationEventDeliveryStatus
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.NotificationEventDeliveryStatus
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.NotificationEventDeliveryStatus
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.NotificationEventDeliveryStatus
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.NotificationEventDeliveryStatus
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Or ¶
func Or(predicates ...predicate.NotificationEventDeliveryStatus) predicate.NotificationEventDeliveryStatus
Or groups predicates with the OR operator between them.
func Reason ¶
func Reason(v string) predicate.NotificationEventDeliveryStatus
Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.
func ReasonContains ¶
func ReasonContains(v string) predicate.NotificationEventDeliveryStatus
ReasonContains applies the Contains predicate on the "reason" field.
func ReasonContainsFold ¶
func ReasonContainsFold(v string) predicate.NotificationEventDeliveryStatus
ReasonContainsFold applies the ContainsFold predicate on the "reason" field.
func ReasonEQ ¶
func ReasonEQ(v string) predicate.NotificationEventDeliveryStatus
ReasonEQ applies the EQ predicate on the "reason" field.
func ReasonEqualFold ¶
func ReasonEqualFold(v string) predicate.NotificationEventDeliveryStatus
ReasonEqualFold applies the EqualFold predicate on the "reason" field.
func ReasonGT ¶
func ReasonGT(v string) predicate.NotificationEventDeliveryStatus
ReasonGT applies the GT predicate on the "reason" field.
func ReasonGTE ¶
func ReasonGTE(v string) predicate.NotificationEventDeliveryStatus
ReasonGTE applies the GTE predicate on the "reason" field.
func ReasonHasPrefix ¶
func ReasonHasPrefix(v string) predicate.NotificationEventDeliveryStatus
ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.
func ReasonHasSuffix ¶
func ReasonHasSuffix(v string) predicate.NotificationEventDeliveryStatus
ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.
func ReasonIn ¶
func ReasonIn(vs ...string) predicate.NotificationEventDeliveryStatus
ReasonIn applies the In predicate on the "reason" field.
func ReasonIsNil ¶
func ReasonIsNil() predicate.NotificationEventDeliveryStatus
ReasonIsNil applies the IsNil predicate on the "reason" field.
func ReasonLT ¶
func ReasonLT(v string) predicate.NotificationEventDeliveryStatus
ReasonLT applies the LT predicate on the "reason" field.
func ReasonLTE ¶
func ReasonLTE(v string) predicate.NotificationEventDeliveryStatus
ReasonLTE applies the LTE predicate on the "reason" field.
func ReasonNEQ ¶
func ReasonNEQ(v string) predicate.NotificationEventDeliveryStatus
ReasonNEQ applies the NEQ predicate on the "reason" field.
func ReasonNotIn ¶
func ReasonNotIn(vs ...string) predicate.NotificationEventDeliveryStatus
ReasonNotIn applies the NotIn predicate on the "reason" field.
func ReasonNotNil ¶
func ReasonNotNil() predicate.NotificationEventDeliveryStatus
ReasonNotNil applies the NotNil predicate on the "reason" field.
func StateEQ ¶
func StateEQ(v notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
StateEQ applies the EQ predicate on the "state" field.
func StateIn ¶
func StateIn(vs ...notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
StateIn applies the In predicate on the "state" field.
func StateNEQ ¶
func StateNEQ(v notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
StateNEQ applies the NEQ predicate on the "state" field.
func StateNotIn ¶
func StateNotIn(vs ...notification.EventDeliveryStatusState) predicate.NotificationEventDeliveryStatus
StateNotIn applies the NotIn predicate on the "state" field.
func StateValidator ¶
func StateValidator(s notification.EventDeliveryStatusState) error
StateValidator is a validator for the "state" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.NotificationEventDeliveryStatus
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the NotificationEventDeliveryStatus queries.
func ByChannelID ¶
func ByChannelID(opts ...sql.OrderTermOption) OrderOption
ByChannelID orders the results by the channel_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEventID ¶
func ByEventID(opts ...sql.OrderTermOption) OrderOption
ByEventID orders the results by the event_id field.
func ByEvents ¶
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func ByReason ¶
func ByReason(opts ...sql.OrderTermOption) OrderOption
ByReason orders the results by the reason field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.