subscriptionschedule

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscriptionschedule type in the database.
	Label = "subscription_schedule"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldSubscriptionID holds the string denoting the subscription_id field in the database.
	FieldSubscriptionID = "subscription_id"
	// FieldScheduleStatus holds the string denoting the schedule_status field in the database.
	FieldScheduleStatus = "schedule_status"
	// FieldCurrentPhaseIndex holds the string denoting the current_phase_index field in the database.
	FieldCurrentPhaseIndex = "current_phase_index"
	// FieldEndBehavior holds the string denoting the end_behavior field in the database.
	FieldEndBehavior = "end_behavior"
	// FieldStartDate holds the string denoting the start_date field in the database.
	FieldStartDate = "start_date"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// EdgePhases holds the string denoting the phases edge name in mutations.
	EdgePhases = "phases"
	// EdgeSubscription holds the string denoting the subscription edge name in mutations.
	EdgeSubscription = "subscription"
	// Table holds the table name of the subscriptionschedule in the database.
	Table = "subscription_schedules"
	// PhasesTable is the table that holds the phases relation/edge.
	PhasesTable = "subscription_schedule_phases"
	// PhasesInverseTable is the table name for the SubscriptionSchedulePhase entity.
	// It exists in this package in order to avoid circular dependency with the "subscriptionschedulephase" package.
	PhasesInverseTable = "subscription_schedule_phases"
	// PhasesColumn is the table column denoting the phases relation/edge.
	PhasesColumn = "schedule_id"
	// SubscriptionTable is the table that holds the subscription relation/edge.
	SubscriptionTable = "subscription_schedules"
	// SubscriptionInverseTable is the table name for the Subscription entity.
	// It exists in this package in order to avoid circular dependency with the "subscription" package.
	SubscriptionInverseTable = "subscriptions"
	// SubscriptionColumn is the table column denoting the subscription relation/edge.
	SubscriptionColumn = "subscription_id"
)

Variables

