price

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the price type in the database.
	Label = "price"
	// 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"
	// FieldAmount holds the string denoting the amount field in the database.
	FieldAmount = "amount"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// FieldDisplayAmount holds the string denoting the display_amount field in the database.
	FieldDisplayAmount = "display_amount"
	// FieldPriceUnitType holds the string denoting the price_unit_type field in the database.
	FieldPriceUnitType = "price_unit_type"
	// FieldPriceUnitID holds the string denoting the price_unit_id field in the database.
	FieldPriceUnitID = "price_unit_id"
	// FieldPriceUnit holds the string denoting the price_unit field in the database.
	FieldPriceUnit = "price_unit"
	// FieldPriceUnitAmount holds the string denoting the price_unit_amount field in the database.
	FieldPriceUnitAmount = "price_unit_amount"
	// FieldDisplayPriceUnitAmount holds the string denoting the display_price_unit_amount field in the database.
	FieldDisplayPriceUnitAmount = "display_price_unit_amount"
	// FieldConversionRate holds the string denoting the conversion_rate field in the database.
	FieldConversionRate = "conversion_rate"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldBillingPeriod holds the string denoting the billing_period field in the database.
	FieldBillingPeriod = "billing_period"
	// FieldBillingPeriodCount holds the string denoting the billing_period_count field in the database.
	FieldBillingPeriodCount = "billing_period_count"
	// FieldBillingModel holds the string denoting the billing_model field in the database.
	FieldBillingModel = "billing_model"
	// FieldBillingCadence holds the string denoting the billing_cadence field in the database.
	FieldBillingCadence = "billing_cadence"
	// FieldInvoiceCadence holds the string denoting the invoice_cadence field in the database.
	FieldInvoiceCadence = "invoice_cadence"
	// FieldTrialPeriod holds the string denoting the trial_period field in the database.
	FieldTrialPeriod = "trial_period"
	// FieldMeterID holds the string denoting the meter_id field in the database.
	FieldMeterID = "meter_id"
	// FieldFilterValues holds the string denoting the filter_values field in the database.
	FieldFilterValues = "filter_values"
	// FieldTierMode holds the string denoting the tier_mode field in the database.
	FieldTierMode = "tier_mode"
	// FieldTiers holds the string denoting the tiers field in the database.
	FieldTiers = "tiers"
	// FieldPriceUnitTiers holds the string denoting the price_unit_tiers field in the database.
	FieldPriceUnitTiers = "price_unit_tiers"
	// FieldTransformQuantity holds the string denoting the transform_quantity field in the database.
	FieldTransformQuantity = "transform_quantity"
	// FieldLookupKey holds the string denoting the lookup_key field in the database.
	FieldLookupKey = "lookup_key"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldEntityType holds the string denoting the entity_type field in the database.
	FieldEntityType = "entity_type"
	// FieldEntityID holds the string denoting the entity_id field in the database.
	FieldEntityID = "entity_id"
	// FieldParentPriceID holds the string denoting the parent_price_id field in the database.
	FieldParentPriceID = "parent_price_id"
	// EdgeCostsheet holds the string denoting the costsheet edge name in mutations.
	EdgeCostsheet = "costsheet"
	// EdgePriceUnitEdge holds the string denoting the price_unit_edge edge name in mutations.
	EdgePriceUnitEdge = "price_unit_edge"
	// Table holds the table name of the price in the database.
	Table = "prices"
	// CostsheetTable is the table that holds the costsheet relation/edge.
	CostsheetTable = "costsheet"
	// CostsheetInverseTable is the table name for the Costsheet entity.
	// It exists in this package in order to avoid circular dependency with the "costsheet" package.
	CostsheetInverseTable = "costsheet"
	// CostsheetColumn is the table column denoting the costsheet relation/edge.
	CostsheetColumn = "price_id"
	// PriceUnitEdgeTable is the table that holds the price_unit_edge relation/edge.
	PriceUnitEdgeTable = "prices"
	// PriceUnitEdgeInverseTable is the table name for the PriceUnit entity.
	// It exists in this package in order to avoid circular dependency with the "priceunit" package.
	PriceUnitEdgeInverseTable = "price_unit"
	// PriceUnitEdgeColumn is the table column denoting the price_unit_edge relation/edge.
	PriceUnitEdgeColumn = "price_unit_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
	// CurrencyValidator is a validator for the "currency" field. It is called by the builders before save.
	CurrencyValidator func(string) error
	// DisplayAmountValidator is a validator for the "display_amount" field. It is called by the builders before save.
	DisplayAmountValidator func(string) error
	// DefaultPriceUnitType holds the default value on creation for the "price_unit_type" field.
	DefaultPriceUnitType string
	// PriceUnitTypeValidator is a validator for the "price_unit_type" field. It is called by the builders before save.
	PriceUnitTypeValidator func(string) error
	// TypeValidator is a validator for the "type" field. It is called by the builders before save.
	TypeValidator func(string) error
	// BillingPeriodValidator is a validator for the "billing_period" field. It is called by the builders before save.
	BillingPeriodValidator func(string) error
	// BillingPeriodCountValidator is a validator for the "billing_period_count" field. It is called by the builders before save.
	BillingPeriodCountValidator func(int) error
	// BillingModelValidator is a validator for the "billing_model" field. It is called by the builders before save.
	BillingModelValidator func(string) error
	// BillingCadenceValidator is a validator for the "billing_cadence" field. It is called by the builders before save.
	BillingCadenceValidator func(string) error
	// DefaultTrialPeriod holds the default value on creation for the "trial_period" field.
	DefaultTrialPeriod int
	// DefaultEntityType holds the default value on creation for the "entity_type" field.
	DefaultEntityType string
)

Columns holds all SQL columns for price fields.

