subscription

package
v0.13.54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscription type in the database.
	Label = "subscription"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTopicID holds the string denoting the topicid field in the database.
	FieldTopicID = "topic_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldCreatedAt holds the string denoting the createdat field in the database.
	FieldCreatedAt = "created_at"
	// FieldExpiresAt holds the string denoting the expiresat field in the database.
	FieldExpiresAt = "expires_at"
	// FieldLive holds the string denoting the live field in the database.
	FieldLive = "live"
	// FieldDeletedAt holds the string denoting the deletedat field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldTTL holds the string denoting the ttl field in the database.
	FieldTTL = "ttl"
	// FieldMessageTTL holds the string denoting the messagettl field in the database.
	FieldMessageTTL = "message_ttl"
	// FieldOrderedDelivery holds the string denoting the ordereddelivery field in the database.
	FieldOrderedDelivery = "ordered_delivery"
	// FieldLabels holds the string denoting the labels field in the database.
	FieldLabels = "labels"
	// FieldMinBackoff holds the string denoting the minbackoff field in the database.
	FieldMinBackoff = "min_backoff"
	// FieldMaxBackoff holds the string denoting the maxbackoff field in the database.
	FieldMaxBackoff = "max_backoff"
	// FieldPushEndpoint holds the string denoting the pushendpoint field in the database.
	FieldPushEndpoint = "push_endpoint"
	// FieldMessageFilter holds the string denoting the messagefilter field in the database.
	FieldMessageFilter = "filter"
	// FieldMaxDeliveryAttempts holds the string denoting the maxdeliveryattempts field in the database.
	FieldMaxDeliveryAttempts = "max_delivery_attempts"
	// FieldDeadLetterTopicID holds the string denoting the deadlettertopicid field in the database.
	FieldDeadLetterTopicID = "dead_letter_topic_id"
	// FieldDeliveryDelay holds the string denoting the deliverydelay field in the database.
	FieldDeliveryDelay = "delivery_delay"
	// EdgeTopic holds the string denoting the topic edge name in mutations.
	EdgeTopic = "topic"
	// EdgeDeliveries holds the string denoting the deliveries edge name in mutations.
	EdgeDeliveries = "deliveries"
	// EdgeDeadLetterTopic holds the string denoting the deadlettertopic edge name in mutations.
	EdgeDeadLetterTopic = "deadLetterTopic"
	// Table holds the table name of the subscription in the database.
	Table = "subscriptions"
	// TopicTable is the table that holds the topic relation/edge.
	TopicTable = "subscriptions"
	// TopicInverseTable is the table name for the Topic entity.
	// It exists in this package in order to avoid circular dependency with the "topic" package.
	TopicInverseTable = "topics"
	// TopicColumn is the table column denoting the topic relation/edge.
	TopicColumn = "topic_id"
	// DeliveriesTable is the table that holds the deliveries relation/edge.
	DeliveriesTable = "deliveries"
	// DeliveriesInverseTable is the table name for the Delivery entity.
	// It exists in this package in order to avoid circular dependency with the "delivery" package.
	DeliveriesInverseTable = "deliveries"
	// DeliveriesColumn is the table column denoting the deliveries relation/edge.
	DeliveriesColumn = "subscription_id"
	// DeadLetterTopicTable is the table that holds the deadLetterTopic relation/edge.
	DeadLetterTopicTable = "subscriptions"
	// DeadLetterTopicInverseTable is the table name for the Topic entity.
	// It exists in this package in order to avoid circular dependency with the "topic" package.
	DeadLetterTopicInverseTable = "topics"
	// DeadLetterTopicColumn is the table column denoting the deadLetterTopic relation/edge.
	DeadLetterTopicColumn = "dead_letter_topic_id"
)

Variables

