subscriptionphase

package
v1.1.59 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscriptionphase type in the database.
	Label = "subscription_phase"
	// 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"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldSubscriptionID holds the string denoting the subscription_id field in the database.
	FieldSubscriptionID = "subscription_id"
	// FieldStartDate holds the string denoting the start_date field in the database.
	FieldStartDate = "start_date"
	// FieldEndDate holds the string denoting the end_date field in the database.
	FieldEndDate = "end_date"
	// EdgeSubscription holds the string denoting the subscription edge name in mutations.
	EdgeSubscription = "subscription"
	// Table holds the table name of the subscriptionphase in the database.
	Table = "subscription_phases"
	// SubscriptionTable is the table that holds the subscription relation/edge.
	SubscriptionTable = "subscription_phases"
	// 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
	// DefaultStartDate holds the default value on creation for the "start_date" field.
	DefaultStartDate func() time.Time
)

Columns holds all SQL columns for subscriptionphase fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.SubscriptionPhase

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SubscriptionPhase

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SubscriptionPhase

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SubscriptionPhase

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SubscriptionPhase

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SubscriptionPhase

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SubscriptionPhase

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.SubscriptionPhase

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

func CreatedByContains

func CreatedByContains(v string) predicate.SubscriptionPhase

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.SubscriptionPhase

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.SubscriptionPhase

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.SubscriptionPhase

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

func CreatedByGT

func CreatedByGT(v string) predicate.SubscriptionPhase

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.SubscriptionPhase

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.SubscriptionPhase

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.SubscriptionPhase

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.SubscriptionPhase

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

func CreatedByLT

func CreatedByLT(v string) predicate.SubscriptionPhase

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.SubscriptionPhase

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.SubscriptionPhase

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.SubscriptionPhase

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

func EndDate

EndDate applies equality check predicate on the "end_date" field. It's identical to EndDateEQ.

func EndDateEQ

func EndDateEQ(v time.Time) predicate.SubscriptionPhase

EndDateEQ applies the EQ predicate on the "end_date" field.

func EndDateGT

func EndDateGT(v time.Time) predicate.SubscriptionPhase

EndDateGT applies the GT predicate on the "end_date" field.

func EndDateGTE

func EndDateGTE(v time.Time) predicate.SubscriptionPhase

EndDateGTE applies the GTE predicate on the "end_date" field.

func EndDateIn

func EndDateIn(vs ...time.Time) predicate.SubscriptionPhase

EndDateIn applies the In predicate on the "end_date" field.

func EndDateIsNil

func EndDateIsNil() predicate.SubscriptionPhase

EndDateIsNil applies the IsNil predicate on the "end_date" field.

func EndDateLT

func EndDateLT(v time.Time) predicate.SubscriptionPhase

EndDateLT applies the LT predicate on the "end_date" field.

func EndDateLTE

func EndDateLTE(v time.Time) predicate.SubscriptionPhase

EndDateLTE applies the LTE predicate on the "end_date" field.

func EndDateNEQ

func EndDateNEQ(v time.Time) predicate.SubscriptionPhase

EndDateNEQ applies the NEQ predicate on the "end_date" field.

func EndDateNotIn

func EndDateNotIn(vs ...time.Time) predicate.SubscriptionPhase

EndDateNotIn applies the NotIn predicate on the "end_date" field.

func EndDateNotNil

func EndDateNotNil() predicate.SubscriptionPhase

EndDateNotNil applies the NotNil predicate on the "end_date" field.

func EnvironmentID

func EnvironmentID(v string) predicate.SubscriptionPhase

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

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.SubscriptionPhase

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.SubscriptionPhase

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.SubscriptionPhase

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.SubscriptionPhase

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

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.SubscriptionPhase

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.SubscriptionPhase

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.SubscriptionPhase

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.SubscriptionPhase

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

func EnvironmentIDIn

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

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

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.SubscriptionPhase

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

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.SubscriptionPhase

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.SubscriptionPhase

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.SubscriptionPhase

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

func EnvironmentIDNotIn

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

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

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.SubscriptionPhase

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

func HasSubscription

func HasSubscription() predicate.SubscriptionPhase

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

func HasSubscriptionWith

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

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.SubscriptionPhase

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.SubscriptionPhase

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

func IDIn(ids ...string) predicate.SubscriptionPhase

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.SubscriptionPhase

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.SubscriptionPhase

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

