subscriptionschedulephase

package
v1.0.32 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subscriptionschedulephase type in the database.
	Label = "subscription_schedule_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"
	// FieldScheduleID holds the string denoting the schedule_id field in the database.
	FieldScheduleID = "schedule_id"
	// FieldPhaseIndex holds the string denoting the phase_index field in the database.
	FieldPhaseIndex = "phase_index"
	// 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"
	// FieldCommitmentAmount holds the string denoting the commitment_amount field in the database.
	FieldCommitmentAmount = "commitment_amount"
	// FieldOverageFactor holds the string denoting the overage_factor field in the database.
	FieldOverageFactor = "overage_factor"
	// FieldLineItems holds the string denoting the line_items field in the database.
	FieldLineItems = "line_items"
	// FieldCreditGrants holds the string denoting the credit_grants field in the database.
	FieldCreditGrants = "credit_grants"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// EdgeSchedule holds the string denoting the schedule edge name in mutations.
	EdgeSchedule = "schedule"
	// Table holds the table name of the subscriptionschedulephase in the database.
	Table = "subscription_schedule_phases"
	// ScheduleTable is the table that holds the schedule relation/edge.
	ScheduleTable = "subscription_schedule_phases"
	// ScheduleInverseTable is the table name for the SubscriptionSchedule entity.
	// It exists in this package in order to avoid circular dependency with the "subscriptionschedule" package.
	ScheduleInverseTable = "subscription_schedules"
	// ScheduleColumn is the table column denoting the schedule relation/edge.
	ScheduleColumn = "schedule_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
	// ScheduleIDValidator is a validator for the "schedule_id" field. It is called by the builders before save.
	ScheduleIDValidator func(string) error
	// PhaseIndexValidator is a validator for the "phase_index" field. It is called by the builders before save.
	PhaseIndexValidator func(int) error
	// 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 subscriptionschedulephase fields.

Functions

func And

And groups predicates with the AND operator between them.

func CommitmentAmount

CommitmentAmount applies equality check predicate on the "commitment_amount" field. It's identical to CommitmentAmountEQ.

func CommitmentAmountEQ