View Source
var (
	Hooks [1]ent.Hook
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "createdAt" field.
	DefaultCreatedAt func() time.Time
	// DefaultLive holds the default value on creation for the "live" field.
	DefaultLive bool
	// DefaultOrderedDelivery holds the default value on creation for the "orderedDelivery" field.
	DefaultOrderedDelivery bool
	// DefaultDeliveryDelay holds the default value on creation for the "deliveryDelay" field.
	DefaultDeliveryDelay sqltypes.Interval
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

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 _ "go.6river.tech/mmmbbb/ent/runtime"

Columns holds all SQL columns for subscription fields.

Functions

func And

func And(predicates ...predicate.Subscription) predicate.Subscription

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Subscription

CreatedAt applies equality check predicate on the "createdAt" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Subscription

CreatedAtEQ applies the EQ predicate on the "createdAt" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Subscription

CreatedAtGT applies the GT predicate on the "createdAt" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Subscription

CreatedAtGTE applies the GTE predicate on the "createdAt" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Subscription

CreatedAtIn applies the In predicate on the "createdAt" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Subscription

CreatedAtLT applies the LT predicate on the "createdAt" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Subscription

CreatedAtLTE applies the LTE predicate on the "createdAt" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Subscription

CreatedAtNEQ applies the NEQ predicate on the "createdAt" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Subscription

CreatedAtNotIn applies the NotIn predicate on the "createdAt" field.

func DeadLetterTopicID

func DeadLetterTopicID(v uuid.UUID) predicate.Subscription

DeadLetterTopicID applies equality check predicate on the "deadLetterTopicID" field. It's identical to DeadLetterTopicIDEQ.

func DeadLetterTopicIDEQ

func DeadLetterTopicIDEQ(v uuid.UUID) predicate.Subscription

DeadLetterTopicIDEQ applies the EQ predicate on the "deadLetterTopicID" field.

func DeadLetterTopicIDIn

func DeadLetterTopicIDIn(vs ...uuid.UUID) predicate.Subscription

DeadLetterTopicIDIn applies the In predicate on the "deadLetterTopicID" field.

func DeadLetterTopicIDIsNil

func DeadLetterTopicIDIsNil() predicate.Subscription

DeadLetterTopicIDIsNil applies the IsNil predicate on the "deadLetterTopicID" field.

func DeadLetterTopicIDNEQ

func DeadLetterTopicIDNEQ(v uuid.UUID) predicate.Subscription

DeadLetterTopicIDNEQ applies the NEQ predicate on the "deadLetterTopicID" field.

func DeadLetterTopicIDNotIn

func DeadLetterTopicIDNotIn(vs ...uuid.UUID) predicate.Subscription

DeadLetterTopicIDNotIn applies the NotIn predicate on the "deadLetterTopicID" field.

func DeadLetterTopicIDNotNil

func DeadLetterTopicIDNotNil() predicate.Subscription

DeadLetterTopicIDNotNil applies the NotNil predicate on the "deadLetterTopicID" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Subscription

DeletedAt applies equality check predicate on the "deletedAt" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Subscription

DeletedAtEQ applies the EQ predicate on the "deletedAt" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Subscription

DeletedAtGT applies the GT predicate on the "deletedAt" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Subscription

DeletedAtGTE applies the GTE predicate on the "deletedAt" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Subscription

DeletedAtIn applies the In predicate on the "deletedAt" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Subscription

DeletedAtIsNil applies the IsNil predicate on the "deletedAt" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Subscription

DeletedAtLT applies the LT predicate on the "deletedAt" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Subscription

DeletedAtLTE applies the LTE predicate on the "deletedAt" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Subscription

DeletedAtNEQ applies the NEQ predicate on the "deletedAt" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Subscription

DeletedAtNotIn applies the NotIn predicate on the "deletedAt" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Subscription

DeletedAtNotNil applies the NotNil predicate on the "deletedAt" field.

func DeliveryDelay

func DeliveryDelay(v sqltypes.Interval) predicate.Subscription

DeliveryDelay applies equality check predicate on the "deliveryDelay" field. It's identical to DeliveryDelayEQ.

func DeliveryDelayEQ

func DeliveryDelayEQ(v sqltypes.Interval) predicate.Subscription

DeliveryDelayEQ applies the EQ predicate on the "deliveryDelay" field.

func DeliveryDelayGT

func DeliveryDelayGT(v sqltypes.Interval) predicate.Subscription

DeliveryDelayGT applies the GT predicate on the "deliveryDelay" field.

func DeliveryDelayGTE

func DeliveryDelayGTE(v sqltypes.Interval) predicate.Subscription

DeliveryDelayGTE applies the GTE predicate on the "deliveryDelay" field.

func DeliveryDelayIn

func DeliveryDelayIn(vs ...sqltypes.Interval) predicate.Subscription

DeliveryDelayIn applies the In predicate on the "deliveryDelay" field.

func DeliveryDelayLT

func DeliveryDelayLT(v sqltypes.Interval) predicate.Subscription

DeliveryDelayLT applies the LT predicate on the "deliveryDelay" field.

func DeliveryDelayLTE

func DeliveryDelayLTE(v sqltypes.Interval) predicate.Subscription

DeliveryDelayLTE applies the LTE predicate on the "deliveryDelay" field.

func DeliveryDelayNEQ

func DeliveryDelayNEQ(v sqltypes.Interval) predicate.Subscription

DeliveryDelayNEQ applies the NEQ predicate on the "deliveryDelay" field.

func DeliveryDelayNotIn

func DeliveryDelayNotIn(vs ...sqltypes.Interval) predicate.Subscription

DeliveryDelayNotIn applies the NotIn predicate on the "deliveryDelay" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.Subscription

ExpiresAt applies equality check predicate on the "expiresAt" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.Subscription

ExpiresAtEQ applies the EQ predicate on the "expiresAt" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.Subscription

ExpiresAtGT applies the GT predicate on the "expiresAt" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.Subscription

ExpiresAtGTE applies the GTE predicate on the "expiresAt" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.Subscription

ExpiresAtIn applies the In predicate on the "expiresAt" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.Subscription

ExpiresAtLT applies the LT predicate on the "expiresAt" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.Subscription

ExpiresAtLTE applies the LTE predicate on the "expiresAt" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.Subscription

ExpiresAtNEQ applies the NEQ predicate on the "expiresAt" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.Subscription

ExpiresAtNotIn applies the NotIn predicate on the "expiresAt" field.

func HasDeadLetterTopic

func HasDeadLetterTopic() predicate.Subscription

HasDeadLetterTopic applies the HasEdge predicate on the "deadLetterTopic" edge.

func HasDeadLetterTopicWith

func HasDeadLetterTopicWith(preds ...predicate.Topic) predicate.Subscription

HasDeadLetterTopicWith applies the HasEdge predicate on the "deadLetterTopic" edge with a given conditions (other predicates).

func HasDeliveries

func HasDeliveries() predicate.Subscription

HasDeliveries applies the HasEdge predicate on the "deliveries" edge.

func HasDeliveriesWith

func HasDeliveriesWith(preds ...predicate.Delivery) predicate.Subscription

HasDeliveriesWith applies the HasEdge predicate on the "deliveries" edge with a given conditions (other predicates).

func HasTopic

func HasTopic() predicate.Subscription

HasTopic applies the HasEdge predicate on the "topic" edge.

func HasTopicWith

func HasTopicWith(preds ...predicate.Topic) predicate.Subscription

HasTopicWith applies the HasEdge predicate on the "topic" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Subscription

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Subscription

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Subscription

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Subscription

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Subscription

IDNotIn applies the NotIn predicate on the ID field.

func LabelsIsNil

func LabelsIsNil() predicate.Subscription

LabelsIsNil applies the IsNil predicate on the "labels" field.

func LabelsNotNil

func LabelsNotNil() predicate.Subscription

LabelsNotNil applies the NotNil predicate on the "labels" field.

func Live

func Live(v bool) predicate.Subscription

Live applies equality check predicate on the "live" field. It's identical to LiveEQ.

func LiveEQ

func LiveEQ(v bool) predicate.Subscription

LiveEQ applies the EQ predicate on the "live" field.

func LiveIsNil

func LiveIsNil() predicate.Subscription

LiveIsNil applies the IsNil predicate on the "live" field.

func LiveNEQ

func LiveNEQ(v bool) predicate.Subscription

LiveNEQ applies the NEQ predicate on the "live" field.

func LiveNotNil

func LiveNotNil() predicate.Subscription

LiveNotNil applies the NotNil predicate on the "live" field.

func MaxBackoff

func MaxBackoff(v *sqltypes.Interval) predicate.Subscription

MaxBackoff applies equality check predicate on the "maxBackoff" field. It's identical to MaxBackoffEQ.

func MaxBackoffContains

func MaxBackoffContains(v *sqltypes.Interval) predicate.Subscription

MaxBackoffContains applies the Contains predicate on the "maxBackoff" field.

func MaxBackoffContainsFold

func MaxBackoffContainsFold(v *sqltypes.Interval) predicate.Subscription

MaxBackoffContainsFold applies the ContainsFold predicate on the "maxBackoff" field.

func MaxBackoffEQ

func MaxBackoffEQ(v *sqltypes.Interval) predicate.Subscription

MaxBackoffEQ applies the EQ predicate on the "maxBackoff" field.

func MaxBackoffEqualFold

func MaxBackoffEqualFold(v *sqltypes.Interval) predicate.Subscription

MaxBackoffEqualFold applies the EqualFold predicate on the "maxBackoff" field.

func MaxBackoffGT

func MaxBackoffGT(v *sqltypes.Interval) predicate.Subscription

MaxBackoffGT applies the GT predicate on the "maxBackoff" field.

func MaxBackoffGTE

func MaxBackoffGTE(v *sqltypes.Interval) predicate.Subscription

MaxBackoffGTE applies the GTE predicate on the "maxBackoff" field.

func MaxBackoffHasPrefix

func MaxBackoffHasPrefix(v *sqltypes.Interval) predicate.Subscription

MaxBackoffHasPrefix applies the HasPrefix predicate on the "maxBackoff" field.

func MaxBackoffHasSuffix

func MaxBackoffHasSuffix(v *sqltypes.Interval) predicate.Subscription

MaxBackoffHasSuffix applies the HasSuffix predicate on the "maxBackoff" field.

func MaxBackoffIn

func MaxBackoffIn(vs ...*sqltypes.Interval) predicate.Subscription

MaxBackoffIn applies the In predicate on the "maxBackoff" field.

func MaxBackoffIsNil

func MaxBackoffIsNil() predicate.Subscription

MaxBackoffIsNil applies the IsNil predicate on the "maxBackoff" field.

func MaxBackoffLT

func MaxBackoffLT(v *sqltypes.Interval) predicate.Subscription

MaxBackoffLT applies the LT predicate on the "maxBackoff" field.

func MaxBackoffLTE

func MaxBackoffLTE(v *sqltypes.Interval) predicate.Subscription

MaxBackoffLTE applies the LTE predicate on the "maxBackoff" field.

func MaxBackoffNEQ

func MaxBackoffNEQ(v *sqltypes.Interval) predicate.Subscription

MaxBackoffNEQ applies the NEQ predicate on the "maxBackoff" field.

func MaxBackoffNotIn

func MaxBackoffNotIn(vs ...*sqltypes.Interval) predicate.Subscription

MaxBackoffNotIn applies the NotIn predicate on the "maxBackoff" field.

func MaxBackoffNotNil

func MaxBackoffNotNil() predicate.Subscription

MaxBackoffNotNil applies the NotNil predicate on the "maxBackoff" field.

func MaxDeliveryAttempts

func MaxDeliveryAttempts(v int32) predicate.Subscription

MaxDeliveryAttempts applies equality check predicate on the "maxDeliveryAttempts" field. It's identical to MaxDeliveryAttemptsEQ.

func MaxDeliveryAttemptsEQ

func MaxDeliveryAttemptsEQ(v int32) predicate.Subscription

MaxDeliveryAttemptsEQ applies the EQ predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsGT

func MaxDeliveryAttemptsGT(v int32) predicate.Subscription

MaxDeliveryAttemptsGT applies the GT predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsGTE

func MaxDeliveryAttemptsGTE(v int32) predicate.Subscription

MaxDeliveryAttemptsGTE applies the GTE predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsIn

func MaxDeliveryAttemptsIn(vs ...int32) predicate.Subscription

MaxDeliveryAttemptsIn applies the In predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsIsNil

func MaxDeliveryAttemptsIsNil() predicate.Subscription

MaxDeliveryAttemptsIsNil applies the IsNil predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsLT

func MaxDeliveryAttemptsLT(v int32) predicate.Subscription

MaxDeliveryAttemptsLT applies the LT predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsLTE

func MaxDeliveryAttemptsLTE(v int32) predicate.Subscription

MaxDeliveryAttemptsLTE applies the LTE predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsNEQ

func MaxDeliveryAttemptsNEQ(v int32) predicate.Subscription

MaxDeliveryAttemptsNEQ applies the NEQ predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsNotIn

func MaxDeliveryAttemptsNotIn(vs ...int32) predicate.Subscription

MaxDeliveryAttemptsNotIn applies the NotIn predicate on the "maxDeliveryAttempts" field.

func MaxDeliveryAttemptsNotNil

func MaxDeliveryAttemptsNotNil() predicate.Subscription

MaxDeliveryAttemptsNotNil applies the NotNil predicate on the "maxDeliveryAttempts" field.

func MessageFilter

func MessageFilter(v string) predicate.Subscription

MessageFilter applies equality check predicate on the "messageFilter" field. It's identical to MessageFilterEQ.

func MessageFilterContains

func MessageFilterContains(v string) predicate.Subscription

MessageFilterContains applies the Contains predicate on the "messageFilter" field.

func MessageFilterContainsFold

func MessageFilterContainsFold(v string) predicate.Subscription

MessageFilterContainsFold applies the ContainsFold predicate on the "messageFilter" field.

func MessageFilterEQ

func MessageFilterEQ(v string) predicate.Subscription

MessageFilterEQ applies the EQ predicate on the "messageFilter" field.

func MessageFilterEqualFold

func MessageFilterEqualFold(v string) predicate.Subscription

MessageFilterEqualFold applies the EqualFold predicate on the "messageFilter" field.

func MessageFilterGT

func MessageFilterGT(v string) predicate.Subscription

MessageFilterGT applies the GT predicate on the "messageFilter" field.

func MessageFilterGTE

func MessageFilterGTE(v string) predicate.Subscription

MessageFilterGTE applies the GTE predicate on the "messageFilter" field.

func MessageFilterHasPrefix

func MessageFilterHasPrefix(v string) predicate.Subscription

MessageFilterHasPrefix applies the HasPrefix predicate on the "messageFilter" field.

func MessageFilterHasSuffix

func MessageFilterHasSuffix(v string) predicate.Subscription

MessageFilterHasSuffix applies the HasSuffix predicate on the "messageFilter" field.

func MessageFilterIn

func MessageFilterIn(vs ...string) predicate.Subscription

MessageFilterIn applies the In predicate on the "messageFilter" field.

func MessageFilterIsNil

func MessageFilterIsNil() predicate.Subscription

MessageFilterIsNil applies the IsNil predicate on the "messageFilter" field.

func MessageFilterLT

func MessageFilterLT(v string) predicate.Subscription

MessageFilterLT applies the LT predicate on the "messageFilter" field.

func MessageFilterLTE

func MessageFilterLTE(v string) predicate.Subscription

MessageFilterLTE applies the LTE predicate on the "messageFilter" field.

func MessageFilterNEQ

func MessageFilterNEQ(v string) predicate.Subscription

MessageFilterNEQ applies the NEQ predicate on the "messageFilter" field.

func MessageFilterNotIn

func MessageFilterNotIn(vs ...string) predicate.Subscription

MessageFilterNotIn applies the NotIn predicate on the "messageFilter" field.

func MessageFilterNotNil

func MessageFilterNotNil() predicate.Subscription

MessageFilterNotNil applies the NotNil predicate on the "messageFilter" field.

func MessageTTL

MessageTTL applies equality check predicate on the "messageTTL" field. It's identical to MessageTTLEQ.

func MessageTTLContains

func MessageTTLContains(v sqltypes.Interval) predicate.Subscription

MessageTTLContains applies the Contains predicate on the "messageTTL" field.

func MessageTTLContainsFold

func MessageTTLContainsFold(v sqltypes.Interval) predicate.Subscription

MessageTTLContainsFold applies the ContainsFold predicate on the "messageTTL" field.

func MessageTTLEQ

func MessageTTLEQ(v sqltypes.Interval) predicate.Subscription

MessageTTLEQ applies the EQ predicate on the "messageTTL" field.

func MessageTTLEqualFold

func MessageTTLEqualFold(v sqltypes.Interval) predicate.Subscription

MessageTTLEqualFold applies the EqualFold predicate on the "messageTTL" field.

func MessageTTLGT

func MessageTTLGT(v sqltypes.Interval) predicate.Subscription

MessageTTLGT applies the GT predicate on the "messageTTL" field.

func MessageTTLGTE

func MessageTTLGTE(v sqltypes.Interval) predicate.Subscription

MessageTTLGTE applies the GTE predicate on the "messageTTL" field.

func MessageTTLHasPrefix

func MessageTTLHasPrefix(v sqltypes.Interval) predicate.Subscription

MessageTTLHasPrefix applies the HasPrefix predicate on the "messageTTL" field.

func MessageTTLHasSuffix

func MessageTTLHasSuffix(v sqltypes.Interval) predicate.Subscription

MessageTTLHasSuffix applies the HasSuffix predicate on the "messageTTL" field.

func MessageTTLIn

func MessageTTLIn(vs ...sqltypes.Interval) predicate.Subscription

MessageTTLIn applies the In predicate on the "messageTTL" field.

func MessageTTLLT

func MessageTTLLT(v sqltypes.Interval) predicate.Subscription

MessageTTLLT applies the LT predicate on the "messageTTL" field.

func MessageTTLLTE

func MessageTTLLTE(v sqltypes.Interval) predicate.Subscription

MessageTTLLTE applies the LTE predicate on the "messageTTL" field.

func MessageTTLNEQ

func MessageTTLNEQ(v sqltypes.Interval) predicate.Subscription

MessageTTLNEQ applies the NEQ predicate on the "messageTTL" field.

func MessageTTLNotIn

func MessageTTLNotIn(vs ...sqltypes.Interval) predicate.Subscription

MessageTTLNotIn applies the NotIn predicate on the "messageTTL" field.

func MinBackoff

func MinBackoff(v *sqltypes.Interval) predicate.Subscription

MinBackoff applies equality check predicate on the "minBackoff" field. It's identical to MinBackoffEQ.

func MinBackoffContains

func MinBackoffContains(v *sqltypes.Interval) predicate.Subscription

MinBackoffContains applies the Contains predicate on the "minBackoff" field.

func MinBackoffContainsFold

func MinBackoffContainsFold(v *sqltypes.Interval) predicate.Subscription

MinBackoffContainsFold applies the ContainsFold predicate on the "minBackoff" field.

func MinBackoffEQ

func MinBackoffEQ(v *sqltypes.Interval) predicate.Subscription

MinBackoffEQ applies the EQ predicate on the "minBackoff" field.

func MinBackoffEqualFold

func MinBackoffEqualFold(v *sqltypes.Interval) predicate.Subscription

MinBackoffEqualFold applies the EqualFold predicate on the "minBackoff" field.

func MinBackoffGT

func MinBackoffGT(v *sqltypes.Interval) predicate.Subscription

MinBackoffGT applies the GT predicate on the "minBackoff" field.

func MinBackoffGTE

func MinBackoffGTE(v *sqltypes.Interval) predicate.Subscription

MinBackoffGTE applies the GTE predicate on the "minBackoff" field.

func MinBackoffHasPrefix

func MinBackoffHasPrefix(v *sqltypes.Interval) predicate.Subscription

MinBackoffHasPrefix applies the HasPrefix predicate on the "minBackoff" field.

func MinBackoffHasSuffix

func MinBackoffHasSuffix(v *sqltypes.Interval) predicate.Subscription

MinBackoffHasSuffix applies the HasSuffix predicate on the "minBackoff" field.

func MinBackoffIn

func MinBackoffIn(vs ...*sqltypes.Interval) predicate.Subscription

MinBackoffIn applies the In predicate on the "minBackoff" field.

func MinBackoffIsNil

func MinBackoffIsNil() predicate.Subscription

MinBackoffIsNil applies the IsNil predicate on the "minBackoff" field.

func MinBackoffLT

func MinBackoffLT(v *sqltypes.Interval) predicate.Subscription

MinBackoffLT applies the LT predicate on the "minBackoff" field.

func MinBackoffLTE

func MinBackoffLTE(v *sqltypes.Interval) predicate.Subscription

MinBackoffLTE applies the LTE predicate on the "minBackoff" field.

func MinBackoffNEQ

func MinBackoffNEQ(v *sqltypes.Interval) predicate.Subscription

MinBackoffNEQ applies the NEQ predicate on the "minBackoff" field.

func MinBackoffNotIn

func MinBackoffNotIn(vs ...*sqltypes.Interval) predicate.Subscription

MinBackoffNotIn applies the NotIn predicate on the "minBackoff" field.

func MinBackoffNotNil

func MinBackoffNotNil() predicate.Subscription

MinBackoffNotNil applies the NotNil predicate on the "minBackoff" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Subscription

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Subscription

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Subscription

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Subscription

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Subscription

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Subscription

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Subscription

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Subscription

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Subscription

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Subscription

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Subscription

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Subscription

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Subscription

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Subscription) predicate.Subscription