View Source
var ForeignKeys = []string{
	"addon_prices",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "prices" table and are not defined as standalone fields in the schema.

Functions

func Amount

func Amount(v float64) predicate.Price

Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.

func AmountEQ

func AmountEQ(v float64) predicate.Price

AmountEQ applies the EQ predicate on the "amount" field.

func AmountGT

func AmountGT(v float64) predicate.Price

AmountGT applies the GT predicate on the "amount" field.

func AmountGTE

func AmountGTE(v float64) predicate.Price

AmountGTE applies the GTE predicate on the "amount" field.

func AmountIn

func AmountIn(vs ...float64) predicate.Price

AmountIn applies the In predicate on the "amount" field.

func AmountLT

func AmountLT(v float64) predicate.Price

AmountLT applies the LT predicate on the "amount" field.

func AmountLTE

func AmountLTE(v float64) predicate.Price

AmountLTE applies the LTE predicate on the "amount" field.

func AmountNEQ

func AmountNEQ(v float64) predicate.Price

AmountNEQ applies the NEQ predicate on the "amount" field.

func AmountNotIn

func AmountNotIn(vs ...float64) predicate.Price

AmountNotIn applies the NotIn predicate on the "amount" field.

func And

func And(predicates ...predicate.Price) predicate.Price

And groups predicates with the AND operator between them.

func BillingCadence

func BillingCadence(v string) predicate.Price

BillingCadence applies equality check predicate on the "billing_cadence" field. It's identical to BillingCadenceEQ.

func BillingCadenceContains

func BillingCadenceContains(v string) predicate.Price

BillingCadenceContains applies the Contains predicate on the "billing_cadence" field.

func BillingCadenceContainsFold

func BillingCadenceContainsFold(v string) predicate.Price

BillingCadenceContainsFold applies the ContainsFold predicate on the "billing_cadence" field.

func BillingCadenceEQ

func BillingCadenceEQ(v string) predicate.Price

BillingCadenceEQ applies the EQ predicate on the "billing_cadence" field.

func BillingCadenceEqualFold

func BillingCadenceEqualFold(v string) predicate.Price

BillingCadenceEqualFold applies the EqualFold predicate on the "billing_cadence" field.

func BillingCadenceGT

func BillingCadenceGT(v string) predicate.Price

BillingCadenceGT applies the GT predicate on the "billing_cadence" field.

func BillingCadenceGTE

func BillingCadenceGTE(v string) predicate.Price

BillingCadenceGTE applies the GTE predicate on the "billing_cadence" field.

func BillingCadenceHasPrefix

func BillingCadenceHasPrefix(v string) predicate.Price

BillingCadenceHasPrefix applies the HasPrefix predicate on the "billing_cadence" field.

func BillingCadenceHasSuffix

func BillingCadenceHasSuffix(v string) predicate.Price

BillingCadenceHasSuffix applies the HasSuffix predicate on the "billing_cadence" field.

func BillingCadenceIn

func BillingCadenceIn(vs ...string) predicate.Price

BillingCadenceIn applies the In predicate on the "billing_cadence" field.

func BillingCadenceLT

func BillingCadenceLT(v string) predicate.Price

BillingCadenceLT applies the LT predicate on the "billing_cadence" field.

func BillingCadenceLTE

func BillingCadenceLTE(v string) predicate.Price

BillingCadenceLTE applies the LTE predicate on the "billing_cadence" field.

func BillingCadenceNEQ

func BillingCadenceNEQ(v string) predicate.Price

BillingCadenceNEQ applies the NEQ predicate on the "billing_cadence" field.

func BillingCadenceNotIn

func BillingCadenceNotIn(vs ...string) predicate.Price

BillingCadenceNotIn applies the NotIn predicate on the "billing_cadence" field.

func BillingModel

func BillingModel(v string) predicate.Price

BillingModel applies equality check predicate on the "billing_model" field. It's identical to BillingModelEQ.

func BillingModelContains

func BillingModelContains(v string) predicate.Price

BillingModelContains applies the Contains predicate on the "billing_model" field.

func BillingModelContainsFold

func BillingModelContainsFold(v string) predicate.Price

BillingModelContainsFold applies the ContainsFold predicate on the "billing_model" field.

func BillingModelEQ

func BillingModelEQ(v string) predicate.Price

BillingModelEQ applies the EQ predicate on the "billing_model" field.

func BillingModelEqualFold

func BillingModelEqualFold(v string) predicate.Price

BillingModelEqualFold applies the EqualFold predicate on the "billing_model" field.

func BillingModelGT

func BillingModelGT(v string) predicate.Price

BillingModelGT applies the GT predicate on the "billing_model" field.

func BillingModelGTE

func BillingModelGTE(v string) predicate.Price

BillingModelGTE applies the GTE predicate on the "billing_model" field.

func BillingModelHasPrefix

func BillingModelHasPrefix(v string) predicate.Price

BillingModelHasPrefix applies the HasPrefix predicate on the "billing_model" field.

func BillingModelHasSuffix

func BillingModelHasSuffix(v string) predicate.Price

BillingModelHasSuffix applies the HasSuffix predicate on the "billing_model" field.

func BillingModelIn

func BillingModelIn(vs ...string) predicate.Price

BillingModelIn applies the In predicate on the "billing_model" field.

func BillingModelLT

func BillingModelLT(v string) predicate.Price

BillingModelLT applies the LT predicate on the "billing_model" field.

func BillingModelLTE

func BillingModelLTE(v string) predicate.Price

BillingModelLTE applies the LTE predicate on the "billing_model" field.

func BillingModelNEQ

func BillingModelNEQ(v string) predicate.Price

BillingModelNEQ applies the NEQ predicate on the "billing_model" field.

func BillingModelNotIn

func BillingModelNotIn(vs ...string) predicate.Price

BillingModelNotIn applies the NotIn predicate on the "billing_model" field.

func BillingPeriod

func BillingPeriod(v string) predicate.Price

BillingPeriod applies equality check predicate on the "billing_period" field. It's identical to BillingPeriodEQ.

func BillingPeriodContains

func BillingPeriodContains(v string) predicate.Price

BillingPeriodContains applies the Contains predicate on the "billing_period" field.

func BillingPeriodContainsFold

func BillingPeriodContainsFold(v string) predicate.Price

BillingPeriodContainsFold applies the ContainsFold predicate on the "billing_period" field.

func BillingPeriodCount

func BillingPeriodCount(v int) predicate.Price

BillingPeriodCount applies equality check predicate on the "billing_period_count" field. It's identical to BillingPeriodCountEQ.

func BillingPeriodCountEQ

func BillingPeriodCountEQ(v int) predicate.Price

BillingPeriodCountEQ applies the EQ predicate on the "billing_period_count" field.

func BillingPeriodCountGT

func BillingPeriodCountGT(v int) predicate.Price

BillingPeriodCountGT applies the GT predicate on the "billing_period_count" field.

func BillingPeriodCountGTE

func BillingPeriodCountGTE(v int) predicate.Price

BillingPeriodCountGTE applies the GTE predicate on the "billing_period_count" field.

func BillingPeriodCountIn

func BillingPeriodCountIn(vs ...int) predicate.Price

BillingPeriodCountIn applies the In predicate on the "billing_period_count" field.

func BillingPeriodCountLT

func BillingPeriodCountLT(v int) predicate.Price

BillingPeriodCountLT applies the LT predicate on the "billing_period_count" field.

func BillingPeriodCountLTE

func BillingPeriodCountLTE(v int) predicate.Price

BillingPeriodCountLTE applies the LTE predicate on the "billing_period_count" field.

func BillingPeriodCountNEQ

func BillingPeriodCountNEQ(v int) predicate.Price

BillingPeriodCountNEQ applies the NEQ predicate on the "billing_period_count" field.

func BillingPeriodCountNotIn

func BillingPeriodCountNotIn(vs ...int) predicate.Price

BillingPeriodCountNotIn applies the NotIn predicate on the "billing_period_count" field.

func BillingPeriodEQ

func BillingPeriodEQ(v string) predicate.Price

BillingPeriodEQ applies the EQ predicate on the "billing_period" field.

func BillingPeriodEqualFold

func BillingPeriodEqualFold(v string) predicate.Price

BillingPeriodEqualFold applies the EqualFold predicate on the "billing_period" field.

func BillingPeriodGT

func BillingPeriodGT(v string) predicate.Price

BillingPeriodGT applies the GT predicate on the "billing_period" field.

func BillingPeriodGTE

func BillingPeriodGTE(v string) predicate.Price

BillingPeriodGTE applies the GTE predicate on the "billing_period" field.

func BillingPeriodHasPrefix

func BillingPeriodHasPrefix(v string) predicate.Price

BillingPeriodHasPrefix applies the HasPrefix predicate on the "billing_period" field.

func BillingPeriodHasSuffix

func BillingPeriodHasSuffix(v string) predicate.Price

BillingPeriodHasSuffix applies the HasSuffix predicate on the "billing_period" field.

func BillingPeriodIn

func BillingPeriodIn(vs ...string) predicate.Price

BillingPeriodIn applies the In predicate on the "billing_period" field.

func BillingPeriodLT

func BillingPeriodLT(v string) predicate.Price

BillingPeriodLT applies the LT predicate on the "billing_period" field.

func BillingPeriodLTE

func BillingPeriodLTE(v string) predicate.Price

BillingPeriodLTE applies the LTE predicate on the "billing_period" field.

func BillingPeriodNEQ

func BillingPeriodNEQ(v string) predicate.Price

BillingPeriodNEQ applies the NEQ predicate on the "billing_period" field.

func BillingPeriodNotIn

func BillingPeriodNotIn(vs ...string) predicate.Price

BillingPeriodNotIn applies the NotIn predicate on the "billing_period" field.

func ConversionRate added in v1.0.21

func ConversionRate(v float64) predicate.Price

ConversionRate applies equality check predicate on the "conversion_rate" field. It's identical to ConversionRateEQ.

func ConversionRateEQ added in v1.0.21

func ConversionRateEQ(v float64) predicate.Price

ConversionRateEQ applies the EQ predicate on the "conversion_rate" field.

func ConversionRateGT added in v1.0.21

func ConversionRateGT(v float64) predicate.Price

ConversionRateGT applies the GT predicate on the "conversion_rate" field.

func ConversionRateGTE added in v1.0.21

func ConversionRateGTE(v float64) predicate.Price

ConversionRateGTE applies the GTE predicate on the "conversion_rate" field.

func ConversionRateIn added in v1.0.21

func ConversionRateIn(vs ...float64) predicate.Price

ConversionRateIn applies the In predicate on the "conversion_rate" field.

func ConversionRateIsNil added in v1.0.21

func ConversionRateIsNil() predicate.Price

ConversionRateIsNil applies the IsNil predicate on the "conversion_rate" field.

func ConversionRateLT added in v1.0.21

func ConversionRateLT(v float64) predicate.Price

ConversionRateLT applies the LT predicate on the "conversion_rate" field.

func ConversionRateLTE added in v1.0.21

func ConversionRateLTE(v float64) predicate.Price

ConversionRateLTE applies the LTE predicate on the "conversion_rate" field.

func ConversionRateNEQ added in v1.0.21

func ConversionRateNEQ(v float64) predicate.Price

ConversionRateNEQ applies the NEQ predicate on the "conversion_rate" field.

func ConversionRateNotIn added in v1.0.21

func ConversionRateNotIn(vs ...float64) predicate.Price

ConversionRateNotIn applies the NotIn predicate on the "conversion_rate" field.

func ConversionRateNotNil added in v1.0.21

func ConversionRateNotNil() predicate.Price

ConversionRateNotNil applies the NotNil predicate on the "conversion_rate" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Price

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Price

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Price

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Price

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Price

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Price

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Price

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.Price

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

func CreatedByContains

func CreatedByContains(v string) predicate.Price

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Price

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Price

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Price

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

func CreatedByGT

func CreatedByGT(v string) predicate.Price

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Price

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Price

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Price

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Price

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

func CreatedByLT

func CreatedByLT(v string) predicate.Price

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Price

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Price

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Price

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

func Currency

func Currency(v string) predicate.Price

Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.

func CurrencyContains

func CurrencyContains(v string) predicate.Price

CurrencyContains applies the Contains predicate on the "currency" field.

func CurrencyContainsFold

func CurrencyContainsFold(v string) predicate.Price

CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.

func CurrencyEQ

func CurrencyEQ(v string) predicate.Price

CurrencyEQ applies the EQ predicate on the "currency" field.

func CurrencyEqualFold

func CurrencyEqualFold(v string) predicate.Price

CurrencyEqualFold applies the EqualFold predicate on the "currency" field.

func CurrencyGT

func CurrencyGT(v string) predicate.Price

CurrencyGT applies the GT predicate on the "currency" field.

func CurrencyGTE

func CurrencyGTE(v string) predicate.Price

CurrencyGTE applies the GTE predicate on the "currency" field.

func CurrencyHasPrefix

func CurrencyHasPrefix(v string) predicate.Price

CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.

func CurrencyHasSuffix

func CurrencyHasSuffix(v string) predicate.Price

CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.

func CurrencyIn

func CurrencyIn(vs ...string) predicate.Price

CurrencyIn applies the In predicate on the "currency" field.

func CurrencyLT

func CurrencyLT(v string) predicate.Price

CurrencyLT applies the LT predicate on the "currency" field.

func CurrencyLTE

func CurrencyLTE(v string) predicate.Price

CurrencyLTE applies the LTE predicate on the "currency" field.

func CurrencyNEQ

func CurrencyNEQ(v string) predicate.Price

CurrencyNEQ applies the NEQ predicate on the "currency" field.

func CurrencyNotIn

func CurrencyNotIn(vs ...string) predicate.Price

CurrencyNotIn applies the NotIn predicate on the "currency" field.

func Description

func Description(v string) predicate.Price

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Price

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Price

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Price

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Price

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Price

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Price

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Price

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Price

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Price

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Price

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Price

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Price

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Price

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Price

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Price

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DisplayAmount

func DisplayAmount(v string) predicate.Price

DisplayAmount applies equality check predicate on the "display_amount" field. It's identical to DisplayAmountEQ.

func DisplayAmountContains

func DisplayAmountContains(v string) predicate.Price

DisplayAmountContains applies the Contains predicate on the "display_amount" field.

func DisplayAmountContainsFold

func DisplayAmountContainsFold(v string) predicate.Price

DisplayAmountContainsFold applies the ContainsFold predicate on the "display_amount" field.

func DisplayAmountEQ

func DisplayAmountEQ(v string) predicate.Price

DisplayAmountEQ applies the EQ predicate on the "display_amount" field.

func DisplayAmountEqualFold

func DisplayAmountEqualFold(v string) predicate.Price

DisplayAmountEqualFold applies the EqualFold predicate on the "display_amount" field.

func DisplayAmountGT

func DisplayAmountGT(v string) predicate.Price

DisplayAmountGT applies the GT predicate on the "display_amount" field.

func DisplayAmountGTE

func DisplayAmountGTE(v string) predicate.Price

DisplayAmountGTE applies the GTE predicate on the "display_amount" field.

func DisplayAmountHasPrefix

func DisplayAmountHasPrefix(v string) predicate.Price

DisplayAmountHasPrefix applies the HasPrefix predicate on the "display_amount" field.

func DisplayAmountHasSuffix

func DisplayAmountHasSuffix(v string) predicate.Price

DisplayAmountHasSuffix applies the HasSuffix predicate on the "display_amount" field.

func DisplayAmountIn

func DisplayAmountIn(vs ...string) predicate.Price

DisplayAmountIn applies the In predicate on the "display_amount" field.

func DisplayAmountLT

func DisplayAmountLT(v string) predicate.Price

DisplayAmountLT applies the LT predicate on the "display_amount" field.

func DisplayAmountLTE

func DisplayAmountLTE(v string) predicate.Price

DisplayAmountLTE applies the LTE predicate on the "display_amount" field.

func DisplayAmountNEQ

func DisplayAmountNEQ(v string) predicate.Price

DisplayAmountNEQ applies the NEQ predicate on the "display_amount" field.

func DisplayAmountNotIn

func DisplayAmountNotIn(vs ...string) predicate.Price

DisplayAmountNotIn applies the NotIn predicate on the "display_amount" field.

func DisplayPriceUnitAmount added in v1.0.21

func DisplayPriceUnitAmount(v string) predicate.Price

DisplayPriceUnitAmount applies equality check predicate on the "display_price_unit_amount" field. It's identical to DisplayPriceUnitAmountEQ.

func DisplayPriceUnitAmountContains added in v1.0.21

func DisplayPriceUnitAmountContains(v string) predicate.Price

DisplayPriceUnitAmountContains applies the Contains predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountContainsFold added in v1.0.21

func DisplayPriceUnitAmountContainsFold(v string) predicate.Price

DisplayPriceUnitAmountContainsFold applies the ContainsFold predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountEQ added in v1.0.21

func DisplayPriceUnitAmountEQ(v string) predicate.Price

DisplayPriceUnitAmountEQ applies the EQ predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountEqualFold added in v1.0.21

func DisplayPriceUnitAmountEqualFold(v string) predicate.Price

DisplayPriceUnitAmountEqualFold applies the EqualFold predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountGT added in v1.0.21

func DisplayPriceUnitAmountGT(v string) predicate.Price

DisplayPriceUnitAmountGT applies the GT predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountGTE added in v1.0.21

func DisplayPriceUnitAmountGTE(v string) predicate.Price

DisplayPriceUnitAmountGTE applies the GTE predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountHasPrefix added in v1.0.21

func DisplayPriceUnitAmountHasPrefix(v string) predicate.Price

DisplayPriceUnitAmountHasPrefix applies the HasPrefix predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountHasSuffix added in v1.0.21

func DisplayPriceUnitAmountHasSuffix(v string) predicate.Price

DisplayPriceUnitAmountHasSuffix applies the HasSuffix predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountIn added in v1.0.21

func DisplayPriceUnitAmountIn(vs ...string) predicate.Price

DisplayPriceUnitAmountIn applies the In predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountIsNil added in v1.0.21

func DisplayPriceUnitAmountIsNil() predicate.Price

DisplayPriceUnitAmountIsNil applies the IsNil predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountLT added in v1.0.21

func DisplayPriceUnitAmountLT(v string) predicate.Price

DisplayPriceUnitAmountLT applies the LT predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountLTE added in v1.0.21

func DisplayPriceUnitAmountLTE(v string) predicate.Price

DisplayPriceUnitAmountLTE applies the LTE predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountNEQ added in v1.0.21

func DisplayPriceUnitAmountNEQ(v string) predicate.Price

DisplayPriceUnitAmountNEQ applies the NEQ predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountNotIn added in v1.0.21

func DisplayPriceUnitAmountNotIn(vs ...string) predicate.Price

DisplayPriceUnitAmountNotIn applies the NotIn predicate on the "display_price_unit_amount" field.

func DisplayPriceUnitAmountNotNil added in v1.0.21

func DisplayPriceUnitAmountNotNil() predicate.Price

DisplayPriceUnitAmountNotNil applies the NotNil predicate on the "display_price_unit_amount" field.

func EntityID added in v1.0.21

func EntityID(v string) predicate.Price

EntityID applies equality check predicate on the "entity_id" field. It's identical to EntityIDEQ.

func EntityIDContains added in v1.0.21

func EntityIDContains(v string) predicate.Price

EntityIDContains applies the Contains predicate on the "entity_id" field.

func EntityIDContainsFold added in v1.0.21

func EntityIDContainsFold(v string) predicate.Price

EntityIDContainsFold applies the ContainsFold predicate on the "entity_id" field.

func EntityIDEQ added in v1.0.21

func EntityIDEQ(v string) predicate.Price

EntityIDEQ applies the EQ predicate on the "entity_id" field.

func EntityIDEqualFold added in v1.0.21

func EntityIDEqualFold(v string) predicate.Price

EntityIDEqualFold applies the EqualFold predicate on the "entity_id" field.

func EntityIDGT added in v1.0.21

func EntityIDGT(v string) predicate.Price

EntityIDGT applies the GT predicate on the "entity_id" field.

func EntityIDGTE added in v1.0.21

func EntityIDGTE(v string) predicate.Price

EntityIDGTE applies the GTE predicate on the "entity_id" field.

func EntityIDHasPrefix added in v1.0.21

func EntityIDHasPrefix(v string) predicate.Price

EntityIDHasPrefix applies the HasPrefix predicate on the "entity_id" field.

func EntityIDHasSuffix added in v1.0.21

func EntityIDHasSuffix(v string) predicate.Price

EntityIDHasSuffix applies the HasSuffix predicate on the "entity_id" field.

func EntityIDIn added in v1.0.21

func EntityIDIn(vs ...string) predicate.Price

EntityIDIn applies the In predicate on the "entity_id" field.

func EntityIDIsNil added in v1.0.21

func EntityIDIsNil() predicate.Price

EntityIDIsNil applies the IsNil predicate on the "entity_id" field.

func EntityIDLT added in v1.0.21

func EntityIDLT(v string) predicate.Price

EntityIDLT applies the LT predicate on the "entity_id" field.

func EntityIDLTE added in v1.0.21

func EntityIDLTE(v string) predicate.Price

EntityIDLTE applies the LTE predicate on the "entity_id" field.

func EntityIDNEQ added in v1.0.21

func EntityIDNEQ(v string) predicate.Price

EntityIDNEQ applies the NEQ predicate on the "entity_id" field.

func EntityIDNotIn added in v1.0.21

func EntityIDNotIn(vs ...string) predicate.Price

EntityIDNotIn applies the NotIn predicate on the "entity_id" field.

func EntityIDNotNil added in v1.0.21

func EntityIDNotNil() predicate.Price

EntityIDNotNil applies the NotNil predicate on the "entity_id" field.

func EntityType added in v1.0.21

func EntityType(v string) predicate.Price

EntityType applies equality check predicate on the "entity_type" field. It's identical to EntityTypeEQ.

func EntityTypeContains added in v1.0.21

func EntityTypeContains(v string) predicate.Price

EntityTypeContains applies the Contains predicate on the "entity_type" field.

func EntityTypeContainsFold added in v1.0.21

func EntityTypeContainsFold(v string) predicate.Price

EntityTypeContainsFold applies the ContainsFold predicate on the "entity_type" field.

func EntityTypeEQ added in v1.0.21

func EntityTypeEQ(v string) predicate.Price

EntityTypeEQ applies the EQ predicate on the "entity_type" field.

func EntityTypeEqualFold added in v1.0.21

func EntityTypeEqualFold(v string) predicate.Price

EntityTypeEqualFold applies the EqualFold predicate on the "entity_type" field.

func EntityTypeGT added in v1.0.21

func EntityTypeGT(v string) predicate.Price

EntityTypeGT applies the GT predicate on the "entity_type" field.

func EntityTypeGTE added in v1.0.21

func EntityTypeGTE(v string) predicate.Price

EntityTypeGTE applies the GTE predicate on the "entity_type" field.

func EntityTypeHasPrefix added in v1.0.21

func EntityTypeHasPrefix(v string) predicate.Price

EntityTypeHasPrefix applies the HasPrefix predicate on the "entity_type" field.

func EntityTypeHasSuffix added in v1.0.21

func EntityTypeHasSuffix(v string) predicate.Price

EntityTypeHasSuffix applies the HasSuffix predicate on the "entity_type" field.

func EntityTypeIn added in v1.0.21

func EntityTypeIn(vs ...string) predicate.Price

EntityTypeIn applies the In predicate on the "entity_type" field.

func EntityTypeIsNil added in v1.0.21

func EntityTypeIsNil() predicate.Price

EntityTypeIsNil applies the IsNil predicate on the "entity_type" field.

func EntityTypeLT added in v1.0.21

func EntityTypeLT(v string) predicate.Price

EntityTypeLT applies the LT predicate on the "entity_type" field.

func EntityTypeLTE added in v1.0.21

func EntityTypeLTE(v string) predicate.Price

EntityTypeLTE applies the LTE predicate on the "entity_type" field.

func EntityTypeNEQ added in v1.0.21

func EntityTypeNEQ(v string) predicate.Price

EntityTypeNEQ applies the NEQ predicate on the "entity_type" field.

func EntityTypeNotIn added in v1.0.21

func EntityTypeNotIn(vs ...string) predicate.Price

EntityTypeNotIn applies the NotIn predicate on the "entity_type" field.

func EntityTypeNotNil added in v1.0.21

func EntityTypeNotNil() predicate.Price

EntityTypeNotNil applies the NotNil predicate on the "entity_type" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Price

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

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Price

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Price

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Price

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Price

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

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Price

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Price

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Price

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Price

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

func EnvironmentIDIn

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

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

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Price

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

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Price

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Price

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Price

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

func EnvironmentIDNotIn

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

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

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Price

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

func FilterValuesIsNil

func FilterValuesIsNil() predicate.Price

FilterValuesIsNil applies the IsNil predicate on the "filter_values" field.

func FilterValuesNotNil

func FilterValuesNotNil() predicate.Price

FilterValuesNotNil applies the NotNil predicate on the "filter_values" field.

func HasCostsheet added in v1.0.18

func HasCostsheet() predicate.Price

HasCostsheet applies the HasEdge predicate on the "costsheet" edge.

func HasCostsheetWith added in v1.0.18

func HasCostsheetWith(preds ...predicate.Costsheet) predicate.Price

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

func HasPriceUnitEdge added in v1.0.21

func HasPriceUnitEdge() predicate.Price

HasPriceUnitEdge applies the HasEdge predicate on the "price_unit_edge" edge.

func HasPriceUnitEdgeWith added in v1.0.21

func HasPriceUnitEdgeWith(preds ...predicate.PriceUnit) predicate.Price

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

func ID

func ID(id string) predicate.Price

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Price

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Price

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Price

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Price

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Price

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Price

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Price

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Price

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InvoiceCadence

func InvoiceCadence(v string) predicate.Price

InvoiceCadence applies equality check predicate on the "invoice_cadence" field. It's identical to InvoiceCadenceEQ.

func InvoiceCadenceContains

func InvoiceCadenceContains(v string) predicate.Price

InvoiceCadenceContains applies the Contains predicate on the "invoice_cadence" field.

func InvoiceCadenceContainsFold

func InvoiceCadenceContainsFold(v string) predicate.Price

InvoiceCadenceContainsFold applies the ContainsFold predicate on the "invoice_cadence" field.

func InvoiceCadenceEQ

func InvoiceCadenceEQ(v string) predicate.Price

InvoiceCadenceEQ applies the EQ predicate on the "invoice_cadence" field.

func InvoiceCadenceEqualFold

func InvoiceCadenceEqualFold(v string) predicate.Price

InvoiceCadenceEqualFold applies the EqualFold predicate on the "invoice_cadence" field.

func InvoiceCadenceGT

func InvoiceCadenceGT(v string) predicate.Price

InvoiceCadenceGT applies the GT predicate on the "invoice_cadence" field.

func InvoiceCadenceGTE

func InvoiceCadenceGTE(v string) predicate.Price

InvoiceCadenceGTE applies the GTE predicate on the "invoice_cadence" field.

func InvoiceCadenceHasPrefix

func InvoiceCadenceHasPrefix(v string) predicate.Price

InvoiceCadenceHasPrefix applies the HasPrefix predicate on the "invoice_cadence" field.

func InvoiceCadenceHasSuffix

func InvoiceCadenceHasSuffix(v string) predicate.Price

InvoiceCadenceHasSuffix applies the HasSuffix predicate on the "invoice_cadence" field.

func InvoiceCadenceIn

func InvoiceCadenceIn(vs ...string) predicate.Price

InvoiceCadenceIn applies the In predicate on the "invoice_cadence" field.

func InvoiceCadenceIsNil

func InvoiceCadenceIsNil() predicate.Price

InvoiceCadenceIsNil applies the IsNil predicate on the "invoice_cadence" field.

func InvoiceCadenceLT

func InvoiceCadenceLT(v string) predicate.Price

InvoiceCadenceLT applies the LT predicate on the "invoice_cadence" field.

func InvoiceCadenceLTE

func InvoiceCadenceLTE(v string) predicate.Price

InvoiceCadenceLTE applies the LTE predicate on the "invoice_cadence" field.

func InvoiceCadenceNEQ

func InvoiceCadenceNEQ(v string) predicate.Price

InvoiceCadenceNEQ applies the NEQ predicate on the "invoice_cadence" field.

func InvoiceCadenceNotIn

func InvoiceCadenceNotIn(vs ...string) predicate.Price

InvoiceCadenceNotIn applies the NotIn predicate on the "invoice_cadence" field.

func InvoiceCadenceNotNil

func InvoiceCadenceNotNil() predicate.Price

InvoiceCadenceNotNil applies the NotNil predicate on the "invoice_cadence" field.

func LookupKey

func LookupKey(v string) predicate.Price

LookupKey applies equality check predicate on the "lookup_key" field. It's identical to LookupKeyEQ.

func LookupKeyContains

func LookupKeyContains(v string) predicate.Price

LookupKeyContains applies the Contains predicate on the "lookup_key" field.

func LookupKeyContainsFold

func LookupKeyContainsFold(v string) predicate.Price

LookupKeyContainsFold applies the ContainsFold predicate on the "lookup_key" field.

func LookupKeyEQ

func LookupKeyEQ(v string) predicate.Price

LookupKeyEQ applies the EQ predicate on the "lookup_key" field.

func LookupKeyEqualFold

func LookupKeyEqualFold(v string) predicate.Price

LookupKeyEqualFold applies the EqualFold predicate on the "lookup_key" field.

func LookupKeyGT

func LookupKeyGT(v string) predicate.Price

LookupKeyGT applies the GT predicate on the "lookup_key" field.

func LookupKeyGTE

func LookupKeyGTE(v string) predicate.Price

LookupKeyGTE applies the GTE predicate on the "lookup_key" field.

func LookupKeyHasPrefix

func LookupKeyHasPrefix(v string) predicate.Price

LookupKeyHasPrefix applies the HasPrefix predicate on the "lookup_key" field.

func LookupKeyHasSuffix

func LookupKeyHasSuffix(v string) predicate.Price

LookupKeyHasSuffix applies the HasSuffix predicate on the "lookup_key" field.

func LookupKeyIn

func LookupKeyIn(vs ...string) predicate.Price

LookupKeyIn applies the In predicate on the "lookup_key" field.

func LookupKeyIsNil

func LookupKeyIsNil() predicate.Price

LookupKeyIsNil applies the IsNil predicate on the "lookup_key" field.

func LookupKeyLT

func LookupKeyLT(v string) predicate.Price

LookupKeyLT applies the LT predicate on the "lookup_key" field.

func LookupKeyLTE

func LookupKeyLTE(v string) predicate.Price

LookupKeyLTE applies the LTE predicate on the "lookup_key" field.

func LookupKeyNEQ

func LookupKeyNEQ(v string) predicate.Price

LookupKeyNEQ applies the NEQ predicate on the "lookup_key" field.

func LookupKeyNotIn

func LookupKeyNotIn(vs ...string) predicate.Price

LookupKeyNotIn applies the NotIn predicate on the "lookup_key" field.

func LookupKeyNotNil

func LookupKeyNotNil() predicate.Price

LookupKeyNotNil applies the NotNil predicate on the "lookup_key" field.

func MetadataIsNil

func MetadataIsNil() predicate.Price

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

func MetadataNotNil

func MetadataNotNil() predicate.Price

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

func MeterID

func MeterID(v string) predicate.Price

MeterID applies equality check predicate on the "meter_id" field. It's identical to MeterIDEQ.

func MeterIDContains

func MeterIDContains(v string) predicate.Price

MeterIDContains applies the Contains predicate on the "meter_id" field.

func MeterIDContainsFold

func MeterIDContainsFold(v string) predicate.Price

MeterIDContainsFold applies the ContainsFold predicate on the "meter_id" field.

func MeterIDEQ

func MeterIDEQ(v string) predicate.Price

MeterIDEQ applies the EQ predicate on the "meter_id" field.

func MeterIDEqualFold

func MeterIDEqualFold(v string) predicate.Price

MeterIDEqualFold applies the EqualFold predicate on the "meter_id" field.

func MeterIDGT

func MeterIDGT(v string) predicate.Price

MeterIDGT applies the GT predicate on the "meter_id" field.

func MeterIDGTE

func MeterIDGTE(v string) predicate.Price

MeterIDGTE applies the GTE predicate on the "meter_id" field.

func MeterIDHasPrefix

func MeterIDHasPrefix(v string) predicate.Price

MeterIDHasPrefix applies the HasPrefix predicate on the "meter_id" field.

func MeterIDHasSuffix

func MeterIDHasSuffix(v string) predicate.Price

MeterIDHasSuffix applies the HasSuffix predicate on the "meter_id" field.

func MeterIDIn

func MeterIDIn(vs ...string) predicate.Price

MeterIDIn applies the In predicate on the "meter_id" field.

func MeterIDIsNil

func MeterIDIsNil() predicate.Price

MeterIDIsNil applies the IsNil predicate on the "meter_id" field.

func MeterIDLT

func MeterIDLT(v string) predicate.Price

MeterIDLT applies the LT predicate on the "meter_id" field.

func MeterIDLTE

func MeterIDLTE(v string) predicate.Price

MeterIDLTE applies the LTE predicate on the "meter_id" field.

func MeterIDNEQ

func MeterIDNEQ(v string) predicate.Price

MeterIDNEQ applies the NEQ predicate on the "meter_id" field.

func MeterIDNotIn

func MeterIDNotIn(vs ...string) predicate.Price

MeterIDNotIn applies the NotIn predicate on the "meter_id" field.

func MeterIDNotNil

func MeterIDNotNil() predicate.Price

MeterIDNotNil applies the NotNil predicate on the "meter_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Price) predicate.Price

Or groups predicates with the OR operator between them.

func ParentPriceID added in v1.0.21

func ParentPriceID(v string) predicate.Price

ParentPriceID applies equality check predicate on the "parent_price_id" field. It's identical to ParentPriceIDEQ.

func ParentPriceIDContains added in v1.0.21

func ParentPriceIDContains(v string) predicate.Price

ParentPriceIDContains applies the Contains predicate on the "parent_price_id" field.

func ParentPriceIDContainsFold added in v1.0.21

func ParentPriceIDContainsFold(v string) predicate.Price

ParentPriceIDContainsFold applies the ContainsFold predicate on the "parent_price_id" field.

func ParentPriceIDEQ added in v1.0.21

func ParentPriceIDEQ(v string) predicate.Price

ParentPriceIDEQ applies the EQ predicate on the "parent_price_id" field.

func ParentPriceIDEqualFold added in v1.0.21

func ParentPriceIDEqualFold(v string) predicate.Price

ParentPriceIDEqualFold applies the EqualFold predicate on the "parent_price_id" field.

func ParentPriceIDGT added in v1.0.21

func ParentPriceIDGT(v string) predicate.Price

ParentPriceIDGT applies the GT predicate on the "parent_price_id" field.

func ParentPriceIDGTE added in v1.0.21

func ParentPriceIDGTE(v string) predicate.Price

ParentPriceIDGTE applies the GTE predicate on the "parent_price_id" field.

func ParentPriceIDHasPrefix added in v1.0.21

func ParentPriceIDHasPrefix(v string) predicate.Price

ParentPriceIDHasPrefix applies the HasPrefix predicate on the "parent_price_id" field.

func ParentPriceIDHasSuffix added in v1.0.21

func ParentPriceIDHasSuffix(v string) predicate.Price

ParentPriceIDHasSuffix applies the HasSuffix predicate on the "parent_price_id" field.

func ParentPriceIDIn added in v1.0.21

func ParentPriceIDIn(vs ...string) predicate.Price

ParentPriceIDIn applies the In predicate on the "parent_price_id" field.

func ParentPriceIDIsNil added in v1.0.21

func ParentPriceIDIsNil() predicate.Price

ParentPriceIDIsNil applies the IsNil predicate on the "parent_price_id" field.

func ParentPriceIDLT added in v1.0.21

func ParentPriceIDLT(v string) predicate.Price

ParentPriceIDLT applies the LT predicate on the "parent_price_id" field.

func ParentPriceIDLTE added in v1.0.21

func ParentPriceIDLTE(v string) predicate.Price

ParentPriceIDLTE applies the LTE predicate on the "parent_price_id" field.

func ParentPriceIDNEQ added in v1.0.21

func ParentPriceIDNEQ(v string) predicate.Price

ParentPriceIDNEQ applies the NEQ predicate on the "parent_price_id" field.

func ParentPriceIDNotIn added in v1.0.21

func ParentPriceIDNotIn(vs ...string) predicate.Price

ParentPriceIDNotIn applies the NotIn predicate on the "parent_price_id" field.

func ParentPriceIDNotNil added in v1.0.21

func ParentPriceIDNotNil() predicate.Price

ParentPriceIDNotNil applies the NotNil predicate on the "parent_price_id" field.

func PriceUnit added in v1.0.21

func PriceUnit(v string) predicate.Price

PriceUnit applies equality check predicate on the "price_unit" field. It's identical to PriceUnitEQ.

func PriceUnitAmount added in v1.0.21

func PriceUnitAmount(v float64) predicate.Price

PriceUnitAmount applies equality check predicate on the "price_unit_amount" field. It's identical to PriceUnitAmountEQ.

func PriceUnitAmountEQ added in v1.0.21

func PriceUnitAmountEQ(v float64) predicate.Price

PriceUnitAmountEQ applies the EQ predicate on the "price_unit_amount" field.

func PriceUnitAmountGT added in v1.0.21

func PriceUnitAmountGT(v float64) predicate.Price

PriceUnitAmountGT applies the GT predicate on the "price_unit_amount" field.

func PriceUnitAmountGTE added in v1.0.21

func PriceUnitAmountGTE(v float64) predicate.Price

PriceUnitAmountGTE applies the GTE predicate on the "price_unit_amount" field.

func PriceUnitAmountIn added in v1.0.21

func PriceUnitAmountIn(vs ...float64) predicate.Price

PriceUnitAmountIn applies the In predicate on the "price_unit_amount" field.

func PriceUnitAmountIsNil added in v1.0.21

func PriceUnitAmountIsNil() predicate.Price

PriceUnitAmountIsNil applies the IsNil predicate on the "price_unit_amount" field.

func PriceUnitAmountLT added in v1.0.21

func PriceUnitAmountLT(v float64) predicate.Price

PriceUnitAmountLT applies the LT predicate on the "price_unit_amount" field.

func PriceUnitAmountLTE added in v1.0.21

func PriceUnitAmountLTE(v float64) predicate.Price

PriceUnitAmountLTE applies the LTE predicate on the "price_unit_amount" field.

func PriceUnitAmountNEQ added in v1.0.21

func PriceUnitAmountNEQ(v float64) predicate.Price

PriceUnitAmountNEQ applies the NEQ predicate on the "price_unit_amount" field.

func PriceUnitAmountNotIn added in v1.0.21

func PriceUnitAmountNotIn(vs ...float64) predicate.Price

PriceUnitAmountNotIn applies the NotIn predicate on the "price_unit_amount" field.

func PriceUnitAmountNotNil added in v1.0.21

func PriceUnitAmountNotNil() predicate.Price

PriceUnitAmountNotNil applies the NotNil predicate on the "price_unit_amount" field.

func PriceUnitContains added in v1.0.21

func PriceUnitContains(v string) predicate.Price

PriceUnitContains applies the Contains predicate on the "price_unit" field.

func PriceUnitContainsFold added in v1.0.21

func PriceUnitContainsFold(v string) predicate.Price

PriceUnitContainsFold applies the ContainsFold predicate on the "price_unit" field.

func PriceUnitEQ added in v1.0.21

func PriceUnitEQ(v string) predicate.Price

PriceUnitEQ applies the EQ predicate on the "price_unit" field.

func PriceUnitEqualFold added in v1.0.21

func PriceUnitEqualFold(v string) predicate.Price

PriceUnitEqualFold applies the EqualFold predicate on the "price_unit" field.

func PriceUnitGT added in v1.0.21

func PriceUnitGT(v string) predicate.Price

PriceUnitGT applies the GT predicate on the "price_unit" field.

func PriceUnitGTE added in v1.0.21

func PriceUnitGTE(v string) predicate.Price

PriceUnitGTE applies the GTE predicate on the "price_unit" field.

func PriceUnitHasPrefix added in v1.0.21

func PriceUnitHasPrefix(v string) predicate.Price

PriceUnitHasPrefix applies the HasPrefix predicate on the "price_unit" field.

func PriceUnitHasSuffix added in v1.0.21

func PriceUnitHasSuffix(v string) predicate.Price

PriceUnitHasSuffix applies the HasSuffix predicate on the "price_unit" field.

func PriceUnitID added in v1.0.21

func PriceUnitID(v string) predicate.Price

PriceUnitID applies equality check predicate on the "price_unit_id" field. It's identical to PriceUnitIDEQ.

func PriceUnitIDContains added in v1.0.21

func PriceUnitIDContains(v string) predicate.Price

PriceUnitIDContains applies the Contains predicate on the "price_unit_id" field.

func PriceUnitIDContainsFold added in v1.0.21

func PriceUnitIDContainsFold(v string) predicate.Price

PriceUnitIDContainsFold applies the ContainsFold predicate on the "price_unit_id" field.

func PriceUnitIDEQ added in v1.0.21

func PriceUnitIDEQ(v string) predicate.Price

PriceUnitIDEQ applies the EQ predicate on the "price_unit_id" field.

func PriceUnitIDEqualFold added in v1.0.21

func PriceUnitIDEqualFold(v string) predicate.Price

PriceUnitIDEqualFold applies the EqualFold predicate on the "price_unit_id" field.

func PriceUnitIDGT added in v1.0.21

func PriceUnitIDGT(v string) predicate.Price

PriceUnitIDGT applies the GT predicate on the "price_unit_id" field.

func PriceUnitIDGTE added in v1.0.21

func PriceUnitIDGTE(v string) predicate.Price

PriceUnitIDGTE applies the GTE predicate on the "price_unit_id" field.

func PriceUnitIDHasPrefix added in v1.0.21

func PriceUnitIDHasPrefix(v string) predicate.Price

PriceUnitIDHasPrefix applies the HasPrefix predicate on the "price_unit_id" field.

func PriceUnitIDHasSuffix added in v1.0.21

func PriceUnitIDHasSuffix(v string) predicate.Price

PriceUnitIDHasSuffix applies the HasSuffix predicate on the "price_unit_id" field.

func PriceUnitIDIn added in v1.0.21

func PriceUnitIDIn(vs ...string) predicate.Price

PriceUnitIDIn applies the In predicate on the "price_unit_id" field.

func PriceUnitIDIsNil added in v1.0.21

func PriceUnitIDIsNil() predicate.Price

PriceUnitIDIsNil applies the IsNil predicate on the "price_unit_id" field.

func PriceUnitIDLT added in v1.0.21

func PriceUnitIDLT(v string) predicate.Price

PriceUnitIDLT applies the LT predicate on the "price_unit_id" field.

func PriceUnitIDLTE added in v1.0.21

func PriceUnitIDLTE(v string) predicate.Price

PriceUnitIDLTE applies the LTE predicate on the "price_unit_id" field.

func PriceUnitIDNEQ added in v1.0.21

func PriceUnitIDNEQ(v string) predicate.Price

PriceUnitIDNEQ applies the NEQ predicate on the "price_unit_id" field.

func PriceUnitIDNotIn added in v1.0.21

func PriceUnitIDNotIn(vs ...string) predicate.Price

PriceUnitIDNotIn applies the NotIn predicate on the "price_unit_id" field.

func PriceUnitIDNotNil added in v1.0.21

func PriceUnitIDNotNil() predicate.Price

PriceUnitIDNotNil applies the NotNil predicate on the "price_unit_id" field.

func PriceUnitIn added in v1.0.21

func PriceUnitIn(vs ...string) predicate.Price

PriceUnitIn applies the In predicate on the "price_unit" field.

func PriceUnitIsNil added in v1.0.21

func PriceUnitIsNil() predicate.Price

PriceUnitIsNil applies the IsNil predicate on the "price_unit" field.

func PriceUnitLT added in v1.0.21

func PriceUnitLT(v string) predicate.Price

PriceUnitLT applies the LT predicate on the "price_unit" field.

func PriceUnitLTE added in v1.0.21

func PriceUnitLTE(v string) predicate.Price

PriceUnitLTE applies the LTE predicate on the "price_unit" field.

func PriceUnitNEQ added in v1.0.21

func PriceUnitNEQ(v string) predicate.Price

PriceUnitNEQ applies the NEQ predicate on the "price_unit" field.

func PriceUnitNotIn added in v1.0.21

func PriceUnitNotIn(vs ...string) predicate.Price

PriceUnitNotIn applies the NotIn predicate on the "price_unit" field.

func PriceUnitNotNil added in v1.0.21

func PriceUnitNotNil() predicate.Price

PriceUnitNotNil applies the NotNil predicate on the "price_unit" field.

func PriceUnitTiersIsNil added in v1.0.21

func PriceUnitTiersIsNil() predicate.Price

PriceUnitTiersIsNil applies the IsNil predicate on the "price_unit_tiers" field.

func PriceUnitTiersNotNil added in v1.0.21

func PriceUnitTiersNotNil() predicate.Price

PriceUnitTiersNotNil applies the NotNil predicate on the "price_unit_tiers" field.

func PriceUnitType added in v1.0.21

func PriceUnitType(v string) predicate.Price

PriceUnitType applies equality check predicate on the "price_unit_type" field. It's identical to PriceUnitTypeEQ.

func PriceUnitTypeContains added in v1.0.21

func PriceUnitTypeContains(v string) predicate.Price

PriceUnitTypeContains applies the Contains predicate on the "price_unit_type" field.

func PriceUnitTypeContainsFold added in v1.0.21

func PriceUnitTypeContainsFold(v string) predicate.Price

PriceUnitTypeContainsFold applies the ContainsFold predicate on the "price_unit_type" field.

func PriceUnitTypeEQ added in v1.0.21

func PriceUnitTypeEQ(v string) predicate.Price

PriceUnitTypeEQ applies the EQ predicate on the "price_unit_type" field.

func PriceUnitTypeEqualFold added in v1.0.21

func PriceUnitTypeEqualFold(v string) predicate.Price

PriceUnitTypeEqualFold applies the EqualFold predicate on the "price_unit_type" field.

func PriceUnitTypeGT added in v1.0.21

func PriceUnitTypeGT(v string) predicate.Price

PriceUnitTypeGT applies the GT predicate on the "price_unit_type" field.

func PriceUnitTypeGTE added in v1.0.21

func PriceUnitTypeGTE(v string) predicate.Price

PriceUnitTypeGTE applies the GTE predicate on the "price_unit_type" field.

func PriceUnitTypeHasPrefix added in v1.0.21

func PriceUnitTypeHasPrefix(v string) predicate.Price

PriceUnitTypeHasPrefix applies the HasPrefix predicate on the "price_unit_type" field.

func PriceUnitTypeHasSuffix added in v1.0.21

func PriceUnitTypeHasSuffix(v string) predicate.Price

PriceUnitTypeHasSuffix applies the HasSuffix predicate on the "price_unit_type" field.

func PriceUnitTypeIn added in v1.0.21

func PriceUnitTypeIn(vs ...string) predicate.Price

PriceUnitTypeIn applies the In predicate on the "price_unit_type" field.

func PriceUnitTypeLT added in v1.0.21

func PriceUnitTypeLT(v string) predicate.Price

PriceUnitTypeLT applies the LT predicate on the "price_unit_type" field.

func PriceUnitTypeLTE added in v1.0.21

func PriceUnitTypeLTE(v string) predicate.Price

PriceUnitTypeLTE applies the LTE predicate on the "price_unit_type" field.

func PriceUnitTypeNEQ added in v1.0.21

func PriceUnitTypeNEQ(v string) predicate.Price

PriceUnitTypeNEQ applies the NEQ predicate on the "price_unit_type" field.

func PriceUnitTypeNotIn added in v1.0.21

func PriceUnitTypeNotIn(vs ...string) predicate.Price

PriceUnitTypeNotIn applies the NotIn predicate on the "price_unit_type" field.

func Status

func Status(v string) predicate.Price

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

func StatusContains

func StatusContains(v string) predicate.Price

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.Price

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

func StatusEQ

func StatusEQ(v string) predicate.Price

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.Price

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

func StatusGT

func StatusGT(v string) predicate.Price

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

func StatusGTE

func StatusGTE(v string) predicate.Price

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Price

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Price

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

func StatusIn

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

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

func StatusLT

func StatusLT(v string) predicate.Price

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

func StatusLTE

func StatusLTE(v string) predicate.Price

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

func StatusNEQ

func StatusNEQ(v string) predicate.Price

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

func StatusNotIn

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

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

func TenantID

func TenantID(v string) predicate.Price

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

func TenantIDContains

func TenantIDContains(v string) predicate.Price

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

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.Price

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

func TenantIDEQ

func TenantIDEQ(v string) predicate.Price

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

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.Price

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

func TenantIDGT

func TenantIDGT(v string) predicate.Price

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

func TenantIDGTE

func TenantIDGTE(v string) predicate.Price

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

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.Price

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

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.Price

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

func TenantIDIn

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

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

func TenantIDLT

func TenantIDLT(v string) predicate.Price

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

func TenantIDLTE

func TenantIDLTE(v string) predicate.Price

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

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.Price

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

func TenantIDNotIn

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

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

func TierMode

func TierMode(v string) predicate.Price

TierMode applies equality check predicate on the "tier_mode" field. It's identical to TierModeEQ.

func TierModeContains

func TierModeContains(v string) predicate.Price

TierModeContains applies the Contains predicate on the "tier_mode" field.

func TierModeContainsFold

func TierModeContainsFold(v string) predicate.Price

TierModeContainsFold applies the ContainsFold predicate on the "tier_mode" field.

func TierModeEQ

func TierModeEQ(v string) predicate.Price

TierModeEQ applies the EQ predicate on the "tier_mode" field.

func TierModeEqualFold

func TierModeEqualFold(v string) predicate.Price

TierModeEqualFold applies the EqualFold predicate on the "tier_mode" field.

func TierModeGT

func TierModeGT(v string) predicate.Price

TierModeGT applies the GT predicate on the "tier_mode" field.

func TierModeGTE

func TierModeGTE(v string) predicate.Price

TierModeGTE applies the GTE predicate on the "tier_mode" field.

func TierModeHasPrefix

func TierModeHasPrefix(v string) predicate.Price

TierModeHasPrefix applies the HasPrefix predicate on the "tier_mode" field.

func TierModeHasSuffix

func TierModeHasSuffix(v string) predicate.Price

TierModeHasSuffix applies the HasSuffix predicate on the "tier_mode" field.

func TierModeIn

func TierModeIn(vs ...string) predicate.Price

TierModeIn applies the In predicate on the "tier_mode" field.

func TierModeIsNil

func TierModeIsNil() predicate.Price

TierModeIsNil applies the IsNil predicate on the "tier_mode" field.

func TierModeLT

func TierModeLT(v string) predicate.Price

TierModeLT applies the LT predicate on the "tier_mode" field.

func TierModeLTE

func TierModeLTE(v string) predicate.Price

TierModeLTE applies the LTE predicate on the "tier_mode" field.

func TierModeNEQ

func TierModeNEQ(v string) predicate.Price

TierModeNEQ applies the NEQ predicate on the "tier_mode" field.

func TierModeNotIn

func TierModeNotIn(vs ...string) predicate.Price

TierModeNotIn applies the NotIn predicate on the "tier_mode" field.

func TierModeNotNil

func TierModeNotNil() predicate.Price

TierModeNotNil applies the NotNil predicate on the "tier_mode" field.

func TiersIsNil

func TiersIsNil() predicate.Price

TiersIsNil applies the IsNil predicate on the "tiers" field.

func TiersNotNil

func TiersNotNil() predicate.Price

TiersNotNil applies the NotNil predicate on the "tiers" field.

func TransformQuantityIsNil

func TransformQuantityIsNil() predicate.Price

TransformQuantityIsNil applies the IsNil predicate on the "transform_quantity" field.

func TransformQuantityNotNil

func TransformQuantityNotNil() predicate.Price

TransformQuantityNotNil applies the NotNil predicate on the "transform_quantity" field.

func TrialPeriod

func TrialPeriod(v int) predicate.Price

TrialPeriod applies equality check predicate on the "trial_period" field. It's identical to TrialPeriodEQ.

func TrialPeriodEQ

func TrialPeriodEQ(v int) predicate.Price

TrialPeriodEQ applies the EQ predicate on the "trial_period" field.

func TrialPeriodGT

func TrialPeriodGT(v int) predicate.Price

TrialPeriodGT applies the GT predicate on the "trial_period" field.

func TrialPeriodGTE

func TrialPeriodGTE(v int) predicate.Price

TrialPeriodGTE applies the GTE predicate on the "trial_period" field.

func TrialPeriodIn

func TrialPeriodIn(vs ...int) predicate.Price

TrialPeriodIn applies the In predicate on the "trial_period" field.

func TrialPeriodLT

func TrialPeriodLT(v int) predicate.Price

TrialPeriodLT applies the LT predicate on the "trial_period" field.

func TrialPeriodLTE

func TrialPeriodLTE(v int) predicate.Price

TrialPeriodLTE applies the LTE predicate on the "trial_period" field.

func TrialPeriodNEQ

func TrialPeriodNEQ(v int) predicate.Price

TrialPeriodNEQ applies the NEQ predicate on the "trial_period" field.

func TrialPeriodNotIn

func TrialPeriodNotIn(vs ...int) predicate.Price

TrialPeriodNotIn applies the NotIn predicate on the "trial_period" field.

func Type

func Type(v string) predicate.Price

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Price

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Price

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Price

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.Price

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Price

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Price

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Price

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Price

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Price

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v string) predicate.Price

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Price

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Price

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Price