func MetadataNotNil

func MetadataNotNil() predicate.SubscriptionPhase

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 StartDate

func StartDate(v time.Time) predicate.SubscriptionPhase

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

func StartDateEQ

func StartDateEQ(v time.Time) predicate.SubscriptionPhase

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

func StartDateGT

func StartDateGT(v time.Time) predicate.SubscriptionPhase

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

func StartDateGTE

func StartDateGTE(v time.Time) predicate.SubscriptionPhase

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

func StartDateIn

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

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

func StartDateLT

func StartDateLT(v time.Time) predicate.SubscriptionPhase

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

func StartDateLTE

func StartDateLTE(v time.Time) predicate.SubscriptionPhase

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

func StartDateNEQ

func StartDateNEQ(v time.Time) predicate.SubscriptionPhase

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

func StartDateNotIn

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

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.SubscriptionPhase

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.SubscriptionPhase

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.SubscriptionPhase

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

func StatusGT

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

func StatusGTE

func StatusGTE(v string) predicate.SubscriptionPhase

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.SubscriptionPhase

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.SubscriptionPhase

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

func StatusIn

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

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

func StatusLT

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

func StatusLTE

func StatusLTE(v string) predicate.SubscriptionPhase

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

func StatusNEQ

func StatusNEQ(v string) predicate.SubscriptionPhase

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

func StatusNotIn

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

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

func SubscriptionID

func SubscriptionID(v string) predicate.SubscriptionPhase

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

func SubscriptionIDContains

func SubscriptionIDContains(v string) predicate.SubscriptionPhase

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

func SubscriptionIDContainsFold

func SubscriptionIDContainsFold(v string) predicate.SubscriptionPhase

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

func SubscriptionIDEQ

func SubscriptionIDEQ(v string) predicate.SubscriptionPhase

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

func SubscriptionIDEqualFold

func SubscriptionIDEqualFold(v string) predicate.SubscriptionPhase

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

func SubscriptionIDGT

func SubscriptionIDGT(v string) predicate.SubscriptionPhase

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

func SubscriptionIDGTE

func SubscriptionIDGTE(v string) predicate.SubscriptionPhase

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

func SubscriptionIDHasPrefix

func SubscriptionIDHasPrefix(v string) predicate.SubscriptionPhase

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

func SubscriptionIDHasSuffix

func SubscriptionIDHasSuffix(v string) predicate.SubscriptionPhase

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

func SubscriptionIDIn

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

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

func SubscriptionIDLT

func SubscriptionIDLT(v string) predicate.SubscriptionPhase

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

func SubscriptionIDLTE

func SubscriptionIDLTE(v string) predicate.SubscriptionPhase

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

func SubscriptionIDNEQ

func SubscriptionIDNEQ(v string) predicate.SubscriptionPhase

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

func SubscriptionIDNotIn

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

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.SubscriptionPhase

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

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.SubscriptionPhase

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

func TenantIDEQ

func TenantIDEQ(v string) predicate.SubscriptionPhase

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

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.SubscriptionPhase

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

func TenantIDGT

func TenantIDGT(v string) predicate.SubscriptionPhase

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

func TenantIDGTE

func TenantIDGTE(v string) predicate.SubscriptionPhase

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

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.SubscriptionPhase

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

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.SubscriptionPhase

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

func TenantIDIn

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

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

func TenantIDLT

func TenantIDLT(v string) predicate.SubscriptionPhase

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

func TenantIDLTE

func TenantIDLTE(v string) predicate.SubscriptionPhase

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

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.SubscriptionPhase

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

func TenantIDNotIn

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

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.SubscriptionPhase

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SubscriptionPhase

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SubscriptionPhase

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SubscriptionPhase

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SubscriptionPhase

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SubscriptionPhase

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SubscriptionPhase

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v string) predicate.SubscriptionPhase

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.SubscriptionPhase

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.SubscriptionPhase

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.SubscriptionPhase

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.SubscriptionPhase

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.SubscriptionPhase

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.SubscriptionPhase

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.SubscriptionPhase

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.SubscriptionPhase

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.SubscriptionPhase

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.SubscriptionPhase

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.SubscriptionPhase

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.SubscriptionPhase

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.SubscriptionPhase

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 SubscriptionPhase 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 ByEndDate

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

ByEndDate orders the results by the end_date 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 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