Or groups predicates with the OR operator between them.

func OrderedDelivery

func OrderedDelivery(v bool) predicate.Subscription

OrderedDelivery applies equality check predicate on the "orderedDelivery" field. It's identical to OrderedDeliveryEQ.

func OrderedDeliveryEQ

func OrderedDeliveryEQ(v bool) predicate.Subscription

OrderedDeliveryEQ applies the EQ predicate on the "orderedDelivery" field.

func OrderedDeliveryIsNil

func OrderedDeliveryIsNil() predicate.Subscription

OrderedDeliveryIsNil applies the IsNil predicate on the "orderedDelivery" field.

func OrderedDeliveryNEQ

func OrderedDeliveryNEQ(v bool) predicate.Subscription

OrderedDeliveryNEQ applies the NEQ predicate on the "orderedDelivery" field.

func OrderedDeliveryNotNil

func OrderedDeliveryNotNil() predicate.Subscription

OrderedDeliveryNotNil applies the NotNil predicate on the "orderedDelivery" field.

func PushEndpoint

func PushEndpoint(v string) predicate.Subscription

PushEndpoint applies equality check predicate on the "pushEndpoint" field. It's identical to PushEndpointEQ.

func PushEndpointContains

func PushEndpointContains(v string) predicate.Subscription