func CommitmentAmountEQ(v decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountEQ applies the EQ predicate on the "commitment_amount" field.

func CommitmentAmountGT

func CommitmentAmountGT(v decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountGT applies the GT predicate on the "commitment_amount" field.

func CommitmentAmountGTE

func CommitmentAmountGTE(v decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountGTE applies the GTE predicate on the "commitment_amount" field.

func CommitmentAmountIn

func CommitmentAmountIn(vs ...decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountIn applies the In predicate on the "commitment_amount" field.

func CommitmentAmountIsNil

func CommitmentAmountIsNil() predicate.SubscriptionSchedulePhase

CommitmentAmountIsNil applies the IsNil predicate on the "commitment_amount" field.

func CommitmentAmountLT

func CommitmentAmountLT(v decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountLT applies the LT predicate on the "commitment_amount" field.

func CommitmentAmountLTE

func CommitmentAmountLTE(v decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountLTE applies the LTE predicate on the "commitment_amount" field.

func CommitmentAmountNEQ

func CommitmentAmountNEQ(v decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountNEQ applies the NEQ predicate on the "commitment_amount" field.

func CommitmentAmountNotIn

func CommitmentAmountNotIn(vs ...decimal.Decimal) predicate.SubscriptionSchedulePhase

CommitmentAmountNotIn applies the NotIn predicate on the "commitment_amount" field.

func CommitmentAmountNotNil

func CommitmentAmountNotNil() predicate.SubscriptionSchedulePhase

CommitmentAmountNotNil applies the NotNil predicate on the "commitment_amount" field.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.SubscriptionSchedulePhase

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

func CreatedByEQ

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.SubscriptionSchedulePhase

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

func CreatedByGT

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

func CreatedByGTE

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.SubscriptionSchedulePhase

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.SubscriptionSchedulePhase

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.SubscriptionSchedulePhase

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

func CreatedByLT

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

func CreatedByLTE

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

func CreatedByNEQ

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.SubscriptionSchedulePhase

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

func CreditGrantsIsNil

func CreditGrantsIsNil() predicate.SubscriptionSchedulePhase

CreditGrantsIsNil applies the IsNil predicate on the "credit_grants" field.

func CreditGrantsNotNil

func CreditGrantsNotNil() predicate.SubscriptionSchedulePhase

CreditGrantsNotNil applies the NotNil predicate on the "credit_grants" field.

func EndDate

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

func EndDateEQ

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

func EndDateGT

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

func EndDateGTE

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

func EndDateIn

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

func EndDateIsNil

func EndDateIsNil() predicate.SubscriptionSchedulePhase

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

func EndDateLT

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

func EndDateLTE

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

func EndDateNEQ

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

func EndDateNotIn

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

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

func EndDateNotNil

func EndDateNotNil() predicate.SubscriptionSchedulePhase

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

func EnvironmentID

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

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDIn

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

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

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.SubscriptionSchedulePhase

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

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.SubscriptionSchedulePhase

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

func EnvironmentIDNotIn

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

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

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.SubscriptionSchedulePhase

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

func HasSchedule

HasSchedule applies the HasEdge predicate on the "schedule" edge.

func HasScheduleWith

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.SubscriptionSchedulePhase

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

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

IDNotIn applies the NotIn predicate on the ID field.

func LineItemsIsNil

func LineItemsIsNil() predicate.SubscriptionSchedulePhase

LineItemsIsNil applies the IsNil predicate on the "line_items" field.

func LineItemsNotNil

func LineItemsNotNil() predicate.SubscriptionSchedulePhase

LineItemsNotNil applies the NotNil predicate on the "line_items" field.

func MetadataIsNil

func MetadataIsNil() predicate.SubscriptionSchedulePhase

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

func MetadataNotNil

func MetadataNotNil() predicate.SubscriptionSchedulePhase

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 OverageFactor

OverageFactor applies equality check predicate on the "overage_factor" field. It's identical to OverageFactorEQ.

func OverageFactorEQ

OverageFactorEQ applies the EQ predicate on the "overage_factor" field.

func OverageFactorGT

OverageFactorGT applies the GT predicate on the "overage_factor" field.

func OverageFactorGTE

OverageFactorGTE applies the GTE predicate on the "overage_factor" field.

func OverageFactorIn

func OverageFactorIn(vs ...decimal.Decimal) predicate.SubscriptionSchedulePhase

OverageFactorIn applies the In predicate on the "overage_factor" field.

func OverageFactorIsNil

func OverageFactorIsNil() predicate.SubscriptionSchedulePhase

OverageFactorIsNil applies the IsNil predicate on the "overage_factor" field.

func OverageFactorLT

OverageFactorLT applies the LT predicate on the "overage_factor" field.

func OverageFactorLTE

OverageFactorLTE applies the LTE predicate on the "overage_factor" field.

func OverageFactorNEQ

OverageFactorNEQ applies the NEQ predicate on the "overage_factor" field.

func OverageFactorNotIn

func OverageFactorNotIn(vs ...decimal.Decimal) predicate.SubscriptionSchedulePhase

OverageFactorNotIn applies the NotIn predicate on the "overage_factor" field.

func OverageFactorNotNil

func OverageFactorNotNil() predicate.SubscriptionSchedulePhase

OverageFactorNotNil applies the NotNil predicate on the "overage_factor" field.

func PhaseIndex

PhaseIndex applies equality check predicate on the "phase_index" field. It's identical to PhaseIndexEQ.

func PhaseIndexEQ

func PhaseIndexEQ(v int) predicate.SubscriptionSchedulePhase

PhaseIndexEQ applies the EQ predicate on the "phase_index" field.

func PhaseIndexGT

func PhaseIndexGT(v int) predicate.SubscriptionSchedulePhase

PhaseIndexGT applies the GT predicate on the "phase_index" field.

func PhaseIndexGTE

func PhaseIndexGTE(v int) predicate.SubscriptionSchedulePhase

PhaseIndexGTE applies the GTE predicate on the "phase_index" field.

func PhaseIndexIn

func PhaseIndexIn(vs ...int) predicate.SubscriptionSchedulePhase

PhaseIndexIn applies the In predicate on the "phase_index" field.

func PhaseIndexLT

func PhaseIndexLT(v int) predicate.SubscriptionSchedulePhase

PhaseIndexLT applies the LT predicate on the "phase_index" field.

func PhaseIndexLTE

func PhaseIndexLTE(v int) predicate.SubscriptionSchedulePhase

PhaseIndexLTE applies the LTE predicate on the "phase_index" field.

func PhaseIndexNEQ

func PhaseIndexNEQ(v int) predicate.SubscriptionSchedulePhase

PhaseIndexNEQ applies the NEQ predicate on the "phase_index" field.

func PhaseIndexNotIn

func PhaseIndexNotIn(vs ...int) predicate.SubscriptionSchedulePhase

PhaseIndexNotIn applies the NotIn predicate on the "phase_index" field.

func ScheduleID

ScheduleID applies equality check predicate on the "schedule_id" field. It's identical to ScheduleIDEQ.

func ScheduleIDContains

func ScheduleIDContains(v string) predicate.SubscriptionSchedulePhase

ScheduleIDContains applies the Contains predicate on the "schedule_id" field.

func ScheduleIDContainsFold

func ScheduleIDContainsFold(v string) predicate.SubscriptionSchedulePhase

ScheduleIDContainsFold applies the ContainsFold predicate on the "schedule_id" field.

func ScheduleIDEQ

ScheduleIDEQ applies the EQ predicate on the "schedule_id" field.

func ScheduleIDEqualFold

func ScheduleIDEqualFold(v string) predicate.SubscriptionSchedulePhase

ScheduleIDEqualFold applies the EqualFold predicate on the "schedule_id" field.

func ScheduleIDGT

ScheduleIDGT applies the GT predicate on the "schedule_id" field.

func ScheduleIDGTE

ScheduleIDGTE applies the GTE predicate on the "schedule_id" field.

func ScheduleIDHasPrefix

func ScheduleIDHasPrefix(v string) predicate.SubscriptionSchedulePhase

ScheduleIDHasPrefix applies the HasPrefix predicate on the "schedule_id" field.

func ScheduleIDHasSuffix

func ScheduleIDHasSuffix(v string) predicate.SubscriptionSchedulePhase

ScheduleIDHasSuffix applies the HasSuffix predicate on the "schedule_id" field.

func ScheduleIDIn

func ScheduleIDIn(vs ...string) predicate.SubscriptionSchedulePhase

ScheduleIDIn applies the In predicate on the "schedule_id" field.

func ScheduleIDLT

ScheduleIDLT applies the LT predicate on the "schedule_id" field.

func ScheduleIDLTE

ScheduleIDLTE applies the LTE predicate on the "schedule_id" field.

func ScheduleIDNEQ

ScheduleIDNEQ applies the NEQ predicate on the "schedule_id" field.

func ScheduleIDNotIn

func ScheduleIDNotIn(vs ...string) predicate.SubscriptionSchedulePhase

ScheduleIDNotIn applies the NotIn predicate on the "schedule_id" field.

func StartDate

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

func StartDateEQ

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

func StartDateGT

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

func StartDateGTE

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

func StartDateIn

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

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

func StartDateLT

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

func StartDateLTE

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

func StartDateNEQ

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

func StartDateNotIn

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

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

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.SubscriptionSchedulePhase

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

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

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.SubscriptionSchedulePhase

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

func StatusIn

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

StatusNotIn applies the NotIn predicate on the "status" 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.SubscriptionSchedulePhase

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

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.SubscriptionSchedulePhase

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

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

func TenantIDGT

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

func TenantIDGTE

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

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.SubscriptionSchedulePhase

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

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.SubscriptionSchedulePhase

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

func TenantIDIn

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

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

func TenantIDLT

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

func TenantIDLTE

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

func TenantIDNEQ

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

func TenantIDNotIn

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

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

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

func UpdatedAtGT

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

func UpdatedAtGTE

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

func UpdatedAtIn

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

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

func UpdatedAtLT

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

func UpdatedAtLTE

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

func UpdatedAtNEQ

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

func UpdatedAtNotIn

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

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

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.SubscriptionSchedulePhase

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

func UpdatedByEQ

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.SubscriptionSchedulePhase

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

func UpdatedByGT

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

func UpdatedByGTE

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.SubscriptionSchedulePhase

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.SubscriptionSchedulePhase

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.SubscriptionSchedulePhase

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

func UpdatedByLT

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

func UpdatedByLTE

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

func UpdatedByNEQ

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.SubscriptionSchedulePhase

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 SubscriptionSchedulePhase queries.

func ByCommitmentAmount

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

ByCommitmentAmount orders the results by the commitment_amount field.

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 ByOverageFactor

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

ByOverageFactor orders the results by the overage_factor field.

func ByPhaseIndex

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

ByPhaseIndex orders the results by the phase_index field.

func ByScheduleField

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

ByScheduleField orders the results by schedule field.

func ByScheduleID

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

ByScheduleID orders the results by the schedule_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 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