dbfeature

package
v1.0.0-beta.228 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the feature type in the database.
	Label = "feature"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldMeterSlug holds the string denoting the meter_slug field in the database.
	FieldMeterSlug = "meter_slug"
	// FieldMeterID holds the string denoting the meter_id field in the database.
	FieldMeterID = "meter_id"
	// FieldMeterGroupByFilters holds the string denoting the meter_group_by_filters field in the database.
	FieldMeterGroupByFilters = "meter_group_by_filters"
	// FieldAdvancedMeterGroupByFilters holds the string denoting the advanced_meter_group_by_filters field in the database.
	FieldAdvancedMeterGroupByFilters = "advanced_meter_group_by_filters"
	// FieldUnitCostType holds the string denoting the unit_cost_type field in the database.
	FieldUnitCostType = "unit_cost_type"
	// FieldUnitCostManualAmount holds the string denoting the unit_cost_manual_amount field in the database.
	FieldUnitCostManualAmount = "unit_cost_manual_amount"
	// FieldUnitCostLlmProviderProperty holds the string denoting the unit_cost_llm_provider_property field in the database.
	FieldUnitCostLlmProviderProperty = "unit_cost_llm_provider_property"
	// FieldUnitCostLlmProvider holds the string denoting the unit_cost_llm_provider field in the database.
	FieldUnitCostLlmProvider = "unit_cost_llm_provider"
	// FieldUnitCostLlmModelProperty holds the string denoting the unit_cost_llm_model_property field in the database.
	FieldUnitCostLlmModelProperty = "unit_cost_llm_model_property"
	// FieldUnitCostLlmModel holds the string denoting the unit_cost_llm_model field in the database.
	FieldUnitCostLlmModel = "unit_cost_llm_model"
	// FieldUnitCostLlmTokenTypeProperty holds the string denoting the unit_cost_llm_token_type_property field in the database.
	FieldUnitCostLlmTokenTypeProperty = "unit_cost_llm_token_type_property"
	// FieldUnitCostLlmTokenType holds the string denoting the unit_cost_llm_token_type field in the database.
	FieldUnitCostLlmTokenType = "unit_cost_llm_token_type"
	// FieldArchivedAt holds the string denoting the archived_at field in the database.
	FieldArchivedAt = "archived_at"
	// EdgeEntitlement holds the string denoting the entitlement edge name in mutations.
	EdgeEntitlement = "entitlement"
	// EdgeRatecard holds the string denoting the ratecard edge name in mutations.
	EdgeRatecard = "ratecard"
	// EdgeAddonRatecard holds the string denoting the addon_ratecard edge name in mutations.
	EdgeAddonRatecard = "addon_ratecard"
	// EdgeUsageBasedCharges holds the string denoting the usage_based_charges edge name in mutations.
	EdgeUsageBasedCharges = "usage_based_charges"
	// EdgeUsageBasedRuns holds the string denoting the usage_based_runs edge name in mutations.
	EdgeUsageBasedRuns = "usage_based_runs"
	// EdgeFlatFeeCharges holds the string denoting the flat_fee_charges edge name in mutations.
	EdgeFlatFeeCharges = "flat_fee_charges"
	// EdgeMeter holds the string denoting the meter edge name in mutations.
	EdgeMeter = "meter"
	// Table holds the table name of the feature in the database.
	Table = "features"
	// EntitlementTable is the table that holds the entitlement relation/edge.
	EntitlementTable = "entitlements"
	// EntitlementInverseTable is the table name for the Entitlement entity.
	// It exists in this package in order to avoid circular dependency with the "entitlement" package.
	EntitlementInverseTable = "entitlements"
	// EntitlementColumn is the table column denoting the entitlement relation/edge.
	EntitlementColumn = "feature_id"
	// RatecardTable is the table that holds the ratecard relation/edge.
	RatecardTable = "plan_rate_cards"
	// RatecardInverseTable is the table name for the PlanRateCard entity.
	// It exists in this package in order to avoid circular dependency with the "planratecard" package.
	RatecardInverseTable = "plan_rate_cards"
	// RatecardColumn is the table column denoting the ratecard relation/edge.
	RatecardColumn = "feature_id"
	// AddonRatecardTable is the table that holds the addon_ratecard relation/edge.
	AddonRatecardTable = "addon_rate_cards"
	// AddonRatecardInverseTable is the table name for the AddonRateCard entity.
	// It exists in this package in order to avoid circular dependency with the "addonratecard" package.
	AddonRatecardInverseTable = "addon_rate_cards"
	// AddonRatecardColumn is the table column denoting the addon_ratecard relation/edge.
	AddonRatecardColumn = "feature_id"
	// UsageBasedChargesTable is the table that holds the usage_based_charges relation/edge.
	UsageBasedChargesTable = "charge_usage_based"
	// UsageBasedChargesInverseTable is the table name for the ChargeUsageBased entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebased" package.
	UsageBasedChargesInverseTable = "charge_usage_based"
	// UsageBasedChargesColumn is the table column denoting the usage_based_charges relation/edge.
	UsageBasedChargesColumn = "feature_id"
	// UsageBasedRunsTable is the table that holds the usage_based_runs relation/edge.
	UsageBasedRunsTable = "charge_usage_based_runs"
	// UsageBasedRunsInverseTable is the table name for the ChargeUsageBasedRuns entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedruns" package.
	UsageBasedRunsInverseTable = "charge_usage_based_runs"
	// UsageBasedRunsColumn is the table column denoting the usage_based_runs relation/edge.
	UsageBasedRunsColumn = "feature_id"
	// FlatFeeChargesTable is the table that holds the flat_fee_charges relation/edge.
	FlatFeeChargesTable = "charge_flat_fees"
	// FlatFeeChargesInverseTable is the table name for the ChargeFlatFee entity.
	// It exists in this package in order to avoid circular dependency with the "chargeflatfee" package.
	FlatFeeChargesInverseTable = "charge_flat_fees"
	// FlatFeeChargesColumn is the table column denoting the flat_fee_charges relation/edge.
	FlatFeeChargesColumn = "feature_id"
	// MeterTable is the table that holds the meter relation/edge.
	MeterTable = "features"
	// MeterInverseTable is the table name for the Meter entity.
	// It exists in this package in order to avoid circular dependency with the "dbmeter" package.
	MeterInverseTable = "meters"
	// MeterColumn is the table column denoting the meter relation/edge.
	MeterColumn = "meter_id"
)