TypeNotIn applies the NotIn predicate on the "type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Price

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Price

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Price

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Price

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Price

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Price

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Price

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v string) predicate.Price

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Price

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Price

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Price

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Price

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Price

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Price

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Price

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Price

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Price

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Price

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Price

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Price

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Price

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

func ByAmount

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

ByAmount orders the results by the amount field.

func ByBillingCadence

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

ByBillingCadence orders the results by the billing_cadence field.

func ByBillingModel

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

ByBillingModel orders the results by the billing_model field.

func ByBillingPeriod

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

ByBillingPeriod orders the results by the billing_period field.

func ByBillingPeriodCount

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

ByBillingPeriodCount orders the results by the billing_period_count field.

func ByConversionRate added in v1.0.21

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

ByConversionRate orders the results by the conversion_rate field.

func ByCostsheet added in v1.0.18

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

ByCostsheet orders the results by costsheet terms.

func ByCostsheetCount added in v1.0.18

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

ByCostsheetCount orders the results by costsheet count.

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 ByCurrency

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

ByCurrency orders the results by the currency field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByDisplayAmount

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

ByDisplayAmount orders the results by the display_amount field.

func ByDisplayPriceUnitAmount added in v1.0.21

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

ByDisplayPriceUnitAmount orders the results by the display_price_unit_amount field.