PushEndpointContains applies the Contains predicate on the "pushEndpoint" field.

func PushEndpointContainsFold

func PushEndpointContainsFold(v string) predicate.Subscription

PushEndpointContainsFold applies the ContainsFold predicate on the "pushEndpoint" field.

func PushEndpointEQ

func PushEndpointEQ(v string) predicate.Subscription

PushEndpointEQ applies the EQ predicate on the "pushEndpoint" field.

func PushEndpointEqualFold

func PushEndpointEqualFold(v string) predicate.Subscription

PushEndpointEqualFold applies the EqualFold predicate on the "pushEndpoint" field.

func PushEndpointGT

func PushEndpointGT(v string) predicate.Subscription

PushEndpointGT applies the GT predicate on the "pushEndpoint" field.

func PushEndpointGTE

func PushEndpointGTE(v string) predicate.Subscription

PushEndpointGTE applies the GTE predicate on the "pushEndpoint" field.

func PushEndpointHasPrefix

func PushEndpointHasPrefix(v string) predicate.Subscription

PushEndpointHasPrefix applies the HasPrefix predicate on the "pushEndpoint" field.

func PushEndpointHasSuffix

func PushEndpointHasSuffix(v string) predicate.Subscription

PushEndpointHasSuffix applies the HasSuffix predicate on the "pushEndpoint" field.

