Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NotifyChannel) predicate.NotifyChannel
- func CreatedAt(v time.Time) predicate.NotifyChannel
- func CreatedAtEQ(v time.Time) predicate.NotifyChannel
- func CreatedAtGT(v time.Time) predicate.NotifyChannel
- func CreatedAtGTE(v time.Time) predicate.NotifyChannel
- func CreatedAtIn(vs ...time.Time) predicate.NotifyChannel
- func CreatedAtLT(v time.Time) predicate.NotifyChannel
- func CreatedAtLTE(v time.Time) predicate.NotifyChannel
- func CreatedAtNEQ(v time.Time) predicate.NotifyChannel
- func CreatedAtNotIn(vs ...time.Time) predicate.NotifyChannel
- func DeletedAt(v time.Time) predicate.NotifyChannel
- func DeletedAtEQ(v time.Time) predicate.NotifyChannel
- func DeletedAtGT(v time.Time) predicate.NotifyChannel
- func DeletedAtGTE(v time.Time) predicate.NotifyChannel
- func DeletedAtIn(vs ...time.Time) predicate.NotifyChannel
- func DeletedAtIsNil() predicate.NotifyChannel
- func DeletedAtLT(v time.Time) predicate.NotifyChannel
- func DeletedAtLTE(v time.Time) predicate.NotifyChannel
- func DeletedAtNEQ(v time.Time) predicate.NotifyChannel
- func DeletedAtNotIn(vs ...time.Time) predicate.NotifyChannel
- func DeletedAtNotNil() predicate.NotifyChannel
- func Enabled(v bool) predicate.NotifyChannel
- func EnabledEQ(v bool) predicate.NotifyChannel
- func EnabledNEQ(v bool) predicate.NotifyChannel
- func HasSubscriptions() predicate.NotifyChannel
- func HasSubscriptionsWith(preds ...predicate.NotifySubscription) predicate.NotifyChannel
- func HeadersIsNil() predicate.NotifyChannel
- func HeadersNotNil() predicate.NotifyChannel
- func ID(id uuid.UUID) predicate.NotifyChannel
- func IDEQ(id uuid.UUID) predicate.NotifyChannel
- func IDGT(id uuid.UUID) predicate.NotifyChannel
- func IDGTE(id uuid.UUID) predicate.NotifyChannel
- func IDIn(ids ...uuid.UUID) predicate.NotifyChannel
- func IDLT(id uuid.UUID) predicate.NotifyChannel
- func IDLTE(id uuid.UUID) predicate.NotifyChannel
- func IDNEQ(id uuid.UUID) predicate.NotifyChannel
- func IDNotIn(ids ...uuid.UUID) predicate.NotifyChannel
- func Kind(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindContains(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindContainsFold(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindEQ(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindEqualFold(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindGT(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindGTE(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindHasPrefix(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindHasSuffix(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindIn(vs ...consts.NotifyChannelKind) predicate.NotifyChannel
- func KindLT(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindLTE(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindNEQ(v consts.NotifyChannelKind) predicate.NotifyChannel
- func KindNotIn(vs ...consts.NotifyChannelKind) predicate.NotifyChannel
- func Name(v string) predicate.NotifyChannel
- func NameContains(v string) predicate.NotifyChannel
- func NameContainsFold(v string) predicate.NotifyChannel
- func NameEQ(v string) predicate.NotifyChannel
- func NameEqualFold(v string) predicate.NotifyChannel
- func NameGT(v string) predicate.NotifyChannel
- func NameGTE(v string) predicate.NotifyChannel
- func NameHasPrefix(v string) predicate.NotifyChannel
- func NameHasSuffix(v string) predicate.NotifyChannel
- func NameIn(vs ...string) predicate.NotifyChannel
- func NameLT(v string) predicate.NotifyChannel
- func NameLTE(v string) predicate.NotifyChannel
- func NameNEQ(v string) predicate.NotifyChannel
- func NameNotIn(vs ...string) predicate.NotifyChannel
- func Not(p predicate.NotifyChannel) predicate.NotifyChannel
- func Or(predicates ...predicate.NotifyChannel) predicate.NotifyChannel
- func OwnerID(v uuid.UUID) predicate.NotifyChannel
- func OwnerIDEQ(v uuid.UUID) predicate.NotifyChannel
- func OwnerIDGT(v uuid.UUID) predicate.NotifyChannel
- func OwnerIDGTE(v uuid.UUID) predicate.NotifyChannel
- func OwnerIDIn(vs ...uuid.UUID) predicate.NotifyChannel
- func OwnerIDLT(v uuid.UUID) predicate.NotifyChannel
- func OwnerIDLTE(v uuid.UUID) predicate.NotifyChannel
- func OwnerIDNEQ(v uuid.UUID) predicate.NotifyChannel
- func OwnerIDNotIn(vs ...uuid.UUID) predicate.NotifyChannel
- func OwnerType(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeContains(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeContainsFold(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeEQ(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeEqualFold(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeGT(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeGTE(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeHasPrefix(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeHasSuffix(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeIn(vs ...consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeLT(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeLTE(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeNEQ(v consts.NotifyOwnerType) predicate.NotifyChannel
- func OwnerTypeNotIn(vs ...consts.NotifyOwnerType) predicate.NotifyChannel
- func Secret(v string) predicate.NotifyChannel
- func SecretContains(v string) predicate.NotifyChannel
- func SecretContainsFold(v string) predicate.NotifyChannel
- func SecretEQ(v string) predicate.NotifyChannel
- func SecretEqualFold(v string) predicate.NotifyChannel
- func SecretGT(v string) predicate.NotifyChannel
- func SecretGTE(v string) predicate.NotifyChannel
- func SecretHasPrefix(v string) predicate.NotifyChannel
- func SecretHasSuffix(v string) predicate.NotifyChannel
- func SecretIn(vs ...string) predicate.NotifyChannel
- func SecretIsNil() predicate.NotifyChannel
- func SecretLT(v string) predicate.NotifyChannel
- func SecretLTE(v string) predicate.NotifyChannel
- func SecretNEQ(v string) predicate.NotifyChannel
- func SecretNotIn(vs ...string) predicate.NotifyChannel
- func SecretNotNil() predicate.NotifyChannel
- func UpdatedAt(v time.Time) predicate.NotifyChannel
- func UpdatedAtEQ(v time.Time) predicate.NotifyChannel
- func UpdatedAtGT(v time.Time) predicate.NotifyChannel
- func UpdatedAtGTE(v time.Time) predicate.NotifyChannel
- func UpdatedAtIn(vs ...time.Time) predicate.NotifyChannel
- func UpdatedAtLT(v time.Time) predicate.NotifyChannel
- func UpdatedAtLTE(v time.Time) predicate.NotifyChannel
- func UpdatedAtNEQ(v time.Time) predicate.NotifyChannel
- func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyChannel
- func ValidColumn(column string) bool
- func WebhookURL(v string) predicate.NotifyChannel
- func WebhookURLContains(v string) predicate.NotifyChannel
- func WebhookURLContainsFold(v string) predicate.NotifyChannel
- func WebhookURLEQ(v string) predicate.NotifyChannel
- func WebhookURLEqualFold(v string) predicate.NotifyChannel
- func WebhookURLGT(v string) predicate.NotifyChannel
- func WebhookURLGTE(v string) predicate.NotifyChannel
- func WebhookURLHasPrefix(v string) predicate.NotifyChannel
- func WebhookURLHasSuffix(v string) predicate.NotifyChannel
- func WebhookURLIn(vs ...string) predicate.NotifyChannel
- func WebhookURLLT(v string) predicate.NotifyChannel
- func WebhookURLLTE(v string) predicate.NotifyChannel
- func WebhookURLNEQ(v string) predicate.NotifyChannel
- func WebhookURLNotIn(vs ...string) predicate.NotifyChannel
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerType(opts ...sql.OrderTermOption) OrderOption
- func BySecret(opts ...sql.OrderTermOption) OrderOption
- func BySubscriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubscriptionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWebhookURL(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the notifychannel type in the database. Label = "notify_channel" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldOwnerType holds the string denoting the owner_type field in the database. FieldOwnerType = "owner_type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldWebhookURL holds the string denoting the webhook_url field in the database. FieldWebhookURL = "webhook_url" // FieldSecret holds the string denoting the secret field in the database. FieldSecret = "secret" // FieldHeaders holds the string denoting the headers field in the database. FieldHeaders = "headers" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // 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" // EdgeSubscriptions holds the string denoting the subscriptions edge name in mutations. EdgeSubscriptions = "subscriptions" // Table holds the table name of the notifychannel in the database. Table = "notify_channels" // SubscriptionsTable is the table that holds the subscriptions relation/edge. SubscriptionsTable = "notify_subscriptions" // SubscriptionsInverseTable is the table name for the NotifySubscription entity. // It exists in this package in order to avoid circular dependency with the "notifysubscription" package. SubscriptionsInverseTable = "notify_subscriptions" // SubscriptionsColumn is the table column denoting the subscriptions relation/edge. SubscriptionsColumn = "channel_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // DefaultOwnerType holds the default value on creation for the "owner_type" field. DefaultOwnerType consts.NotifyOwnerType // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // WebhookURLValidator is a validator for the "webhook_url" field. It is called by the builders before save. WebhookURLValidator func(string) error // DefaultSecret holds the default value on creation for the "secret" field. DefaultSecret string // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // 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 )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/chaitin/MonkeyCode/backend/db/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldOwnerID, FieldOwnerType, FieldName, FieldKind, FieldWebhookURL, FieldSecret, FieldHeaders, FieldEnabled, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for notifychannel fields.
Functions ¶
func And ¶
func And(predicates ...predicate.NotifyChannel) predicate.NotifyChannel
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.NotifyChannel
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.NotifyChannel
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.NotifyChannel
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.NotifyChannel
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.NotifyChannel
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.NotifyChannel
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.NotifyChannel
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.NotifyChannel
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.NotifyChannel
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.NotifyChannel
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.NotifyChannel
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.NotifyChannel
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.NotifyChannel
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.NotifyChannel
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.NotifyChannel
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.NotifyChannel
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.NotifyChannel
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.NotifyChannel
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.NotifyChannel
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.NotifyChannel
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Enabled ¶
func Enabled(v bool) predicate.NotifyChannel
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledEQ ¶
func EnabledEQ(v bool) predicate.NotifyChannel
EnabledEQ applies the EQ predicate on the "enabled" field.
func EnabledNEQ ¶
func EnabledNEQ(v bool) predicate.NotifyChannel
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func HasSubscriptions ¶
func HasSubscriptions() predicate.NotifyChannel
HasSubscriptions applies the HasEdge predicate on the "subscriptions" edge.
func HasSubscriptionsWith ¶
func HasSubscriptionsWith(preds ...predicate.NotifySubscription) predicate.NotifyChannel
HasSubscriptionsWith applies the HasEdge predicate on the "subscriptions" edge with a given conditions (other predicates).
func HeadersIsNil ¶
func HeadersIsNil() predicate.NotifyChannel
HeadersIsNil applies the IsNil predicate on the "headers" field.
func HeadersNotNil ¶
func HeadersNotNil() predicate.NotifyChannel
HeadersNotNil applies the NotNil predicate on the "headers" field.
func ID ¶
func ID(id uuid.UUID) predicate.NotifyChannel
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.NotifyChannel
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.NotifyChannel
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.NotifyChannel
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.NotifyChannel
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.NotifyChannel
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.NotifyChannel
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.NotifyChannel
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.NotifyChannel
IDNotIn applies the NotIn predicate on the ID field.
func Kind ¶
func Kind(v consts.NotifyChannelKind) predicate.NotifyChannel
Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.
func KindContains ¶
func KindContains(v consts.NotifyChannelKind) predicate.NotifyChannel
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
func KindContainsFold(v consts.NotifyChannelKind) predicate.NotifyChannel
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEQ ¶
func KindEQ(v consts.NotifyChannelKind) predicate.NotifyChannel
KindEQ applies the EQ predicate on the "kind" field.
func KindEqualFold ¶
func KindEqualFold(v consts.NotifyChannelKind) predicate.NotifyChannel
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindGT ¶
func KindGT(v consts.NotifyChannelKind) predicate.NotifyChannel
KindGT applies the GT predicate on the "kind" field.
func KindGTE ¶
func KindGTE(v consts.NotifyChannelKind) predicate.NotifyChannel
KindGTE applies the GTE predicate on the "kind" field.
func KindHasPrefix ¶
func KindHasPrefix(v consts.NotifyChannelKind) predicate.NotifyChannel
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
func KindHasSuffix(v consts.NotifyChannelKind) predicate.NotifyChannel
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func KindIn ¶
func KindIn(vs ...consts.NotifyChannelKind) predicate.NotifyChannel
KindIn applies the In predicate on the "kind" field.
func KindLT ¶
func KindLT(v consts.NotifyChannelKind) predicate.NotifyChannel
KindLT applies the LT predicate on the "kind" field.
func KindLTE ¶
func KindLTE(v consts.NotifyChannelKind) predicate.NotifyChannel
KindLTE applies the LTE predicate on the "kind" field.
func KindNEQ ¶
func KindNEQ(v consts.NotifyChannelKind) predicate.NotifyChannel
KindNEQ applies the NEQ predicate on the "kind" field.
func KindNotIn ¶
func KindNotIn(vs ...consts.NotifyChannelKind) predicate.NotifyChannel
KindNotIn applies the NotIn predicate on the "kind" field.
func Name ¶
func Name(v string) predicate.NotifyChannel
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.NotifyChannel
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.NotifyChannel
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.NotifyChannel
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.NotifyChannel
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.NotifyChannel
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.NotifyChannel
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.NotifyChannel
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.NotifyChannel
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.NotifyChannel
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.NotifyChannel
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.NotifyChannel
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.NotifyChannel
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.NotifyChannel
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.NotifyChannel) predicate.NotifyChannel
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NotifyChannel) predicate.NotifyChannel
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v uuid.UUID) predicate.NotifyChannel
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDEQ ¶
func OwnerIDEQ(v uuid.UUID) predicate.NotifyChannel
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v uuid.UUID) predicate.NotifyChannel
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v uuid.UUID) predicate.NotifyChannel
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...uuid.UUID) predicate.NotifyChannel
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v uuid.UUID) predicate.NotifyChannel
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v uuid.UUID) predicate.NotifyChannel
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v uuid.UUID) predicate.NotifyChannel
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...uuid.UUID) predicate.NotifyChannel
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerType ¶
func OwnerType(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerType applies equality check predicate on the "owner_type" field. It's identical to OwnerTypeEQ.
func OwnerTypeContains ¶
func OwnerTypeContains(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeContains applies the Contains predicate on the "owner_type" field.
func OwnerTypeContainsFold ¶
func OwnerTypeContainsFold(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeContainsFold applies the ContainsFold predicate on the "owner_type" field.
func OwnerTypeEQ ¶
func OwnerTypeEQ(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeEQ applies the EQ predicate on the "owner_type" field.
func OwnerTypeEqualFold ¶
func OwnerTypeEqualFold(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeEqualFold applies the EqualFold predicate on the "owner_type" field.
func OwnerTypeGT ¶
func OwnerTypeGT(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeGT applies the GT predicate on the "owner_type" field.
func OwnerTypeGTE ¶
func OwnerTypeGTE(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeGTE applies the GTE predicate on the "owner_type" field.
func OwnerTypeHasPrefix ¶
func OwnerTypeHasPrefix(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeHasPrefix applies the HasPrefix predicate on the "owner_type" field.
func OwnerTypeHasSuffix ¶
func OwnerTypeHasSuffix(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeHasSuffix applies the HasSuffix predicate on the "owner_type" field.
func OwnerTypeIn ¶
func OwnerTypeIn(vs ...consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeIn applies the In predicate on the "owner_type" field.
func OwnerTypeLT ¶
func OwnerTypeLT(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeLT applies the LT predicate on the "owner_type" field.
func OwnerTypeLTE ¶
func OwnerTypeLTE(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeLTE applies the LTE predicate on the "owner_type" field.
func OwnerTypeNEQ ¶
func OwnerTypeNEQ(v consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeNEQ applies the NEQ predicate on the "owner_type" field.
func OwnerTypeNotIn ¶
func OwnerTypeNotIn(vs ...consts.NotifyOwnerType) predicate.NotifyChannel
OwnerTypeNotIn applies the NotIn predicate on the "owner_type" field.
func Secret ¶
func Secret(v string) predicate.NotifyChannel
Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.
func SecretContains ¶
func SecretContains(v string) predicate.NotifyChannel
SecretContains applies the Contains predicate on the "secret" field.
func SecretContainsFold ¶
func SecretContainsFold(v string) predicate.NotifyChannel
SecretContainsFold applies the ContainsFold predicate on the "secret" field.
func SecretEQ ¶
func SecretEQ(v string) predicate.NotifyChannel
SecretEQ applies the EQ predicate on the "secret" field.
func SecretEqualFold ¶
func SecretEqualFold(v string) predicate.NotifyChannel
SecretEqualFold applies the EqualFold predicate on the "secret" field.
func SecretGT ¶
func SecretGT(v string) predicate.NotifyChannel
SecretGT applies the GT predicate on the "secret" field.
func SecretGTE ¶
func SecretGTE(v string) predicate.NotifyChannel
SecretGTE applies the GTE predicate on the "secret" field.
func SecretHasPrefix ¶
func SecretHasPrefix(v string) predicate.NotifyChannel
SecretHasPrefix applies the HasPrefix predicate on the "secret" field.
func SecretHasSuffix ¶
func SecretHasSuffix(v string) predicate.NotifyChannel
SecretHasSuffix applies the HasSuffix predicate on the "secret" field.
func SecretIn ¶
func SecretIn(vs ...string) predicate.NotifyChannel
SecretIn applies the In predicate on the "secret" field.
func SecretIsNil ¶
func SecretIsNil() predicate.NotifyChannel
SecretIsNil applies the IsNil predicate on the "secret" field.
func SecretLT ¶
func SecretLT(v string) predicate.NotifyChannel
SecretLT applies the LT predicate on the "secret" field.
func SecretLTE ¶
func SecretLTE(v string) predicate.NotifyChannel
SecretLTE applies the LTE predicate on the "secret" field.
func SecretNEQ ¶
func SecretNEQ(v string) predicate.NotifyChannel
SecretNEQ applies the NEQ predicate on the "secret" field.
func SecretNotIn ¶
func SecretNotIn(vs ...string) predicate.NotifyChannel
SecretNotIn applies the NotIn predicate on the "secret" field.
func SecretNotNil ¶
func SecretNotNil() predicate.NotifyChannel
SecretNotNil applies the NotNil predicate on the "secret" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.NotifyChannel
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.NotifyChannel
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.NotifyChannel
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.NotifyChannel
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.NotifyChannel
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.NotifyChannel
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.NotifyChannel
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.NotifyChannel
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.NotifyChannel
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).
func WebhookURL ¶
func WebhookURL(v string) predicate.NotifyChannel
WebhookURL applies equality check predicate on the "webhook_url" field. It's identical to WebhookURLEQ.
func WebhookURLContains ¶
func WebhookURLContains(v string) predicate.NotifyChannel
WebhookURLContains applies the Contains predicate on the "webhook_url" field.
func WebhookURLContainsFold ¶
func WebhookURLContainsFold(v string) predicate.NotifyChannel
WebhookURLContainsFold applies the ContainsFold predicate on the "webhook_url" field.
func WebhookURLEQ ¶
func WebhookURLEQ(v string) predicate.NotifyChannel
WebhookURLEQ applies the EQ predicate on the "webhook_url" field.
func WebhookURLEqualFold ¶
func WebhookURLEqualFold(v string) predicate.NotifyChannel
WebhookURLEqualFold applies the EqualFold predicate on the "webhook_url" field.
func WebhookURLGT ¶
func WebhookURLGT(v string) predicate.NotifyChannel
WebhookURLGT applies the GT predicate on the "webhook_url" field.
func WebhookURLGTE ¶
func WebhookURLGTE(v string) predicate.NotifyChannel
WebhookURLGTE applies the GTE predicate on the "webhook_url" field.
func WebhookURLHasPrefix ¶
func WebhookURLHasPrefix(v string) predicate.NotifyChannel
WebhookURLHasPrefix applies the HasPrefix predicate on the "webhook_url" field.
func WebhookURLHasSuffix ¶
func WebhookURLHasSuffix(v string) predicate.NotifyChannel
WebhookURLHasSuffix applies the HasSuffix predicate on the "webhook_url" field.
func WebhookURLIn ¶
func WebhookURLIn(vs ...string) predicate.NotifyChannel
WebhookURLIn applies the In predicate on the "webhook_url" field.
func WebhookURLLT ¶
func WebhookURLLT(v string) predicate.NotifyChannel
WebhookURLLT applies the LT predicate on the "webhook_url" field.
func WebhookURLLTE ¶
func WebhookURLLTE(v string) predicate.NotifyChannel
WebhookURLLTE applies the LTE predicate on the "webhook_url" field.
func WebhookURLNEQ ¶
func WebhookURLNEQ(v string) predicate.NotifyChannel
WebhookURLNEQ applies the NEQ predicate on the "webhook_url" field.
func WebhookURLNotIn ¶
func WebhookURLNotIn(vs ...string) predicate.NotifyChannel
WebhookURLNotIn applies the NotIn predicate on the "webhook_url" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the NotifyChannel queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByOwnerType ¶
func ByOwnerType(opts ...sql.OrderTermOption) OrderOption
ByOwnerType orders the results by the owner_type field.
func BySecret ¶
func BySecret(opts ...sql.OrderTermOption) OrderOption
BySecret orders the results by the secret field.
func BySubscriptions ¶
func BySubscriptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubscriptions orders the results by subscriptions terms.
func BySubscriptionsCount ¶
func BySubscriptionsCount(opts ...sql.OrderTermOption) OrderOption
BySubscriptionsCount orders the results by subscriptions count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWebhookURL ¶
func ByWebhookURL(opts ...sql.OrderTermOption) OrderOption
ByWebhookURL orders the results by the webhook_url field.