Variables

View Source
var (
	// 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
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DescriptionValidator is a validator for the "description" field. It is called by the builders before save.
	DescriptionValidator func(string) error
	// KeyValidator is a validator for the "key" field. It is called by the builders before save.
	KeyValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for feature fields.

Functions

func AdvancedMeterGroupByFiltersIsNil

func AdvancedMeterGroupByFiltersIsNil() predicate.Feature

AdvancedMeterGroupByFiltersIsNil applies the IsNil predicate on the "advanced_meter_group_by_filters" field.

func AdvancedMeterGroupByFiltersNotNil

func AdvancedMeterGroupByFiltersNotNil() predicate.Feature

AdvancedMeterGroupByFiltersNotNil applies the NotNil predicate on the "advanced_meter_group_by_filters" field.

func And

func And(predicates ...predicate.Feature) predicate.Feature

And groups predicates with the AND operator between them.

func ArchivedAt

func ArchivedAt(v time.Time) predicate.Feature

ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.

func ArchivedAtEQ

func ArchivedAtEQ(v time.Time) predicate.Feature

ArchivedAtEQ applies the EQ predicate on the "archived_at" field.

func ArchivedAtGT

func ArchivedAtGT(v time.Time) predicate.Feature

ArchivedAtGT applies the GT predicate on the "archived_at" field.

func ArchivedAtGTE

func ArchivedAtGTE(v time.Time) predicate.Feature

ArchivedAtGTE applies the GTE predicate on the "archived_at" field.

func ArchivedAtIn

func ArchivedAtIn(vs ...time.Time) predicate.Feature

ArchivedAtIn applies the In predicate on the "archived_at" field.

func ArchivedAtIsNil

func ArchivedAtIsNil() predicate.Feature

ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.

func ArchivedAtLT

func ArchivedAtLT(v time.Time) predicate.Feature

ArchivedAtLT applies the LT predicate on the "archived_at" field.

func ArchivedAtLTE

func ArchivedAtLTE(v time.Time) predicate.Feature

ArchivedAtLTE applies the LTE predicate on the "archived_at" field.

func ArchivedAtNEQ

func ArchivedAtNEQ(v time.Time) predicate.Feature

ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.

func ArchivedAtNotIn

func ArchivedAtNotIn(vs ...time.Time) predicate.Feature

ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.

func ArchivedAtNotNil

func ArchivedAtNotNil() predicate.Feature

ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Feature

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Feature

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Feature

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Feature

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Feature

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Feature

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Feature

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Feature

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Feature

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Feature

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Feature

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Feature

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Feature

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Feature

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Feature

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Feature

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

func Description

func Description(v string) predicate.Feature

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

func DescriptionContains

func DescriptionContains(v string) predicate.Feature

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Feature

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Feature

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Feature

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

func DescriptionGT

func DescriptionGT(v string) predicate.Feature

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Feature

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Feature

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Feature

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Feature

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

func DescriptionLT

func DescriptionLT(v string) predicate.Feature

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Feature

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Feature

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Feature

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

func HasAddonRatecard

func HasAddonRatecard() predicate.Feature

HasAddonRatecard applies the HasEdge predicate on the "addon_ratecard" edge.

func HasAddonRatecardWith

func HasAddonRatecardWith(preds ...predicate.AddonRateCard) predicate.Feature

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

func HasEntitlement

func HasEntitlement() predicate.Feature

HasEntitlement applies the HasEdge predicate on the "entitlement" edge.

func HasEntitlementWith

func HasEntitlementWith(preds ...predicate.Entitlement) predicate.Feature

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

func HasFlatFeeCharges

func HasFlatFeeCharges() predicate.Feature

HasFlatFeeCharges applies the HasEdge predicate on the "flat_fee_charges" edge.

func HasFlatFeeChargesWith

func HasFlatFeeChargesWith(preds ...predicate.ChargeFlatFee) predicate.Feature

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

func HasMeter

func HasMeter() predicate.Feature

HasMeter applies the HasEdge predicate on the "meter" edge.

func HasMeterWith

func HasMeterWith(preds ...predicate.Meter) predicate.Feature

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

func HasRatecard

func HasRatecard() predicate.Feature

HasRatecard applies the HasEdge predicate on the "ratecard" edge.

func HasRatecardWith

func HasRatecardWith(preds ...predicate.PlanRateCard) predicate.Feature

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

func HasUsageBasedCharges

func HasUsageBasedCharges() predicate.Feature

HasUsageBasedCharges applies the HasEdge predicate on the "usage_based_charges" edge.

func HasUsageBasedChargesWith

func HasUsageBasedChargesWith(preds ...predicate.ChargeUsageBased) predicate.Feature

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

func HasUsageBasedRuns

func HasUsageBasedRuns() predicate.Feature

HasUsageBasedRuns applies the HasEdge predicate on the "usage_based_runs" edge.

func HasUsageBasedRunsWith

func HasUsageBasedRunsWith(preds ...predicate.ChargeUsageBasedRuns) predicate.Feature

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

func ID

func ID(id string) predicate.Feature

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Feature

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Feature

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Feature

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Feature

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Feature

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Feature

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Feature

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Feature

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.Feature

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.Feature

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.Feature

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.Feature

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.Feature

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.Feature

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.Feature

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.Feature

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.Feature

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.Feature

KeyIn applies the In predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.Feature

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.Feature

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.Feature

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.Feature

KeyNotIn applies the NotIn predicate on the "key" field.

func MetadataIsNil

func MetadataIsNil() predicate.Feature

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

func MetadataNotNil

func MetadataNotNil() predicate.Feature

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

func MeterGroupByFiltersIsNil

func MeterGroupByFiltersIsNil() predicate.Feature

MeterGroupByFiltersIsNil applies the IsNil predicate on the "meter_group_by_filters" field.

func MeterGroupByFiltersNotNil

func MeterGroupByFiltersNotNil() predicate.Feature

MeterGroupByFiltersNotNil applies the NotNil predicate on the "meter_group_by_filters" field.

func MeterID

func MeterID(v string) predicate.Feature

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

func MeterIDContains

func MeterIDContains(v string) predicate.Feature

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

func MeterIDContainsFold

func MeterIDContainsFold(v string) predicate.Feature

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

func MeterIDEQ

func MeterIDEQ(v string) predicate.Feature

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

func MeterIDEqualFold

func MeterIDEqualFold(v string) predicate.Feature

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

func MeterIDGT

func MeterIDGT(v string) predicate.Feature

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

func MeterIDGTE

func MeterIDGTE(v string) predicate.Feature

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

func MeterIDHasPrefix

func MeterIDHasPrefix(v string) predicate.Feature

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

func MeterIDHasSuffix

func MeterIDHasSuffix(v string) predicate.Feature

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

func MeterIDIn

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

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

func MeterIDIsNil

func MeterIDIsNil() predicate.Feature

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

func MeterIDLT

func MeterIDLT(v string) predicate.Feature

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

func MeterIDLTE

func MeterIDLTE(v string) predicate.Feature

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

func MeterIDNEQ

func MeterIDNEQ(v string) predicate.Feature

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

func MeterIDNotIn

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

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

func MeterIDNotNil

func MeterIDNotNil() predicate.Feature

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

func MeterSlug

func MeterSlug(v string) predicate.Feature

MeterSlug applies equality check predicate on the "meter_slug" field. It's identical to MeterSlugEQ.

func MeterSlugContains

func MeterSlugContains(v string) predicate.Feature

MeterSlugContains applies the Contains predicate on the "meter_slug" field.

func MeterSlugContainsFold

func MeterSlugContainsFold(v string) predicate.Feature

MeterSlugContainsFold applies the ContainsFold predicate on the "meter_slug" field.

func MeterSlugEQ

func MeterSlugEQ(v string) predicate.Feature

MeterSlugEQ applies the EQ predicate on the "meter_slug" field.

func MeterSlugEqualFold

func MeterSlugEqualFold(v string) predicate.Feature

MeterSlugEqualFold applies the EqualFold predicate on the "meter_slug" field.

func MeterSlugGT

func MeterSlugGT(v string) predicate.Feature

MeterSlugGT applies the GT predicate on the "meter_slug" field.

func MeterSlugGTE

func MeterSlugGTE(v string) predicate.Feature

MeterSlugGTE applies the GTE predicate on the "meter_slug" field.

func MeterSlugHasPrefix

func MeterSlugHasPrefix(v string) predicate.Feature

MeterSlugHasPrefix applies the HasPrefix predicate on the "meter_slug" field.

func MeterSlugHasSuffix

func MeterSlugHasSuffix(v string) predicate.Feature

MeterSlugHasSuffix applies the HasSuffix predicate on the "meter_slug" field.

func MeterSlugIn

func MeterSlugIn(vs ...string) predicate.Feature

MeterSlugIn applies the In predicate on the "meter_slug" field.

func MeterSlugIsNil

func MeterSlugIsNil() predicate.Feature

MeterSlugIsNil applies the IsNil predicate on the "meter_slug" field.

func MeterSlugLT

func MeterSlugLT(v string) predicate.Feature

MeterSlugLT applies the LT predicate on the "meter_slug" field.

func MeterSlugLTE

func MeterSlugLTE(v string) predicate.Feature

MeterSlugLTE applies the LTE predicate on the "meter_slug" field.

func MeterSlugNEQ

func MeterSlugNEQ(v string) predicate.Feature

MeterSlugNEQ applies the NEQ predicate on the "meter_slug" field.

func MeterSlugNotIn

func MeterSlugNotIn(vs ...string) predicate.Feature

MeterSlugNotIn applies the NotIn predicate on the "meter_slug" field.

func MeterSlugNotNil

func MeterSlugNotNil() predicate.Feature

MeterSlugNotNil applies the NotNil predicate on the "meter_slug" field.

func Name

func Name(v string) predicate.Feature

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

func NameContains

func NameContains(v string) predicate.Feature

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

func NameContainsFold

func NameContainsFold(v string) predicate.Feature

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

func NameEQ

func NameEQ(v string) predicate.Feature

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

func NameEqualFold

func NameEqualFold(v string) predicate.Feature

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

func NameGT

func NameGT(v string) predicate.Feature

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

func NameGTE

func NameGTE(v string) predicate.Feature

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Feature

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Feature

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Feature

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

func NameLTE

func NameLTE(v string) predicate.Feature

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

func NameNEQ

func NameNEQ(v string) predicate.Feature

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

func NameNotIn

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

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

func Namespace

func Namespace(v string) predicate.Feature

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.Feature

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.Feature

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.Feature

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.Feature

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.Feature

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.Feature

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.Feature

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.Feature

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.Feature

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.Feature

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.Feature

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.Feature

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.Feature

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Feature) predicate.Feature