func PushEndpointIn

func PushEndpointIn(vs ...string) predicate.Subscription

PushEndpointIn applies the In predicate on the "pushEndpoint" field.

func PushEndpointIsNil

func PushEndpointIsNil() predicate.Subscription

PushEndpointIsNil applies the IsNil predicate on the "pushEndpoint" field.

func PushEndpointLT

func PushEndpointLT(v string) predicate.Subscription

PushEndpointLT applies the LT predicate on the "pushEndpoint" field.

func PushEndpointLTE

func PushEndpointLTE(v string) predicate.Subscription

PushEndpointLTE applies the LTE predicate on the "pushEndpoint" field.

func PushEndpointNEQ

func PushEndpointNEQ(v string) predicate.Subscription

PushEndpointNEQ applies the NEQ predicate on the "pushEndpoint" field.

func PushEndpointNotIn

func PushEndpointNotIn(vs ...string) predicate.Subscription

PushEndpointNotIn applies the NotIn predicate on the "pushEndpoint" field.

func PushEndpointNotNil

func PushEndpointNotNil() predicate.Subscription

PushEndpointNotNil applies the NotNil predicate on the "pushEndpoint" field.

func TTL

TTL applies equality check predicate on the "ttl" field. It's identical to TTLEQ.

func TTLContains