View Source
var (
	// TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save.
	TenantIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// 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
	// DefaultEnvironmentID holds the default value on creation for the "environment_id" field.
	DefaultEnvironmentID string
	// SubscriptionIDValidator is a validator for the "subscription_id" field. It is called by the builders before save.
	SubscriptionIDValidator func(string) error
	// DefaultScheduleStatus holds the default value on creation for the "schedule_status" field.
	DefaultScheduleStatus types.SubscriptionScheduleStatus
	// DefaultCurrentPhaseIndex holds the default value on creation for the "current_phase_index" field.
	DefaultCurrentPhaseIndex int
	// DefaultEndBehavior holds the default value on creation for the "end_behavior" field.
	DefaultEndBehavior types.ScheduleEndBehavior
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for subscriptionschedule fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SubscriptionSchedule

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SubscriptionSchedule

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SubscriptionSchedule

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SubscriptionSchedule

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SubscriptionSchedule

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SubscriptionSchedule

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

func CreatedAtNotIn

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

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

func CreatedBy

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.SubscriptionSchedule

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.SubscriptionSchedule

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.SubscriptionSchedule

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.SubscriptionSchedule

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.SubscriptionSchedule

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.SubscriptionSchedule

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.SubscriptionSchedule

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.SubscriptionSchedule

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.SubscriptionSchedule

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.SubscriptionSchedule

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.SubscriptionSchedule

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.SubscriptionSchedule

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.SubscriptionSchedule

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.SubscriptionSchedule

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.SubscriptionSchedule

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func CurrentPhaseIndex

func CurrentPhaseIndex(v int) predicate.SubscriptionSchedule

CurrentPhaseIndex applies equality check predicate on the "current_phase_index" field. It's identical to CurrentPhaseIndexEQ.

func CurrentPhaseIndexEQ

func CurrentPhaseIndexEQ(v int) predicate.SubscriptionSchedule

CurrentPhaseIndexEQ applies the EQ predicate on the "current_phase_index" field.

func CurrentPhaseIndexGT

func CurrentPhaseIndexGT(v int) predicate.SubscriptionSchedule

CurrentPhaseIndexGT applies the GT predicate on the "current_phase_index" field.

func CurrentPhaseIndexGTE

func CurrentPhaseIndexGTE(v int) predicate.SubscriptionSchedule

CurrentPhaseIndexGTE applies the GTE predicate on the "current_phase_index" field.

func CurrentPhaseIndexIn

func CurrentPhaseIndexIn(vs ...int) predicate.SubscriptionSchedule

CurrentPhaseIndexIn applies the In predicate on the "current_phase_index" field.

func CurrentPhaseIndexLT

func CurrentPhaseIndexLT(v int) predicate.SubscriptionSchedule

CurrentPhaseIndexLT applies the LT predicate on the "current_phase_index" field.

func CurrentPhaseIndexLTE

func CurrentPhaseIndexLTE(v int) predicate.SubscriptionSchedule

CurrentPhaseIndexLTE applies the LTE predicate on the "current_phase_index" field.

func CurrentPhaseIndexNEQ

func CurrentPhaseIndexNEQ(v int) predicate.SubscriptionSchedule

CurrentPhaseIndexNEQ applies the NEQ predicate on the "current_phase_index" field.

func CurrentPhaseIndexNotIn

func CurrentPhaseIndexNotIn(vs ...int) predicate.SubscriptionSchedule

CurrentPhaseIndexNotIn applies the NotIn predicate on the "current_phase_index" field.

func EndBehavior

EndBehavior applies equality check predicate on the "end_behavior" field. It's identical to EndBehaviorEQ.

func EndBehaviorContains

EndBehaviorContains applies the Contains predicate on the "end_behavior" field.

func EndBehaviorContainsFold

func EndBehaviorContainsFold(v types.ScheduleEndBehavior) predicate.SubscriptionSchedule

EndBehaviorContainsFold applies the ContainsFold predicate on the "end_behavior" field.

func EndBehaviorEQ

EndBehaviorEQ applies the EQ predicate on the "end_behavior" field.

func EndBehaviorEqualFold

EndBehaviorEqualFold applies the EqualFold predicate on the "end_behavior" field.

func EndBehaviorGT

EndBehaviorGT applies the GT predicate on the "end_behavior" field.

func EndBehaviorGTE

EndBehaviorGTE applies the GTE predicate on the "end_behavior" field.

func EndBehaviorHasPrefix

EndBehaviorHasPrefix applies the HasPrefix predicate on the "end_behavior" field.

func EndBehaviorHasSuffix

EndBehaviorHasSuffix applies the HasSuffix predicate on the "end_behavior" field.

func EndBehaviorIn

EndBehaviorIn applies the In predicate on the "end_behavior" field.

func EndBehaviorLT

EndBehaviorLT applies the LT predicate on the "end_behavior" field.

func EndBehaviorLTE

EndBehaviorLTE applies the LTE predicate on the "end_behavior" field.

func EndBehaviorNEQ

EndBehaviorNEQ applies the NEQ predicate on the "end_behavior" field.

func EndBehaviorNotIn

EndBehaviorNotIn applies the NotIn predicate on the "end_behavior" field.

func EnvironmentID

func EnvironmentID(v string) predicate.SubscriptionSchedule

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.SubscriptionSchedule

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.SubscriptionSchedule

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.SubscriptionSchedule

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.SubscriptionSchedule

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.SubscriptionSchedule

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.SubscriptionSchedule

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.SubscriptionSchedule

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.SubscriptionSchedule

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...string) predicate.SubscriptionSchedule

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.SubscriptionSchedule

EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.SubscriptionSchedule

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.SubscriptionSchedule

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.SubscriptionSchedule

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...string) predicate.SubscriptionSchedule

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.SubscriptionSchedule

EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.

func HasPhases

func HasPhases() predicate.SubscriptionSchedule

HasPhases applies the HasEdge predicate on the "phases" edge.

func HasPhasesWith

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

func HasSubscription