Or groups predicates with the OR operator between them.

func UnitCostLlmModel

func UnitCostLlmModel(v string) predicate.Feature

UnitCostLlmModel applies equality check predicate on the "unit_cost_llm_model" field. It's identical to UnitCostLlmModelEQ.

func UnitCostLlmModelContains

func UnitCostLlmModelContains(v string) predicate.Feature

UnitCostLlmModelContains applies the Contains predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelContainsFold

func UnitCostLlmModelContainsFold(v string) predicate.Feature

UnitCostLlmModelContainsFold applies the ContainsFold predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelEQ

func UnitCostLlmModelEQ(v string) predicate.Feature

UnitCostLlmModelEQ applies the EQ predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelEqualFold

func UnitCostLlmModelEqualFold(v string) predicate.Feature

UnitCostLlmModelEqualFold applies the EqualFold predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelGT

func UnitCostLlmModelGT(v string) predicate.Feature

UnitCostLlmModelGT applies the GT predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelGTE

func UnitCostLlmModelGTE(v string) predicate.Feature

UnitCostLlmModelGTE applies the GTE predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelHasPrefix

func UnitCostLlmModelHasPrefix(v string) predicate.Feature

UnitCostLlmModelHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelHasSuffix

func UnitCostLlmModelHasSuffix(v string) predicate.Feature

UnitCostLlmModelHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelIn

func UnitCostLlmModelIn(vs ...string) predicate.Feature

UnitCostLlmModelIn applies the In predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelIsNil

func UnitCostLlmModelIsNil() predicate.Feature

UnitCostLlmModelIsNil applies the IsNil predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelLT

func UnitCostLlmModelLT(v string) predicate.Feature

UnitCostLlmModelLT applies the LT predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelLTE

func UnitCostLlmModelLTE(v string) predicate.Feature

UnitCostLlmModelLTE applies the LTE predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelNEQ

func UnitCostLlmModelNEQ(v string) predicate.Feature

UnitCostLlmModelNEQ applies the NEQ predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelNotIn

func UnitCostLlmModelNotIn(vs ...string) predicate.Feature

UnitCostLlmModelNotIn applies the NotIn predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelNotNil

func UnitCostLlmModelNotNil() predicate.Feature

UnitCostLlmModelNotNil applies the NotNil predicate on the "unit_cost_llm_model" field.

func UnitCostLlmModelProperty

func UnitCostLlmModelProperty(v string) predicate.Feature

UnitCostLlmModelProperty applies equality check predicate on the "unit_cost_llm_model_property" field. It's identical to UnitCostLlmModelPropertyEQ.

func UnitCostLlmModelPropertyContains

func UnitCostLlmModelPropertyContains(v string) predicate.Feature

UnitCostLlmModelPropertyContains applies the Contains predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyContainsFold

func UnitCostLlmModelPropertyContainsFold(v string) predicate.Feature

UnitCostLlmModelPropertyContainsFold applies the ContainsFold predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyEQ

func UnitCostLlmModelPropertyEQ(v string) predicate.Feature

UnitCostLlmModelPropertyEQ applies the EQ predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyEqualFold

func UnitCostLlmModelPropertyEqualFold(v string) predicate.Feature

UnitCostLlmModelPropertyEqualFold applies the EqualFold predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyGT

func UnitCostLlmModelPropertyGT(v string) predicate.Feature

UnitCostLlmModelPropertyGT applies the GT predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyGTE

func UnitCostLlmModelPropertyGTE(v string) predicate.Feature

UnitCostLlmModelPropertyGTE applies the GTE predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyHasPrefix

func UnitCostLlmModelPropertyHasPrefix(v string) predicate.Feature

UnitCostLlmModelPropertyHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyHasSuffix

func UnitCostLlmModelPropertyHasSuffix(v string) predicate.Feature

UnitCostLlmModelPropertyHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyIn

func UnitCostLlmModelPropertyIn(vs ...string) predicate.Feature

UnitCostLlmModelPropertyIn applies the In predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyIsNil

func UnitCostLlmModelPropertyIsNil() predicate.Feature

UnitCostLlmModelPropertyIsNil applies the IsNil predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyLT

func UnitCostLlmModelPropertyLT(v string) predicate.Feature

UnitCostLlmModelPropertyLT applies the LT predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyLTE

func UnitCostLlmModelPropertyLTE(v string) predicate.Feature

UnitCostLlmModelPropertyLTE applies the LTE predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyNEQ

func UnitCostLlmModelPropertyNEQ(v string) predicate.Feature

UnitCostLlmModelPropertyNEQ applies the NEQ predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyNotIn

func UnitCostLlmModelPropertyNotIn(vs ...string) predicate.Feature

UnitCostLlmModelPropertyNotIn applies the NotIn predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmModelPropertyNotNil

func UnitCostLlmModelPropertyNotNil() predicate.Feature

UnitCostLlmModelPropertyNotNil applies the NotNil predicate on the "unit_cost_llm_model_property" field.

func UnitCostLlmProvider

func UnitCostLlmProvider(v string) predicate.Feature

UnitCostLlmProvider applies equality check predicate on the "unit_cost_llm_provider" field. It's identical to UnitCostLlmProviderEQ.

func UnitCostLlmProviderContains

func UnitCostLlmProviderContains(v string) predicate.Feature

UnitCostLlmProviderContains applies the Contains predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderContainsFold

func UnitCostLlmProviderContainsFold(v string) predicate.Feature

UnitCostLlmProviderContainsFold applies the ContainsFold predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderEQ

func UnitCostLlmProviderEQ(v string) predicate.Feature

UnitCostLlmProviderEQ applies the EQ predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderEqualFold

func UnitCostLlmProviderEqualFold(v string) predicate.Feature

UnitCostLlmProviderEqualFold applies the EqualFold predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderGT

func UnitCostLlmProviderGT(v string) predicate.Feature

UnitCostLlmProviderGT applies the GT predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderGTE

func UnitCostLlmProviderGTE(v string) predicate.Feature

UnitCostLlmProviderGTE applies the GTE predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderHasPrefix

func UnitCostLlmProviderHasPrefix(v string) predicate.Feature

UnitCostLlmProviderHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderHasSuffix

func UnitCostLlmProviderHasSuffix(v string) predicate.Feature

UnitCostLlmProviderHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderIn

func UnitCostLlmProviderIn(vs ...string) predicate.Feature

UnitCostLlmProviderIn applies the In predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderIsNil

func UnitCostLlmProviderIsNil() predicate.Feature

UnitCostLlmProviderIsNil applies the IsNil predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderLT

func UnitCostLlmProviderLT(v string) predicate.Feature

UnitCostLlmProviderLT applies the LT predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderLTE

func UnitCostLlmProviderLTE(v string) predicate.Feature

UnitCostLlmProviderLTE applies the LTE predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderNEQ

func UnitCostLlmProviderNEQ(v string) predicate.Feature

UnitCostLlmProviderNEQ applies the NEQ predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderNotIn

func UnitCostLlmProviderNotIn(vs ...string) predicate.Feature

UnitCostLlmProviderNotIn applies the NotIn predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderNotNil

func UnitCostLlmProviderNotNil() predicate.Feature

UnitCostLlmProviderNotNil applies the NotNil predicate on the "unit_cost_llm_provider" field.

func UnitCostLlmProviderProperty

func UnitCostLlmProviderProperty(v string) predicate.Feature

UnitCostLlmProviderProperty applies equality check predicate on the "unit_cost_llm_provider_property" field. It's identical to UnitCostLlmProviderPropertyEQ.

func UnitCostLlmProviderPropertyContains

func UnitCostLlmProviderPropertyContains(v string) predicate.Feature

UnitCostLlmProviderPropertyContains applies the Contains predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyContainsFold

func UnitCostLlmProviderPropertyContainsFold(v string) predicate.Feature

UnitCostLlmProviderPropertyContainsFold applies the ContainsFold predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyEQ

func UnitCostLlmProviderPropertyEQ(v string) predicate.Feature

UnitCostLlmProviderPropertyEQ applies the EQ predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyEqualFold

func UnitCostLlmProviderPropertyEqualFold(v string) predicate.Feature

UnitCostLlmProviderPropertyEqualFold applies the EqualFold predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyGT

func UnitCostLlmProviderPropertyGT(v string) predicate.Feature

UnitCostLlmProviderPropertyGT applies the GT predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyGTE

func UnitCostLlmProviderPropertyGTE(v string) predicate.Feature

UnitCostLlmProviderPropertyGTE applies the GTE predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyHasPrefix

func UnitCostLlmProviderPropertyHasPrefix(v string) predicate.Feature

UnitCostLlmProviderPropertyHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyHasSuffix

func UnitCostLlmProviderPropertyHasSuffix(v string) predicate.Feature

UnitCostLlmProviderPropertyHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyIn

func UnitCostLlmProviderPropertyIn(vs ...string) predicate.Feature

UnitCostLlmProviderPropertyIn applies the In predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyIsNil

func UnitCostLlmProviderPropertyIsNil() predicate.Feature

UnitCostLlmProviderPropertyIsNil applies the IsNil predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyLT

func UnitCostLlmProviderPropertyLT(v string) predicate.Feature

UnitCostLlmProviderPropertyLT applies the LT predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyLTE

func UnitCostLlmProviderPropertyLTE(v string) predicate.Feature

UnitCostLlmProviderPropertyLTE applies the LTE predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyNEQ

func UnitCostLlmProviderPropertyNEQ(v string) predicate.Feature

UnitCostLlmProviderPropertyNEQ applies the NEQ predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyNotIn

func UnitCostLlmProviderPropertyNotIn(vs ...string) predicate.Feature

UnitCostLlmProviderPropertyNotIn applies the NotIn predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmProviderPropertyNotNil

func UnitCostLlmProviderPropertyNotNil() predicate.Feature

UnitCostLlmProviderPropertyNotNil applies the NotNil predicate on the "unit_cost_llm_provider_property" field.

func UnitCostLlmTokenType

func UnitCostLlmTokenType(v string) predicate.Feature

UnitCostLlmTokenType applies equality check predicate on the "unit_cost_llm_token_type" field. It's identical to UnitCostLlmTokenTypeEQ.

func UnitCostLlmTokenTypeContains

func UnitCostLlmTokenTypeContains(v string) predicate.Feature

UnitCostLlmTokenTypeContains applies the Contains predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeContainsFold

func UnitCostLlmTokenTypeContainsFold(v string) predicate.Feature

UnitCostLlmTokenTypeContainsFold applies the ContainsFold predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeEQ

func UnitCostLlmTokenTypeEQ(v string) predicate.Feature

UnitCostLlmTokenTypeEQ applies the EQ predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeEqualFold

func UnitCostLlmTokenTypeEqualFold(v string) predicate.Feature

UnitCostLlmTokenTypeEqualFold applies the EqualFold predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeGT

func UnitCostLlmTokenTypeGT(v string) predicate.Feature

UnitCostLlmTokenTypeGT applies the GT predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeGTE

func UnitCostLlmTokenTypeGTE(v string) predicate.Feature

UnitCostLlmTokenTypeGTE applies the GTE predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeHasPrefix

func UnitCostLlmTokenTypeHasPrefix(v string) predicate.Feature

UnitCostLlmTokenTypeHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeHasSuffix

func UnitCostLlmTokenTypeHasSuffix(v string) predicate.Feature

UnitCostLlmTokenTypeHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeIn

func UnitCostLlmTokenTypeIn(vs ...string) predicate.Feature

UnitCostLlmTokenTypeIn applies the In predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeIsNil

func UnitCostLlmTokenTypeIsNil() predicate.Feature

UnitCostLlmTokenTypeIsNil applies the IsNil predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeLT

func UnitCostLlmTokenTypeLT(v string) predicate.Feature

UnitCostLlmTokenTypeLT applies the LT predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeLTE

func UnitCostLlmTokenTypeLTE(v string) predicate.Feature

UnitCostLlmTokenTypeLTE applies the LTE predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeNEQ

func UnitCostLlmTokenTypeNEQ(v string) predicate.Feature

UnitCostLlmTokenTypeNEQ applies the NEQ predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeNotIn

func UnitCostLlmTokenTypeNotIn(vs ...string) predicate.Feature

UnitCostLlmTokenTypeNotIn applies the NotIn predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeNotNil

func UnitCostLlmTokenTypeNotNil() predicate.Feature

UnitCostLlmTokenTypeNotNil applies the NotNil predicate on the "unit_cost_llm_token_type" field.

func UnitCostLlmTokenTypeProperty