func ByEntityID added in v1.0.21

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

ByEntityID orders the results by the entity_id field.

func ByEntityType added in v1.0.21

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

ByEntityType orders the results by the entity_type 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 ByInvoiceCadence

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

ByInvoiceCadence orders the results by the invoice_cadence field.

func ByLookupKey

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

ByLookupKey orders the results by the lookup_key field.

func ByMeterID

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

ByMeterID orders the results by the meter_id field.

func ByParentPriceID added in v1.0.21

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

ByParentPriceID orders the results by the parent_price_id field.

func ByPriceUnit added in v1.0.21

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

ByPriceUnit orders the results by the price_unit field.

func ByPriceUnitAmount added in v1.0.21

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

ByPriceUnitAmount orders the results by the price_unit_amount field.

func ByPriceUnitEdgeField added in v1.0.21

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

ByPriceUnitEdgeField orders the results by price_unit_edge field.

func ByPriceUnitID added in v1.0.21

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

ByPriceUnitID orders the results by the price_unit_id field.

func ByPriceUnitType added in v1.0.21

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

ByPriceUnitType orders the results by the price_unit_type 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 ByTierMode

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

ByTierMode orders the results by the tier_mode field.

func ByTrialPeriod

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

ByTrialPeriod orders the results by the trial_period field.

func ByType

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

ByType orders the results by the type 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