func HasSubscription() predicate.SubscriptionSchedule

HasSubscription applies the HasEdge predicate on the "subscription" edge.

func HasSubscriptionWith

func HasSubscriptionWith(preds ...predicate.Subscription) predicate.SubscriptionSchedule

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.SubscriptionSchedule

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.SubscriptionSchedule

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.SubscriptionSchedule

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.SubscriptionSchedule

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.SubscriptionSchedule

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ScheduleStatus

ScheduleStatus applies equality check predicate on the "schedule_status" field. It's identical to ScheduleStatusEQ.

func ScheduleStatusContains

ScheduleStatusContains applies the Contains predicate on the "schedule_status" field.

func ScheduleStatusContainsFold

func ScheduleStatusContainsFold(v types.SubscriptionScheduleStatus) predicate.SubscriptionSchedule

ScheduleStatusContainsFold applies the ContainsFold predicate on the "schedule_status" field.

func ScheduleStatusEQ

ScheduleStatusEQ applies the EQ predicate on the "schedule_status" field.

func ScheduleStatusEqualFold

ScheduleStatusEqualFold applies the EqualFold predicate on the "schedule_status" field.

func ScheduleStatusGT

ScheduleStatusGT applies the GT predicate on the "schedule_status" field.

func ScheduleStatusGTE

ScheduleStatusGTE applies the GTE predicate on the "schedule_status" field.

func ScheduleStatusHasPrefix

ScheduleStatusHasPrefix applies the HasPrefix predicate on the "schedule_status" field.

func ScheduleStatusHasSuffix

ScheduleStatusHasSuffix applies the HasSuffix predicate on the "schedule_status" field.

func ScheduleStatusIn

ScheduleStatusIn applies the In predicate on the "schedule_status" field.

func ScheduleStatusLT

ScheduleStatusLT applies the LT predicate on the "schedule_status" field.

func ScheduleStatusLTE

ScheduleStatusLTE applies the LTE predicate on the "schedule_status" field.

func ScheduleStatusNEQ

ScheduleStatusNEQ applies the NEQ predicate on the "schedule_status" field.

func ScheduleStatusNotIn

ScheduleStatusNotIn applies the NotIn predicate on the "schedule_status" field.

func StartDate

StartDate applies equality check predicate on the "start_date" field. It's identical to StartDateEQ.

func StartDateEQ

func StartDateEQ(v time.Time) predicate.SubscriptionSchedule

StartDateEQ applies the EQ predicate on the "start_date" field.

func StartDateGT

func StartDateGT(v time.Time) predicate.SubscriptionSchedule

StartDateGT applies the GT predicate on the "start_date" field.

func StartDateGTE

func StartDateGTE(v time.Time) predicate.SubscriptionSchedule

StartDateGTE applies the GTE predicate on the "start_date" field.

func StartDateIn

func StartDateIn(vs ...time.Time) predicate.SubscriptionSchedule

StartDateIn applies the In predicate on the "start_date" field.

func StartDateLT

func StartDateLT(v time.Time) predicate.SubscriptionSchedule

StartDateLT applies the LT predicate on the "start_date" field.

func StartDateLTE

func StartDateLTE(v time.Time) predicate.SubscriptionSchedule

StartDateLTE applies the LTE predicate on the "start_date" field.

func StartDateNEQ

func StartDateNEQ(v time.Time) predicate.SubscriptionSchedule

StartDateNEQ applies the NEQ predicate on the "start_date" field.

func StartDateNotIn

func StartDateNotIn(vs ...time.Time) predicate.SubscriptionSchedule

StartDateNotIn applies the NotIn predicate on the "start_date" field.

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.SubscriptionSchedule

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.SubscriptionSchedule

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.SubscriptionSchedule

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.SubscriptionSchedule

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.SubscriptionSchedule

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.SubscriptionSchedule

StatusIn applies the In predicate on the "status" field.

func StatusLT

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.SubscriptionSchedule

StatusNotIn applies the NotIn predicate on the "status" field.

func SubscriptionID