func UnitCostLlmTokenTypeProperty(v string) predicate.Feature

UnitCostLlmTokenTypeProperty applies equality check predicate on the "unit_cost_llm_token_type_property" field. It's identical to UnitCostLlmTokenTypePropertyEQ.

func UnitCostLlmTokenTypePropertyContains

func UnitCostLlmTokenTypePropertyContains(v string) predicate.Feature

UnitCostLlmTokenTypePropertyContains applies the Contains predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyContainsFold

func UnitCostLlmTokenTypePropertyContainsFold(v string) predicate.Feature

UnitCostLlmTokenTypePropertyContainsFold applies the ContainsFold predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyEQ

func UnitCostLlmTokenTypePropertyEQ(v string) predicate.Feature

UnitCostLlmTokenTypePropertyEQ applies the EQ predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyEqualFold

func UnitCostLlmTokenTypePropertyEqualFold(v string) predicate.Feature

UnitCostLlmTokenTypePropertyEqualFold applies the EqualFold predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyGT

func UnitCostLlmTokenTypePropertyGT(v string) predicate.Feature

UnitCostLlmTokenTypePropertyGT applies the GT predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyGTE

func UnitCostLlmTokenTypePropertyGTE(v string) predicate.Feature

UnitCostLlmTokenTypePropertyGTE applies the GTE predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyHasPrefix

func UnitCostLlmTokenTypePropertyHasPrefix(v string) predicate.Feature

UnitCostLlmTokenTypePropertyHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyHasSuffix

func UnitCostLlmTokenTypePropertyHasSuffix(v string) predicate.Feature

UnitCostLlmTokenTypePropertyHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyIn

func UnitCostLlmTokenTypePropertyIn(vs ...string) predicate.Feature

UnitCostLlmTokenTypePropertyIn applies the In predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyIsNil

func UnitCostLlmTokenTypePropertyIsNil() predicate.Feature

UnitCostLlmTokenTypePropertyIsNil applies the IsNil predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyLT

func UnitCostLlmTokenTypePropertyLT(v string) predicate.Feature

UnitCostLlmTokenTypePropertyLT applies the LT predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyLTE

func UnitCostLlmTokenTypePropertyLTE(v string) predicate.Feature

UnitCostLlmTokenTypePropertyLTE applies the LTE predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyNEQ

func UnitCostLlmTokenTypePropertyNEQ(v string) predicate.Feature

UnitCostLlmTokenTypePropertyNEQ applies the NEQ predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyNotIn

func UnitCostLlmTokenTypePropertyNotIn(vs ...string) predicate.Feature

UnitCostLlmTokenTypePropertyNotIn applies the NotIn predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostLlmTokenTypePropertyNotNil

func UnitCostLlmTokenTypePropertyNotNil() predicate.Feature

UnitCostLlmTokenTypePropertyNotNil applies the NotNil predicate on the "unit_cost_llm_token_type_property" field.

func UnitCostManualAmount

