Documentation
¶
Index ¶
- Constants
- Variables
- func AdvancedMeterGroupByFiltersIsNil() predicate.Feature
- func AdvancedMeterGroupByFiltersNotNil() predicate.Feature
- func And(predicates ...predicate.Feature) predicate.Feature
- func ArchivedAt(v time.Time) predicate.Feature
- func ArchivedAtEQ(v time.Time) predicate.Feature
- func ArchivedAtGT(v time.Time) predicate.Feature
- func ArchivedAtGTE(v time.Time) predicate.Feature
- func ArchivedAtIn(vs ...time.Time) predicate.Feature
- func ArchivedAtIsNil() predicate.Feature
- func ArchivedAtLT(v time.Time) predicate.Feature
- func ArchivedAtLTE(v time.Time) predicate.Feature
- func ArchivedAtNEQ(v time.Time) predicate.Feature
- func ArchivedAtNotIn(vs ...time.Time) predicate.Feature
- func ArchivedAtNotNil() predicate.Feature
- func CreatedAt(v time.Time) predicate.Feature
- func CreatedAtEQ(v time.Time) predicate.Feature
- func CreatedAtGT(v time.Time) predicate.Feature
- func CreatedAtGTE(v time.Time) predicate.Feature
- func CreatedAtIn(vs ...time.Time) predicate.Feature
- func CreatedAtLT(v time.Time) predicate.Feature
- func CreatedAtLTE(v time.Time) predicate.Feature
- func CreatedAtNEQ(v time.Time) predicate.Feature
- func CreatedAtNotIn(vs ...time.Time) predicate.Feature
- func DeletedAt(v time.Time) predicate.Feature
- func DeletedAtEQ(v time.Time) predicate.Feature
- func DeletedAtGT(v time.Time) predicate.Feature
- func DeletedAtGTE(v time.Time) predicate.Feature
- func DeletedAtIn(vs ...time.Time) predicate.Feature
- func DeletedAtIsNil() predicate.Feature
- func DeletedAtLT(v time.Time) predicate.Feature
- func DeletedAtLTE(v time.Time) predicate.Feature
- func DeletedAtNEQ(v time.Time) predicate.Feature
- func DeletedAtNotIn(vs ...time.Time) predicate.Feature
- func DeletedAtNotNil() predicate.Feature
- func Description(v string) predicate.Feature
- func DescriptionContains(v string) predicate.Feature
- func DescriptionContainsFold(v string) predicate.Feature
- func DescriptionEQ(v string) predicate.Feature
- func DescriptionEqualFold(v string) predicate.Feature
- func DescriptionGT(v string) predicate.Feature
- func DescriptionGTE(v string) predicate.Feature
- func DescriptionHasPrefix(v string) predicate.Feature
- func DescriptionHasSuffix(v string) predicate.Feature
- func DescriptionIn(vs ...string) predicate.Feature
- func DescriptionIsNil() predicate.Feature
- func DescriptionLT(v string) predicate.Feature
- func DescriptionLTE(v string) predicate.Feature
- func DescriptionNEQ(v string) predicate.Feature
- func DescriptionNotIn(vs ...string) predicate.Feature
- func DescriptionNotNil() predicate.Feature
- func HasAddonRatecard() predicate.Feature
- func HasAddonRatecardWith(preds ...predicate.AddonRateCard) predicate.Feature
- func HasEntitlement() predicate.Feature
- func HasEntitlementWith(preds ...predicate.Entitlement) predicate.Feature
- func HasFlatFeeCharges() predicate.Feature
- func HasFlatFeeChargesWith(preds ...predicate.ChargeFlatFee) predicate.Feature
- func HasMeter() predicate.Feature
- func HasMeterWith(preds ...predicate.Meter) predicate.Feature
- func HasRatecard() predicate.Feature
- func HasRatecardWith(preds ...predicate.PlanRateCard) predicate.Feature
- func HasUsageBasedCharges() predicate.Feature
- func HasUsageBasedChargesWith(preds ...predicate.ChargeUsageBased) predicate.Feature
- func HasUsageBasedRuns() predicate.Feature
- func HasUsageBasedRunsWith(preds ...predicate.ChargeUsageBasedRuns) predicate.Feature
- func ID(id string) predicate.Feature
- func IDContainsFold(id string) predicate.Feature
- func IDEQ(id string) predicate.Feature
- func IDEqualFold(id string) predicate.Feature
- func IDGT(id string) predicate.Feature
- func IDGTE(id string) predicate.Feature
- func IDIn(ids ...string) predicate.Feature
- func IDLT(id string) predicate.Feature
- func IDLTE(id string) predicate.Feature
- func IDNEQ(id string) predicate.Feature
- func IDNotIn(ids ...string) predicate.Feature
- func Key(v string) predicate.Feature
- func KeyContains(v string) predicate.Feature
- func KeyContainsFold(v string) predicate.Feature
- func KeyEQ(v string) predicate.Feature
- func KeyEqualFold(v string) predicate.Feature
- func KeyGT(v string) predicate.Feature
- func KeyGTE(v string) predicate.Feature
- func KeyHasPrefix(v string) predicate.Feature
- func KeyHasSuffix(v string) predicate.Feature
- func KeyIn(vs ...string) predicate.Feature
- func KeyLT(v string) predicate.Feature
- func KeyLTE(v string) predicate.Feature
- func KeyNEQ(v string) predicate.Feature
- func KeyNotIn(vs ...string) predicate.Feature
- func MetadataIsNil() predicate.Feature
- func MetadataNotNil() predicate.Feature
- func MeterGroupByFiltersIsNil() predicate.Feature
- func MeterGroupByFiltersNotNil() predicate.Feature
- func MeterID(v string) predicate.Feature
- func MeterIDContains(v string) predicate.Feature
- func MeterIDContainsFold(v string) predicate.Feature
- func MeterIDEQ(v string) predicate.Feature
- func MeterIDEqualFold(v string) predicate.Feature
- func MeterIDGT(v string) predicate.Feature
- func MeterIDGTE(v string) predicate.Feature
- func MeterIDHasPrefix(v string) predicate.Feature
- func MeterIDHasSuffix(v string) predicate.Feature
- func MeterIDIn(vs ...string) predicate.Feature
- func MeterIDIsNil() predicate.Feature
- func MeterIDLT(v string) predicate.Feature
- func MeterIDLTE(v string) predicate.Feature
- func MeterIDNEQ(v string) predicate.Feature
- func MeterIDNotIn(vs ...string) predicate.Feature
- func MeterIDNotNil() predicate.Feature
- func MeterSlug(v string) predicate.Feature
- func MeterSlugContains(v string) predicate.Feature
- func MeterSlugContainsFold(v string) predicate.Feature
- func MeterSlugEQ(v string) predicate.Feature
- func MeterSlugEqualFold(v string) predicate.Feature
- func MeterSlugGT(v string) predicate.Feature
- func MeterSlugGTE(v string) predicate.Feature
- func MeterSlugHasPrefix(v string) predicate.Feature
- func MeterSlugHasSuffix(v string) predicate.Feature
- func MeterSlugIn(vs ...string) predicate.Feature
- func MeterSlugIsNil() predicate.Feature
- func MeterSlugLT(v string) predicate.Feature
- func MeterSlugLTE(v string) predicate.Feature
- func MeterSlugNEQ(v string) predicate.Feature
- func MeterSlugNotIn(vs ...string) predicate.Feature
- func MeterSlugNotNil() predicate.Feature
- func Name(v string) predicate.Feature
- func NameContains(v string) predicate.Feature
- func NameContainsFold(v string) predicate.Feature
- func NameEQ(v string) predicate.Feature
- func NameEqualFold(v string) predicate.Feature
- func NameGT(v string) predicate.Feature
- func NameGTE(v string) predicate.Feature
- func NameHasPrefix(v string) predicate.Feature
- func NameHasSuffix(v string) predicate.Feature
- func NameIn(vs ...string) predicate.Feature
- func NameLT(v string) predicate.Feature
- func NameLTE(v string) predicate.Feature
- func NameNEQ(v string) predicate.Feature
- func NameNotIn(vs ...string) predicate.Feature
- func Namespace(v string) predicate.Feature
- func NamespaceContains(v string) predicate.Feature
- func NamespaceContainsFold(v string) predicate.Feature
- func NamespaceEQ(v string) predicate.Feature
- func NamespaceEqualFold(v string) predicate.Feature
- func NamespaceGT(v string) predicate.Feature
- func NamespaceGTE(v string) predicate.Feature
- func NamespaceHasPrefix(v string) predicate.Feature
- func NamespaceHasSuffix(v string) predicate.Feature
- func NamespaceIn(vs ...string) predicate.Feature
- func NamespaceLT(v string) predicate.Feature
- func NamespaceLTE(v string) predicate.Feature
- func NamespaceNEQ(v string) predicate.Feature
- func NamespaceNotIn(vs ...string) predicate.Feature
- func Not(p predicate.Feature) predicate.Feature
- func Or(predicates ...predicate.Feature) predicate.Feature
- func UnitCostLlmModel(v string) predicate.Feature
- func UnitCostLlmModelContains(v string) predicate.Feature
- func UnitCostLlmModelContainsFold(v string) predicate.Feature
- func UnitCostLlmModelEQ(v string) predicate.Feature
- func UnitCostLlmModelEqualFold(v string) predicate.Feature
- func UnitCostLlmModelGT(v string) predicate.Feature
- func UnitCostLlmModelGTE(v string) predicate.Feature
- func UnitCostLlmModelHasPrefix(v string) predicate.Feature
- func UnitCostLlmModelHasSuffix(v string) predicate.Feature
- func UnitCostLlmModelIn(vs ...string) predicate.Feature
- func UnitCostLlmModelIsNil() predicate.Feature
- func UnitCostLlmModelLT(v string) predicate.Feature
- func UnitCostLlmModelLTE(v string) predicate.Feature
- func UnitCostLlmModelNEQ(v string) predicate.Feature
- func UnitCostLlmModelNotIn(vs ...string) predicate.Feature
- func UnitCostLlmModelNotNil() predicate.Feature
- func UnitCostLlmModelProperty(v string) predicate.Feature
- func UnitCostLlmModelPropertyContains(v string) predicate.Feature
- func UnitCostLlmModelPropertyContainsFold(v string) predicate.Feature
- func UnitCostLlmModelPropertyEQ(v string) predicate.Feature
- func UnitCostLlmModelPropertyEqualFold(v string) predicate.Feature
- func UnitCostLlmModelPropertyGT(v string) predicate.Feature
- func UnitCostLlmModelPropertyGTE(v string) predicate.Feature
- func UnitCostLlmModelPropertyHasPrefix(v string) predicate.Feature
- func UnitCostLlmModelPropertyHasSuffix(v string) predicate.Feature
- func UnitCostLlmModelPropertyIn(vs ...string) predicate.Feature
- func UnitCostLlmModelPropertyIsNil() predicate.Feature
- func UnitCostLlmModelPropertyLT(v string) predicate.Feature
- func UnitCostLlmModelPropertyLTE(v string) predicate.Feature
- func UnitCostLlmModelPropertyNEQ(v string) predicate.Feature
- func UnitCostLlmModelPropertyNotIn(vs ...string) predicate.Feature
- func UnitCostLlmModelPropertyNotNil() predicate.Feature
- func UnitCostLlmProvider(v string) predicate.Feature
- func UnitCostLlmProviderContains(v string) predicate.Feature
- func UnitCostLlmProviderContainsFold(v string) predicate.Feature
- func UnitCostLlmProviderEQ(v string) predicate.Feature
- func UnitCostLlmProviderEqualFold(v string) predicate.Feature
- func UnitCostLlmProviderGT(v string) predicate.Feature
- func UnitCostLlmProviderGTE(v string) predicate.Feature
- func UnitCostLlmProviderHasPrefix(v string) predicate.Feature
- func UnitCostLlmProviderHasSuffix(v string) predicate.Feature
- func UnitCostLlmProviderIn(vs ...string) predicate.Feature
- func UnitCostLlmProviderIsNil() predicate.Feature
- func UnitCostLlmProviderLT(v string) predicate.Feature
- func UnitCostLlmProviderLTE(v string) predicate.Feature
- func UnitCostLlmProviderNEQ(v string) predicate.Feature
- func UnitCostLlmProviderNotIn(vs ...string) predicate.Feature
- func UnitCostLlmProviderNotNil() predicate.Feature
- func UnitCostLlmProviderProperty(v string) predicate.Feature
- func UnitCostLlmProviderPropertyContains(v string) predicate.Feature
- func UnitCostLlmProviderPropertyContainsFold(v string) predicate.Feature
- func UnitCostLlmProviderPropertyEQ(v string) predicate.Feature
- func UnitCostLlmProviderPropertyEqualFold(v string) predicate.Feature
- func UnitCostLlmProviderPropertyGT(v string) predicate.Feature
- func UnitCostLlmProviderPropertyGTE(v string) predicate.Feature
- func UnitCostLlmProviderPropertyHasPrefix(v string) predicate.Feature
- func UnitCostLlmProviderPropertyHasSuffix(v string) predicate.Feature
- func UnitCostLlmProviderPropertyIn(vs ...string) predicate.Feature
- func UnitCostLlmProviderPropertyIsNil() predicate.Feature
- func UnitCostLlmProviderPropertyLT(v string) predicate.Feature
- func UnitCostLlmProviderPropertyLTE(v string) predicate.Feature
- func UnitCostLlmProviderPropertyNEQ(v string) predicate.Feature
- func UnitCostLlmProviderPropertyNotIn(vs ...string) predicate.Feature
- func UnitCostLlmProviderPropertyNotNil() predicate.Feature
- func UnitCostLlmTokenType(v string) predicate.Feature
- func UnitCostLlmTokenTypeContains(v string) predicate.Feature
- func UnitCostLlmTokenTypeContainsFold(v string) predicate.Feature
- func UnitCostLlmTokenTypeEQ(v string) predicate.Feature
- func UnitCostLlmTokenTypeEqualFold(v string) predicate.Feature
- func UnitCostLlmTokenTypeGT(v string) predicate.Feature
- func UnitCostLlmTokenTypeGTE(v string) predicate.Feature
- func UnitCostLlmTokenTypeHasPrefix(v string) predicate.Feature
- func UnitCostLlmTokenTypeHasSuffix(v string) predicate.Feature
- func UnitCostLlmTokenTypeIn(vs ...string) predicate.Feature
- func UnitCostLlmTokenTypeIsNil() predicate.Feature
- func UnitCostLlmTokenTypeLT(v string) predicate.Feature
- func UnitCostLlmTokenTypeLTE(v string) predicate.Feature
- func UnitCostLlmTokenTypeNEQ(v string) predicate.Feature
- func UnitCostLlmTokenTypeNotIn(vs ...string) predicate.Feature
- func UnitCostLlmTokenTypeNotNil() predicate.Feature
- func UnitCostLlmTokenTypeProperty(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyContains(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyContainsFold(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyEQ(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyEqualFold(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyGT(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyGTE(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyHasPrefix(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyHasSuffix(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyIn(vs ...string) predicate.Feature
- func UnitCostLlmTokenTypePropertyIsNil() predicate.Feature
- func UnitCostLlmTokenTypePropertyLT(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyLTE(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyNEQ(v string) predicate.Feature
- func UnitCostLlmTokenTypePropertyNotIn(vs ...string) predicate.Feature
- func UnitCostLlmTokenTypePropertyNotNil() predicate.Feature
- func UnitCostManualAmount(v alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountEQ(v alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountGT(v alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountGTE(v alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountIn(vs ...alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountIsNil() predicate.Feature
- func UnitCostManualAmountLT(v alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountLTE(v alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountNEQ(v alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountNotIn(vs ...alpacadecimal.Decimal) predicate.Feature
- func UnitCostManualAmountNotNil() predicate.Feature
- func UnitCostType(v string) predicate.Feature
- func UnitCostTypeContains(v string) predicate.Feature
- func UnitCostTypeContainsFold(v string) predicate.Feature
- func UnitCostTypeEQ(v string) predicate.Feature
- func UnitCostTypeEqualFold(v string) predicate.Feature
- func UnitCostTypeGT(v string) predicate.Feature
- func UnitCostTypeGTE(v string) predicate.Feature
- func UnitCostTypeHasPrefix(v string) predicate.Feature
- func UnitCostTypeHasSuffix(v string) predicate.Feature
- func UnitCostTypeIn(vs ...string) predicate.Feature
- func UnitCostTypeIsNil() predicate.Feature
- func UnitCostTypeLT(v string) predicate.Feature
- func UnitCostTypeLTE(v string) predicate.Feature
- func UnitCostTypeNEQ(v string) predicate.Feature
- func UnitCostTypeNotIn(vs ...string) predicate.Feature
- func UnitCostTypeNotNil() predicate.Feature
- func UpdatedAt(v time.Time) predicate.Feature
- func UpdatedAtEQ(v time.Time) predicate.Feature
- func UpdatedAtGT(v time.Time) predicate.Feature
- func UpdatedAtGTE(v time.Time) predicate.Feature
- func UpdatedAtIn(vs ...time.Time) predicate.Feature
- func UpdatedAtLT(v time.Time) predicate.Feature
- func UpdatedAtLTE(v time.Time) predicate.Feature
- func UpdatedAtNEQ(v time.Time) predicate.Feature
- func UpdatedAtNotIn(vs ...time.Time) predicate.Feature
- func ValidColumn(column string) bool
- type OrderOption
- func ByAddonRatecard(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAddonRatecardCount(opts ...sql.OrderTermOption) OrderOption
- func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEntitlement(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitlementCount(opts ...sql.OrderTermOption) OrderOption
- func ByFlatFeeCharges(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFlatFeeChargesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByMeterField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByMeterID(opts ...sql.OrderTermOption) OrderOption
- func ByMeterSlug(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByRatecard(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRatecardCount(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostLlmModel(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostLlmModelProperty(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostLlmProvider(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostLlmProviderProperty(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostLlmTokenType(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostLlmTokenTypeProperty(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostManualAmount(opts ...sql.OrderTermOption) OrderOption
- func ByUnitCostType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsageBasedCharges(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsageBasedChargesCount(opts ...sql.OrderTermOption) OrderOption
- func ByUsageBasedRuns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsageBasedRunsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldMetadata, FieldNamespace, FieldName, FieldDescription, FieldKey, FieldMeterSlug, FieldMeterID, FieldMeterGroupByFilters, FieldAdvancedMeterGroupByFilters, FieldUnitCostType, FieldUnitCostManualAmount, FieldUnitCostLlmProviderProperty, FieldUnitCostLlmProvider, FieldUnitCostLlmModelProperty, FieldUnitCostLlmModel, FieldUnitCostLlmTokenTypeProperty, FieldUnitCostLlmTokenType, FieldArchivedAt, }
Columns holds all SQL columns for feature fields.
Functions ¶
func AdvancedMeterGroupByFiltersIsNil ¶
AdvancedMeterGroupByFiltersIsNil applies the IsNil predicate on the "advanced_meter_group_by_filters" field.
func AdvancedMeterGroupByFiltersNotNil ¶
AdvancedMeterGroupByFiltersNotNil applies the NotNil predicate on the "advanced_meter_group_by_filters" field.
func ArchivedAt ¶
ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
func ArchivedAtEQ ¶
ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
func ArchivedAtGT ¶
ArchivedAtGT applies the GT predicate on the "archived_at" field.
func ArchivedAtGTE ¶
ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
func ArchivedAtIn ¶
ArchivedAtIn applies the In predicate on the "archived_at" field.
func ArchivedAtIsNil ¶
ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
func ArchivedAtLT ¶
ArchivedAtLT applies the LT predicate on the "archived_at" field.
func ArchivedAtLTE ¶
ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
func ArchivedAtNEQ ¶
ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
func ArchivedAtNotIn ¶
ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
func ArchivedAtNotNil ¶
ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasAddonRatecard ¶
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 ¶
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 ¶
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 HasMeterWith ¶
HasMeterWith applies the HasEdge predicate on the "meter" edge with a given conditions (other predicates).
func HasRatecard ¶
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 ¶
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 ¶
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 IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func MeterGroupByFiltersIsNil ¶
MeterGroupByFiltersIsNil applies the IsNil predicate on the "meter_group_by_filters" field.
func MeterGroupByFiltersNotNil ¶
MeterGroupByFiltersNotNil applies the NotNil predicate on the "meter_group_by_filters" field.
func MeterID ¶
MeterID applies equality check predicate on the "meter_id" field. It's identical to MeterIDEQ.
func MeterIDContains ¶
MeterIDContains applies the Contains predicate on the "meter_id" field.
func MeterIDContainsFold ¶
MeterIDContainsFold applies the ContainsFold predicate on the "meter_id" field.
func MeterIDEqualFold ¶
MeterIDEqualFold applies the EqualFold predicate on the "meter_id" field.
func MeterIDGTE ¶
MeterIDGTE applies the GTE predicate on the "meter_id" field.
func MeterIDHasPrefix ¶
MeterIDHasPrefix applies the HasPrefix predicate on the "meter_id" field.
func MeterIDHasSuffix ¶
MeterIDHasSuffix applies the HasSuffix predicate on the "meter_id" field.
func MeterIDIsNil ¶
MeterIDIsNil applies the IsNil predicate on the "meter_id" field.
func MeterIDLTE ¶
MeterIDLTE applies the LTE predicate on the "meter_id" field.
func MeterIDNEQ ¶
MeterIDNEQ applies the NEQ predicate on the "meter_id" field.
func MeterIDNotIn ¶
MeterIDNotIn applies the NotIn predicate on the "meter_id" field.
func MeterIDNotNil ¶
MeterIDNotNil applies the NotNil predicate on the "meter_id" field.
func MeterSlug ¶
MeterSlug applies equality check predicate on the "meter_slug" field. It's identical to MeterSlugEQ.
func MeterSlugContains ¶
MeterSlugContains applies the Contains predicate on the "meter_slug" field.
func MeterSlugContainsFold ¶
MeterSlugContainsFold applies the ContainsFold predicate on the "meter_slug" field.
func MeterSlugEQ ¶
MeterSlugEQ applies the EQ predicate on the "meter_slug" field.
func MeterSlugEqualFold ¶
MeterSlugEqualFold applies the EqualFold predicate on the "meter_slug" field.
func MeterSlugGT ¶
MeterSlugGT applies the GT predicate on the "meter_slug" field.
func MeterSlugGTE ¶
MeterSlugGTE applies the GTE predicate on the "meter_slug" field.
func MeterSlugHasPrefix ¶
MeterSlugHasPrefix applies the HasPrefix predicate on the "meter_slug" field.
func MeterSlugHasSuffix ¶
MeterSlugHasSuffix applies the HasSuffix predicate on the "meter_slug" field.
func MeterSlugIn ¶
MeterSlugIn applies the In predicate on the "meter_slug" field.
func MeterSlugIsNil ¶
MeterSlugIsNil applies the IsNil predicate on the "meter_slug" field.
func MeterSlugLT ¶
MeterSlugLT applies the LT predicate on the "meter_slug" field.
func MeterSlugLTE ¶
MeterSlugLTE applies the LTE predicate on the "meter_slug" field.
func MeterSlugNEQ ¶
MeterSlugNEQ applies the NEQ predicate on the "meter_slug" field.
func MeterSlugNotIn ¶
MeterSlugNotIn applies the NotIn predicate on the "meter_slug" field.
func MeterSlugNotNil ¶
MeterSlugNotNil applies the NotNil predicate on the "meter_slug" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func UnitCostLlmModel ¶
UnitCostLlmModel applies equality check predicate on the "unit_cost_llm_model" field. It's identical to UnitCostLlmModelEQ.
func UnitCostLlmModelContains ¶
UnitCostLlmModelContains applies the Contains predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelContainsFold ¶
UnitCostLlmModelContainsFold applies the ContainsFold predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelEQ ¶
UnitCostLlmModelEQ applies the EQ predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelEqualFold ¶
UnitCostLlmModelEqualFold applies the EqualFold predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelGT ¶
UnitCostLlmModelGT applies the GT predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelGTE ¶
UnitCostLlmModelGTE applies the GTE predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelHasPrefix ¶
UnitCostLlmModelHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelHasSuffix ¶
UnitCostLlmModelHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelIn ¶
UnitCostLlmModelIn applies the In predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelIsNil ¶
UnitCostLlmModelIsNil applies the IsNil predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelLT ¶
UnitCostLlmModelLT applies the LT predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelLTE ¶
UnitCostLlmModelLTE applies the LTE predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelNEQ ¶
UnitCostLlmModelNEQ applies the NEQ predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelNotIn ¶
UnitCostLlmModelNotIn applies the NotIn predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelNotNil ¶
UnitCostLlmModelNotNil applies the NotNil predicate on the "unit_cost_llm_model" field.
func UnitCostLlmModelProperty ¶
UnitCostLlmModelProperty applies equality check predicate on the "unit_cost_llm_model_property" field. It's identical to UnitCostLlmModelPropertyEQ.
func UnitCostLlmModelPropertyContains ¶
UnitCostLlmModelPropertyContains applies the Contains predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyContainsFold ¶
UnitCostLlmModelPropertyContainsFold applies the ContainsFold predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyEQ ¶
UnitCostLlmModelPropertyEQ applies the EQ predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyEqualFold ¶
UnitCostLlmModelPropertyEqualFold applies the EqualFold predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyGT ¶
UnitCostLlmModelPropertyGT applies the GT predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyGTE ¶
UnitCostLlmModelPropertyGTE applies the GTE predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyHasPrefix ¶
UnitCostLlmModelPropertyHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyHasSuffix ¶
UnitCostLlmModelPropertyHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyIn ¶
UnitCostLlmModelPropertyIn applies the In predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyIsNil ¶
UnitCostLlmModelPropertyIsNil applies the IsNil predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyLT ¶
UnitCostLlmModelPropertyLT applies the LT predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyLTE ¶
UnitCostLlmModelPropertyLTE applies the LTE predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyNEQ ¶
UnitCostLlmModelPropertyNEQ applies the NEQ predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyNotIn ¶
UnitCostLlmModelPropertyNotIn applies the NotIn predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmModelPropertyNotNil ¶
UnitCostLlmModelPropertyNotNil applies the NotNil predicate on the "unit_cost_llm_model_property" field.
func UnitCostLlmProvider ¶
UnitCostLlmProvider applies equality check predicate on the "unit_cost_llm_provider" field. It's identical to UnitCostLlmProviderEQ.
func UnitCostLlmProviderContains ¶
UnitCostLlmProviderContains applies the Contains predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderContainsFold ¶
UnitCostLlmProviderContainsFold applies the ContainsFold predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderEQ ¶
UnitCostLlmProviderEQ applies the EQ predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderEqualFold ¶
UnitCostLlmProviderEqualFold applies the EqualFold predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderGT ¶
UnitCostLlmProviderGT applies the GT predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderGTE ¶
UnitCostLlmProviderGTE applies the GTE predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderHasPrefix ¶
UnitCostLlmProviderHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderHasSuffix ¶
UnitCostLlmProviderHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderIn ¶
UnitCostLlmProviderIn applies the In predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderIsNil ¶
UnitCostLlmProviderIsNil applies the IsNil predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderLT ¶
UnitCostLlmProviderLT applies the LT predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderLTE ¶
UnitCostLlmProviderLTE applies the LTE predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderNEQ ¶
UnitCostLlmProviderNEQ applies the NEQ predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderNotIn ¶
UnitCostLlmProviderNotIn applies the NotIn predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderNotNil ¶
UnitCostLlmProviderNotNil applies the NotNil predicate on the "unit_cost_llm_provider" field.
func UnitCostLlmProviderProperty ¶
UnitCostLlmProviderProperty applies equality check predicate on the "unit_cost_llm_provider_property" field. It's identical to UnitCostLlmProviderPropertyEQ.
func UnitCostLlmProviderPropertyContains ¶
UnitCostLlmProviderPropertyContains applies the Contains predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyContainsFold ¶
UnitCostLlmProviderPropertyContainsFold applies the ContainsFold predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyEQ ¶
UnitCostLlmProviderPropertyEQ applies the EQ predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyEqualFold ¶
UnitCostLlmProviderPropertyEqualFold applies the EqualFold predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyGT ¶
UnitCostLlmProviderPropertyGT applies the GT predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyGTE ¶
UnitCostLlmProviderPropertyGTE applies the GTE predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyHasPrefix ¶
UnitCostLlmProviderPropertyHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyHasSuffix ¶
UnitCostLlmProviderPropertyHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyIn ¶
UnitCostLlmProviderPropertyIn applies the In predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyIsNil ¶
UnitCostLlmProviderPropertyIsNil applies the IsNil predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyLT ¶
UnitCostLlmProviderPropertyLT applies the LT predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyLTE ¶
UnitCostLlmProviderPropertyLTE applies the LTE predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyNEQ ¶
UnitCostLlmProviderPropertyNEQ applies the NEQ predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyNotIn ¶
UnitCostLlmProviderPropertyNotIn applies the NotIn predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmProviderPropertyNotNil ¶
UnitCostLlmProviderPropertyNotNil applies the NotNil predicate on the "unit_cost_llm_provider_property" field.
func UnitCostLlmTokenType ¶
UnitCostLlmTokenType applies equality check predicate on the "unit_cost_llm_token_type" field. It's identical to UnitCostLlmTokenTypeEQ.
func UnitCostLlmTokenTypeContains ¶
UnitCostLlmTokenTypeContains applies the Contains predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeContainsFold ¶
UnitCostLlmTokenTypeContainsFold applies the ContainsFold predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeEQ ¶
UnitCostLlmTokenTypeEQ applies the EQ predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeEqualFold ¶
UnitCostLlmTokenTypeEqualFold applies the EqualFold predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeGT ¶
UnitCostLlmTokenTypeGT applies the GT predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeGTE ¶
UnitCostLlmTokenTypeGTE applies the GTE predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeHasPrefix ¶
UnitCostLlmTokenTypeHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeHasSuffix ¶
UnitCostLlmTokenTypeHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeIn ¶
UnitCostLlmTokenTypeIn applies the In predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeIsNil ¶
UnitCostLlmTokenTypeIsNil applies the IsNil predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeLT ¶
UnitCostLlmTokenTypeLT applies the LT predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeLTE ¶
UnitCostLlmTokenTypeLTE applies the LTE predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeNEQ ¶
UnitCostLlmTokenTypeNEQ applies the NEQ predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeNotIn ¶
UnitCostLlmTokenTypeNotIn applies the NotIn predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeNotNil ¶
UnitCostLlmTokenTypeNotNil applies the NotNil predicate on the "unit_cost_llm_token_type" field.
func UnitCostLlmTokenTypeProperty ¶
UnitCostLlmTokenTypeProperty applies equality check predicate on the "unit_cost_llm_token_type_property" field. It's identical to UnitCostLlmTokenTypePropertyEQ.
func UnitCostLlmTokenTypePropertyContains ¶
UnitCostLlmTokenTypePropertyContains applies the Contains predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyContainsFold ¶
UnitCostLlmTokenTypePropertyContainsFold applies the ContainsFold predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyEQ ¶
UnitCostLlmTokenTypePropertyEQ applies the EQ predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyEqualFold ¶
UnitCostLlmTokenTypePropertyEqualFold applies the EqualFold predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyGT ¶
UnitCostLlmTokenTypePropertyGT applies the GT predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyGTE ¶
UnitCostLlmTokenTypePropertyGTE applies the GTE predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyHasPrefix ¶
UnitCostLlmTokenTypePropertyHasPrefix applies the HasPrefix predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyHasSuffix ¶
UnitCostLlmTokenTypePropertyHasSuffix applies the HasSuffix predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyIn ¶
UnitCostLlmTokenTypePropertyIn applies the In predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyIsNil ¶
UnitCostLlmTokenTypePropertyIsNil applies the IsNil predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyLT ¶
UnitCostLlmTokenTypePropertyLT applies the LT predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyLTE ¶
UnitCostLlmTokenTypePropertyLTE applies the LTE predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyNEQ ¶
UnitCostLlmTokenTypePropertyNEQ applies the NEQ predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyNotIn ¶
UnitCostLlmTokenTypePropertyNotIn applies the NotIn predicate on the "unit_cost_llm_token_type_property" field.
func UnitCostLlmTokenTypePropertyNotNil ¶
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 ¶
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 ¶
UnitCostManualAmountNotNil applies the NotNil predicate on the "unit_cost_manual_amount" field.
func UnitCostType ¶
UnitCostType applies equality check predicate on the "unit_cost_type" field. It's identical to UnitCostTypeEQ.
func UnitCostTypeContains ¶
UnitCostTypeContains applies the Contains predicate on the "unit_cost_type" field.
func UnitCostTypeContainsFold ¶
UnitCostTypeContainsFold applies the ContainsFold predicate on the "unit_cost_type" field.
func UnitCostTypeEQ ¶
UnitCostTypeEQ applies the EQ predicate on the "unit_cost_type" field.
func UnitCostTypeEqualFold ¶
UnitCostTypeEqualFold applies the EqualFold predicate on the "unit_cost_type" field.
func UnitCostTypeGT ¶
UnitCostTypeGT applies the GT predicate on the "unit_cost_type" field.
func UnitCostTypeGTE ¶
UnitCostTypeGTE applies the GTE predicate on the "unit_cost_type" field.
func UnitCostTypeHasPrefix ¶
UnitCostTypeHasPrefix applies the HasPrefix predicate on the "unit_cost_type" field.
func UnitCostTypeHasSuffix ¶
UnitCostTypeHasSuffix applies the HasSuffix predicate on the "unit_cost_type" field.
func UnitCostTypeIn ¶
UnitCostTypeIn applies the In predicate on the "unit_cost_type" field.
func UnitCostTypeIsNil ¶
UnitCostTypeIsNil applies the IsNil predicate on the "unit_cost_type" field.
func UnitCostTypeLT ¶
UnitCostTypeLT applies the LT predicate on the "unit_cost_type" field.
func UnitCostTypeLTE ¶
UnitCostTypeLTE applies the LTE predicate on the "unit_cost_type" field.
func UnitCostTypeNEQ ¶
UnitCostTypeNEQ applies the NEQ predicate on the "unit_cost_type" field.
func UnitCostTypeNotIn ¶
UnitCostTypeNotIn applies the NotIn predicate on the "unit_cost_type" field.
func UnitCostTypeNotNil ¶
UnitCostTypeNotNil applies the NotNil predicate on the "unit_cost_type" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.