func TTLContains(v sqltypes.Interval) predicate.Subscription

TTLContains applies the Contains predicate on the "ttl" field.

func TTLContainsFold

func TTLContainsFold(v sqltypes.Interval) predicate.Subscription

TTLContainsFold applies the ContainsFold predicate on the "ttl" field.

func TTLEQ

TTLEQ applies the EQ predicate on the "ttl" field.

func TTLEqualFold

func TTLEqualFold(v sqltypes.Interval) predicate.Subscription

TTLEqualFold applies the EqualFold predicate on the "ttl" field.

func TTLGT

TTLGT applies the GT predicate on the "ttl" field.

func TTLGTE

TTLGTE applies the GTE predicate on the "ttl" field.

func TTLHasPrefix

func TTLHasPrefix(v sqltypes.Interval) predicate.Subscription

TTLHasPrefix applies the HasPrefix predicate on the "ttl" field.

func TTLHasSuffix

func TTLHasSuffix(v sqltypes.Interval) predicate.Subscription

TTLHasSuffix applies the HasSuffix predicate on the "ttl" field.

func TTLIn

TTLIn applies the In predicate on the "ttl" field.

func TTLLT

TTLLT applies the LT predicate on the "ttl" field.

func TTLLTE

TTLLTE applies the LTE predicate on the "ttl" field.