func UnitCostManualAmount(v alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmount applies equality check predicate on the "unit_cost_manual_amount" field. It's identical to UnitCostManualAmountEQ.

func UnitCostManualAmountEQ

func UnitCostManualAmountEQ(v alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountEQ applies the EQ predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountGT

func UnitCostManualAmountGT(v alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountGT applies the GT predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountGTE

func UnitCostManualAmountGTE(v alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountGTE applies the GTE predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountIn

func UnitCostManualAmountIn(vs ...alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountIn applies the In predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountIsNil

func UnitCostManualAmountIsNil() predicate.Feature

UnitCostManualAmountIsNil applies the IsNil predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountLT

func UnitCostManualAmountLT(v alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountLT applies the LT predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountLTE

func UnitCostManualAmountLTE(v alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountLTE applies the LTE predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountNEQ

func UnitCostManualAmountNEQ(v alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountNEQ applies the NEQ predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountNotIn

func UnitCostManualAmountNotIn(vs ...alpacadecimal.Decimal) predicate.Feature

UnitCostManualAmountNotIn applies the NotIn predicate on the "unit_cost_manual_amount" field.

func UnitCostManualAmountNotNil

func UnitCostManualAmountNotNil() predicate.Feature

UnitCostManualAmountNotNil applies the NotNil predicate on the "unit_cost_manual_amount" field.

func UnitCostType

func UnitCostType(v string) predicate.Feature

UnitCostType applies equality check predicate on the "unit_cost_type" field. It's identical to UnitCostTypeEQ.

func UnitCostTypeContains

func UnitCostTypeContains(v string) predicate.Feature

UnitCostTypeContains applies the Contains predicate on the "unit_cost_type" field.

func UnitCostTypeContainsFold

func UnitCostTypeContainsFold(v string) predicate.Feature

UnitCostTypeContainsFold applies the ContainsFold predicate on the "unit_cost_type" field.

func UnitCostTypeEQ

func UnitCostTypeEQ(v string) predicate.Feature

UnitCostTypeEQ applies the EQ predicate on the "unit_cost_type" field.

func UnitCostTypeEqualFold

func UnitCostTypeEqualFold(v string) predicate.Feature

UnitCostTypeEqualFold applies the EqualFold predicate on the "unit_cost_type" field.

func UnitCostTypeGT

func UnitCostTypeGT(v string) predicate.Feature

UnitCostTypeGT applies the GT predicate on the "unit_cost_type" field.

func UnitCostTypeGTE

func UnitCostTypeGTE(v string) predicate.Feature

UnitCostTypeGTE applies the GTE predicate on the "unit_cost_type" field.

func UnitCostTypeHasPrefix

func UnitCostTypeHasPrefix(v string) predicate.Feature

UnitCostTypeHasPrefix applies the HasPrefix predicate on the "unit_cost_type" field.

func UnitCostTypeHasSuffix

func UnitCostTypeHasSuffix(v string) predicate.Feature

UnitCostTypeHasSuffix applies the HasSuffix predicate on the "unit_cost_type" field.

func UnitCostTypeIn

func UnitCostTypeIn(vs ...string) predicate.Feature

UnitCostTypeIn applies the In predicate on the "unit_cost_type" field.

func UnitCostTypeIsNil

func UnitCostTypeIsNil() predicate.Feature

UnitCostTypeIsNil applies the IsNil predicate on the "unit_cost_type" field.

func UnitCostTypeLT

func UnitCostTypeLT(v string) predicate.Feature

UnitCostTypeLT applies the LT predicate on the "unit_cost_type" field.

func UnitCostTypeLTE

func UnitCostTypeLTE(v string) predicate.Feature

UnitCostTypeLTE applies the LTE predicate on the "unit_cost_type" field.

func UnitCostTypeNEQ

func UnitCostTypeNEQ(v string) predicate.Feature

UnitCostTypeNEQ applies the NEQ predicate on the "unit_cost_type" field.

func UnitCostTypeNotIn

func UnitCostTypeNotIn(vs ...string) predicate.Feature

UnitCostTypeNotIn applies the NotIn predicate on the "unit_cost_type" field.

func UnitCostTypeNotNil

func UnitCostTypeNotNil() predicate.Feature

UnitCostTypeNotNil applies the NotNil predicate on the "unit_cost_type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Feature

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Feature

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Feature

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Feature

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Feature

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Feature

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Feature

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 Feature queries.

func ByAddonRatecard

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

ByAddonRatecard orders the results by addon_ratecard terms.

func ByAddonRatecardCount

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

ByAddonRatecardCount orders the results by addon_ratecard count.

func ByArchivedAt

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

ByArchivedAt orders the results by the archived_at field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByEntitlement

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

ByEntitlement orders the results by entitlement terms.

func ByEntitlementCount

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

ByEntitlementCount orders the results by entitlement count.

func ByFlatFeeCharges

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

ByFlatFeeCharges orders the results by flat_fee_charges terms.

func ByFlatFeeChargesCount

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

ByFlatFeeChargesCount orders the results by flat_fee_charges count.

func ByID

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

ByID orders the results by the id field.

func ByKey

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

ByKey orders the results by the key field.

func ByMeterField

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

ByMeterField orders the results by meter field.

func ByMeterID

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

ByMeterID orders the results by the meter_id field.

func ByMeterSlug

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

ByMeterSlug orders the results by the meter_slug field.

func ByName

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

ByName orders the results by the name field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByRatecard

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

ByRatecard orders the results by ratecard terms.

func ByRatecardCount

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

ByRatecardCount orders the results by ratecard count.

func ByUnitCostLlmModel

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

ByUnitCostLlmModel orders the results by the unit_cost_llm_model field.

func ByUnitCostLlmModelProperty

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

ByUnitCostLlmModelProperty orders the results by the unit_cost_llm_model_property field.

func ByUnitCostLlmProvider

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

ByUnitCostLlmProvider orders the results by the unit_cost_llm_provider field.

func ByUnitCostLlmProviderProperty

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

ByUnitCostLlmProviderProperty orders the results by the unit_cost_llm_provider_property field.

func ByUnitCostLlmTokenType

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

ByUnitCostLlmTokenType orders the results by the unit_cost_llm_token_type field.

func ByUnitCostLlmTokenTypeProperty

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

ByUnitCostLlmTokenTypeProperty orders the results by the unit_cost_llm_token_type_property field.

func ByUnitCostManualAmount

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

ByUnitCostManualAmount orders the results by the unit_cost_manual_amount field.

func ByUnitCostType

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

ByUnitCostType orders the results by the unit_cost_type field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUsageBasedCharges

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

ByUsageBasedCharges orders the results by usage_based_charges terms.

func ByUsageBasedChargesCount

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

ByUsageBasedChargesCount orders the results by usage_based_charges count.

func ByUsageBasedRuns

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

ByUsageBasedRuns orders the results by usage_based_runs terms.

func ByUsageBasedRunsCount

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

ByUsageBasedRunsCount orders the results by usage_based_runs count.

Jump to

Keyboard shortcuts

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