func SubscriptionID(v string) predicate.SubscriptionSchedule

SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.

func SubscriptionIDContains

func SubscriptionIDContains(v string) predicate.SubscriptionSchedule

SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.

func SubscriptionIDContainsFold

func SubscriptionIDContainsFold(v string) predicate.SubscriptionSchedule

SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.

func SubscriptionIDEQ

func SubscriptionIDEQ(v string) predicate.SubscriptionSchedule

SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.

func SubscriptionIDEqualFold

func SubscriptionIDEqualFold(v string) predicate.SubscriptionSchedule

SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.

func SubscriptionIDGT

func SubscriptionIDGT(v string) predicate.SubscriptionSchedule

SubscriptionIDGT applies the GT predicate on the "subscription_id" field.

func SubscriptionIDGTE

func SubscriptionIDGTE(v string) predicate.SubscriptionSchedule

SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.

func SubscriptionIDHasPrefix

func SubscriptionIDHasPrefix(v string) predicate.SubscriptionSchedule

SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.

func SubscriptionIDHasSuffix

func SubscriptionIDHasSuffix(v string) predicate.SubscriptionSchedule

SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.

func SubscriptionIDIn

func SubscriptionIDIn(vs ...string) predicate.SubscriptionSchedule

SubscriptionIDIn applies the In predicate on the "subscription_id" field.

func SubscriptionIDLT

func SubscriptionIDLT(v string) predicate.SubscriptionSchedule

SubscriptionIDLT applies the LT predicate on the "subscription_id" field.

func SubscriptionIDLTE

func SubscriptionIDLTE(v string) predicate.SubscriptionSchedule

SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.

func SubscriptionIDNEQ

func SubscriptionIDNEQ(v string) predicate.SubscriptionSchedule

SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.

func SubscriptionIDNotIn

func SubscriptionIDNotIn(vs ...string) predicate.SubscriptionSchedule

SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.

func TenantID

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDContains

func TenantIDContains(v string) predicate.SubscriptionSchedule

TenantIDContains applies the Contains predicate on the "tenant_id" field.

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.SubscriptionSchedule

TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.

func TenantIDEQ

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.SubscriptionSchedule

TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.

func TenantIDGT

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v string) predicate.SubscriptionSchedule

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.SubscriptionSchedule

TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.SubscriptionSchedule

TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...string) predicate.SubscriptionSchedule

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v string) predicate.SubscriptionSchedule

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.SubscriptionSchedule

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...string) predicate.SubscriptionSchedule

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SubscriptionSchedule

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SubscriptionSchedule

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SubscriptionSchedule

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.SubscriptionSchedule

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SubscriptionSchedule

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SubscriptionSchedule

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SubscriptionSchedule

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.SubscriptionSchedule

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedBy

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.SubscriptionSchedule

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.SubscriptionSchedule

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.SubscriptionSchedule

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.SubscriptionSchedule

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.SubscriptionSchedule

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.SubscriptionSchedule

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.SubscriptionSchedule

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.SubscriptionSchedule

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.SubscriptionSchedule

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.SubscriptionSchedule

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.SubscriptionSchedule

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.SubscriptionSchedule

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.SubscriptionSchedule

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.SubscriptionSchedule

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.SubscriptionSchedule

UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 SubscriptionSchedule queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByCurrentPhaseIndex

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

ByCurrentPhaseIndex orders the results by the current_phase_index field.

func ByEndBehavior

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

ByEndBehavior orders the results by the end_behavior field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByID

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

ByID orders the results by the id field.

func ByPhases

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

ByPhases orders the results by phases terms.

func ByPhasesCount

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

ByPhasesCount orders the results by phases count.

func ByScheduleStatus

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

ByScheduleStatus orders the results by the schedule_status field.

func ByStartDate

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

ByStartDate orders the results by the start_date field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySubscriptionField

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

BySubscriptionField orders the results by subscription field.

func BySubscriptionID

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

BySubscriptionID orders the results by the subscription_id field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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