func TTLNEQ

TTLNEQ applies the NEQ predicate on the "ttl" field.

func TTLNotIn

func TTLNotIn(vs ...sqltypes.Interval) predicate.Subscription

TTLNotIn applies the NotIn predicate on the "ttl" field.

func TopicID

func TopicID(v uuid.UUID) predicate.Subscription

TopicID applies equality check predicate on the "topicID" field. It's identical to TopicIDEQ.

func TopicIDEQ

func TopicIDEQ(v uuid.UUID) predicate.Subscription

TopicIDEQ applies the EQ predicate on the "topicID" field.

func TopicIDIn

func TopicIDIn(vs ...uuid.UUID) predicate.Subscription

TopicIDIn applies the In predicate on the "topicID" field.

func TopicIDNEQ

func TopicIDNEQ(v uuid.UUID) predicate.Subscription

TopicIDNEQ applies the NEQ predicate on the "topicID" field.

func TopicIDNotIn

func TopicIDNotIn(vs ...uuid.UUID) predicate.Subscription

TopicIDNotIn applies the NotIn predicate on the "topicID" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Subscription queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the createdAt field.

func ByDeadLetterTopicField

func ByDeadLetterTopicField(field string, opts ...sql.OrderTermOption) OrderOption

ByDeadLetterTopicField orders the results by deadLetterTopic field.

func ByDeadLetterTopicID

func ByDeadLetterTopicID(opts ...sql.OrderTermOption) OrderOption

ByDeadLetterTopicID orders the results by the deadLetterTopicID field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deletedAt field.

func ByDeliveries

func ByDeliveries(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDeliveries orders the results by deliveries terms.

func ByDeliveriesCount

func ByDeliveriesCount(opts ...sql.OrderTermOption) OrderOption

ByDeliveriesCount orders the results by deliveries count.

func ByDeliveryDelay

func ByDeliveryDelay(opts ...sql.OrderTermOption) OrderOption

ByDeliveryDelay orders the results by the deliveryDelay field.

func ByExpiresAt

func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption

ByExpiresAt orders the results by the expiresAt field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLive

func ByLive(opts ...sql.OrderTermOption) OrderOption

ByLive orders the results by the live field.

func ByMaxBackoff

func ByMaxBackoff(opts ...sql.OrderTermOption) OrderOption

ByMaxBackoff orders the results by the maxBackoff field.

func ByMaxDeliveryAttempts

func ByMaxDeliveryAttempts(opts ...sql.OrderTermOption) OrderOption

ByMaxDeliveryAttempts orders the results by the maxDeliveryAttempts field.

func ByMessageFilter

func ByMessageFilter(opts ...sql.OrderTermOption) OrderOption

ByMessageFilter orders the results by the messageFilter field.

func ByMessageTTL

func ByMessageTTL(opts ...sql.OrderTermOption) OrderOption

ByMessageTTL orders the results by the messageTTL field.

func ByMinBackoff

func ByMinBackoff(opts ...sql.OrderTermOption) OrderOption

ByMinBackoff orders the results by the minBackoff field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByOrderedDelivery

func ByOrderedDelivery(opts ...sql.OrderTermOption) OrderOption

ByOrderedDelivery orders the results by the orderedDelivery field.

func ByPushEndpoint

func ByPushEndpoint(opts ...sql.OrderTermOption) OrderOption

ByPushEndpoint orders the results by the pushEndpoint field.

func ByTTL

func ByTTL(opts ...sql.OrderTermOption) OrderOption

ByTTL orders the results by the ttl field.

func ByTopicField

func ByTopicField(field string, opts ...sql.OrderTermOption) OrderOption

ByTopicField orders the results by topic field.

func ByTopicID

func ByTopicID(opts ...sql.OrderTermOption) OrderOption

ByTopicID orders the results by the topicID field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL