Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BillingInvoiceItem) predicate.BillingInvoiceItem
- func CreatedAt(v time.Time) predicate.BillingInvoiceItem
- func CreatedAtEQ(v time.Time) predicate.BillingInvoiceItem
- func CreatedAtGT(v time.Time) predicate.BillingInvoiceItem
- func CreatedAtGTE(v time.Time) predicate.BillingInvoiceItem
- func CreatedAtIn(vs ...time.Time) predicate.BillingInvoiceItem
- func CreatedAtLT(v time.Time) predicate.BillingInvoiceItem
- func CreatedAtLTE(v time.Time) predicate.BillingInvoiceItem
- func CreatedAtNEQ(v time.Time) predicate.BillingInvoiceItem
- func CreatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
- func Currency(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyContains(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyContainsFold(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyEQ(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyEqualFold(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyGT(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyGTE(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyHasPrefix(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyHasSuffix(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyIn(vs ...currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyLT(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyLTE(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyNEQ(v currencyx.Code) predicate.BillingInvoiceItem
- func CurrencyNotIn(vs ...currencyx.Code) predicate.BillingInvoiceItem
- func CustomerID(v string) predicate.BillingInvoiceItem
- func CustomerIDContains(v string) predicate.BillingInvoiceItem
- func CustomerIDContainsFold(v string) predicate.BillingInvoiceItem
- func CustomerIDEQ(v string) predicate.BillingInvoiceItem
- func CustomerIDEqualFold(v string) predicate.BillingInvoiceItem
- func CustomerIDGT(v string) predicate.BillingInvoiceItem
- func CustomerIDGTE(v string) predicate.BillingInvoiceItem
- func CustomerIDHasPrefix(v string) predicate.BillingInvoiceItem
- func CustomerIDHasSuffix(v string) predicate.BillingInvoiceItem
- func CustomerIDIn(vs ...string) predicate.BillingInvoiceItem
- func CustomerIDLT(v string) predicate.BillingInvoiceItem
- func CustomerIDLTE(v string) predicate.BillingInvoiceItem
- func CustomerIDNEQ(v string) predicate.BillingInvoiceItem
- func CustomerIDNotIn(vs ...string) predicate.BillingInvoiceItem
- func DeletedAt(v time.Time) predicate.BillingInvoiceItem
- func DeletedAtEQ(v time.Time) predicate.BillingInvoiceItem
- func DeletedAtGT(v time.Time) predicate.BillingInvoiceItem
- func DeletedAtGTE(v time.Time) predicate.BillingInvoiceItem
- func DeletedAtIn(vs ...time.Time) predicate.BillingInvoiceItem
- func DeletedAtIsNil() predicate.BillingInvoiceItem
- func DeletedAtLT(v time.Time) predicate.BillingInvoiceItem
- func DeletedAtLTE(v time.Time) predicate.BillingInvoiceItem
- func DeletedAtNEQ(v time.Time) predicate.BillingInvoiceItem
- func DeletedAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
- func DeletedAtNotNil() predicate.BillingInvoiceItem
- func HasBillingInvoice() predicate.BillingInvoiceItem
- func HasBillingInvoiceWith(preds ...predicate.BillingInvoice) predicate.BillingInvoiceItem
- func ID(id string) predicate.BillingInvoiceItem
- func IDContainsFold(id string) predicate.BillingInvoiceItem
- func IDEQ(id string) predicate.BillingInvoiceItem
- func IDEqualFold(id string) predicate.BillingInvoiceItem
- func IDGT(id string) predicate.BillingInvoiceItem
- func IDGTE(id string) predicate.BillingInvoiceItem
- func IDIn(ids ...string) predicate.BillingInvoiceItem
- func IDLT(id string) predicate.BillingInvoiceItem
- func IDLTE(id string) predicate.BillingInvoiceItem
- func IDNEQ(id string) predicate.BillingInvoiceItem
- func IDNotIn(ids ...string) predicate.BillingInvoiceItem
- func InvoiceAt(v time.Time) predicate.BillingInvoiceItem
- func InvoiceAtEQ(v time.Time) predicate.BillingInvoiceItem
- func InvoiceAtGT(v time.Time) predicate.BillingInvoiceItem
- func InvoiceAtGTE(v time.Time) predicate.BillingInvoiceItem
- func InvoiceAtIn(vs ...time.Time) predicate.BillingInvoiceItem
- func InvoiceAtLT(v time.Time) predicate.BillingInvoiceItem
- func InvoiceAtLTE(v time.Time) predicate.BillingInvoiceItem
- func InvoiceAtNEQ(v time.Time) predicate.BillingInvoiceItem
- func InvoiceAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
- func InvoiceID(v string) predicate.BillingInvoiceItem
- func InvoiceIDContains(v string) predicate.BillingInvoiceItem
- func InvoiceIDContainsFold(v string) predicate.BillingInvoiceItem
- func InvoiceIDEQ(v string) predicate.BillingInvoiceItem
- func InvoiceIDEqualFold(v string) predicate.BillingInvoiceItem
- func InvoiceIDGT(v string) predicate.BillingInvoiceItem
- func InvoiceIDGTE(v string) predicate.BillingInvoiceItem
- func InvoiceIDHasPrefix(v string) predicate.BillingInvoiceItem
- func InvoiceIDHasSuffix(v string) predicate.BillingInvoiceItem
- func InvoiceIDIn(vs ...string) predicate.BillingInvoiceItem
- func InvoiceIDIsNil() predicate.BillingInvoiceItem
- func InvoiceIDLT(v string) predicate.BillingInvoiceItem
- func InvoiceIDLTE(v string) predicate.BillingInvoiceItem
- func InvoiceIDNEQ(v string) predicate.BillingInvoiceItem
- func InvoiceIDNotIn(vs ...string) predicate.BillingInvoiceItem
- func InvoiceIDNotNil() predicate.BillingInvoiceItem
- func MetadataIsNil() predicate.BillingInvoiceItem
- func MetadataNotNil() predicate.BillingInvoiceItem
- func Name(v string) predicate.BillingInvoiceItem
- func NameContains(v string) predicate.BillingInvoiceItem
- func NameContainsFold(v string) predicate.BillingInvoiceItem
- func NameEQ(v string) predicate.BillingInvoiceItem
- func NameEqualFold(v string) predicate.BillingInvoiceItem
- func NameGT(v string) predicate.BillingInvoiceItem
- func NameGTE(v string) predicate.BillingInvoiceItem
- func NameHasPrefix(v string) predicate.BillingInvoiceItem
- func NameHasSuffix(v string) predicate.BillingInvoiceItem
- func NameIn(vs ...string) predicate.BillingInvoiceItem
- func NameLT(v string) predicate.BillingInvoiceItem
- func NameLTE(v string) predicate.BillingInvoiceItem
- func NameNEQ(v string) predicate.BillingInvoiceItem
- func NameNotIn(vs ...string) predicate.BillingInvoiceItem
- func Namespace(v string) predicate.BillingInvoiceItem
- func NamespaceContains(v string) predicate.BillingInvoiceItem
- func NamespaceContainsFold(v string) predicate.BillingInvoiceItem
- func NamespaceEQ(v string) predicate.BillingInvoiceItem
- func NamespaceEqualFold(v string) predicate.BillingInvoiceItem
- func NamespaceGT(v string) predicate.BillingInvoiceItem
- func NamespaceGTE(v string) predicate.BillingInvoiceItem
- func NamespaceHasPrefix(v string) predicate.BillingInvoiceItem
- func NamespaceHasSuffix(v string) predicate.BillingInvoiceItem
- func NamespaceIn(vs ...string) predicate.BillingInvoiceItem
- func NamespaceLT(v string) predicate.BillingInvoiceItem
- func NamespaceLTE(v string) predicate.BillingInvoiceItem
- func NamespaceNEQ(v string) predicate.BillingInvoiceItem
- func NamespaceNotIn(vs ...string) predicate.BillingInvoiceItem
- func Not(p predicate.BillingInvoiceItem) predicate.BillingInvoiceItem
- func Or(predicates ...predicate.BillingInvoiceItem) predicate.BillingInvoiceItem
- func PeriodEnd(v time.Time) predicate.BillingInvoiceItem
- func PeriodEndEQ(v time.Time) predicate.BillingInvoiceItem
- func PeriodEndGT(v time.Time) predicate.BillingInvoiceItem
- func PeriodEndGTE(v time.Time) predicate.BillingInvoiceItem
- func PeriodEndIn(vs ...time.Time) predicate.BillingInvoiceItem
- func PeriodEndLT(v time.Time) predicate.BillingInvoiceItem
- func PeriodEndLTE(v time.Time) predicate.BillingInvoiceItem
- func PeriodEndNEQ(v time.Time) predicate.BillingInvoiceItem
- func PeriodEndNotIn(vs ...time.Time) predicate.BillingInvoiceItem
- func PeriodStart(v time.Time) predicate.BillingInvoiceItem
- func PeriodStartEQ(v time.Time) predicate.BillingInvoiceItem
- func PeriodStartGT(v time.Time) predicate.BillingInvoiceItem
- func PeriodStartGTE(v time.Time) predicate.BillingInvoiceItem
- func PeriodStartIn(vs ...time.Time) predicate.BillingInvoiceItem
- func PeriodStartLT(v time.Time) predicate.BillingInvoiceItem
- func PeriodStartLTE(v time.Time) predicate.BillingInvoiceItem
- func PeriodStartNEQ(v time.Time) predicate.BillingInvoiceItem
- func PeriodStartNotIn(vs ...time.Time) predicate.BillingInvoiceItem
- func Quantity(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityGT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityGTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityIsNil() predicate.BillingInvoiceItem
- func QuantityLT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityLTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityNEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityNotIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func QuantityNotNil() predicate.BillingInvoiceItem
- func TypeEQ(v billing.InvoiceItemType) predicate.BillingInvoiceItem
- func TypeIn(vs ...billing.InvoiceItemType) predicate.BillingInvoiceItem
- func TypeNEQ(v billing.InvoiceItemType) predicate.BillingInvoiceItem
- func TypeNotIn(vs ...billing.InvoiceItemType) predicate.BillingInvoiceItem
- func TypeValidator(_type billing.InvoiceItemType) error
- func UnitPrice(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceGT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceGTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceLT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceLTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceNEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UnitPriceNotIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
- func UpdatedAt(v time.Time) predicate.BillingInvoiceItem
- func UpdatedAtEQ(v time.Time) predicate.BillingInvoiceItem
- func UpdatedAtGT(v time.Time) predicate.BillingInvoiceItem
- func UpdatedAtGTE(v time.Time) predicate.BillingInvoiceItem
- func UpdatedAtIn(vs ...time.Time) predicate.BillingInvoiceItem
- func UpdatedAtLT(v time.Time) predicate.BillingInvoiceItem
- func UpdatedAtLTE(v time.Time) predicate.BillingInvoiceItem
- func UpdatedAtNEQ(v time.Time) predicate.BillingInvoiceItem
- func UpdatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
- func ValidColumn(column string) bool
- type OrderOption
- func ByBillingInvoiceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCurrency(opts ...sql.OrderTermOption) OrderOption
- func ByCustomerID(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInvoiceAt(opts ...sql.OrderTermOption) OrderOption
- func ByInvoiceID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByPeriodEnd(opts ...sql.OrderTermOption) OrderOption
- func ByPeriodStart(opts ...sql.OrderTermOption) OrderOption
- func ByQuantity(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUnitPrice(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the billinginvoiceitem type in the database. Label = "billing_invoice_item" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // 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" // FieldInvoiceID holds the string denoting the invoice_id field in the database. FieldInvoiceID = "invoice_id" // FieldCustomerID holds the string denoting the customer_id field in the database. FieldCustomerID = "customer_id" // FieldPeriodStart holds the string denoting the period_start field in the database. FieldPeriodStart = "period_start" // FieldPeriodEnd holds the string denoting the period_end field in the database. FieldPeriodEnd = "period_end" // FieldInvoiceAt holds the string denoting the invoice_at field in the database. FieldInvoiceAt = "invoice_at" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldQuantity holds the string denoting the quantity field in the database. FieldQuantity = "quantity" // FieldUnitPrice holds the string denoting the unit_price field in the database. FieldUnitPrice = "unit_price" // FieldCurrency holds the string denoting the currency field in the database. FieldCurrency = "currency" // FieldTaxCodeOverride holds the string denoting the tax_code_override field in the database. FieldTaxCodeOverride = "tax_code_override" // EdgeBillingInvoice holds the string denoting the billing_invoice edge name in mutations. EdgeBillingInvoice = "billing_invoice" // Table holds the table name of the billinginvoiceitem in the database. Table = "billing_invoice_items" // BillingInvoiceTable is the table that holds the billing_invoice relation/edge. BillingInvoiceTable = "billing_invoice_items" // BillingInvoiceInverseTable is the table name for the BillingInvoice entity. // It exists in this package in order to avoid circular dependency with the "billinginvoice" package. BillingInvoiceInverseTable = "billing_invoices" // BillingInvoiceColumn is the table column denoting the billing_invoice relation/edge. BillingInvoiceColumn = "invoice_id" )
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // 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 // CustomerIDValidator is a validator for the "customer_id" field. It is called by the builders before save. CustomerIDValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // CurrencyValidator is a validator for the "currency" field. It is called by the builders before save. CurrencyValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldNamespace, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldMetadata, FieldInvoiceID, FieldCustomerID, FieldPeriodStart, FieldPeriodEnd, FieldInvoiceAt, FieldType, FieldName, FieldQuantity, FieldUnitPrice, FieldCurrency, FieldTaxCodeOverride, }
Columns holds all SQL columns for billinginvoiceitem fields.
Functions ¶
func And ¶
func And(predicates ...predicate.BillingInvoiceItem) predicate.BillingInvoiceItem
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.BillingInvoiceItem
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.BillingInvoiceItem
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.BillingInvoiceItem
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.BillingInvoiceItem
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.BillingInvoiceItem
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.BillingInvoiceItem
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.BillingInvoiceItem
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.BillingInvoiceItem
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Currency ¶
func Currency(v currencyx.Code) predicate.BillingInvoiceItem
Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.
func CurrencyContains ¶
func CurrencyContains(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyContains applies the Contains predicate on the "currency" field.
func CurrencyContainsFold ¶
func CurrencyContainsFold(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.
func CurrencyEQ ¶
func CurrencyEQ(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyEQ applies the EQ predicate on the "currency" field.
func CurrencyEqualFold ¶
func CurrencyEqualFold(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyEqualFold applies the EqualFold predicate on the "currency" field.
func CurrencyGT ¶
func CurrencyGT(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyGT applies the GT predicate on the "currency" field.
func CurrencyGTE ¶
func CurrencyGTE(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyGTE applies the GTE predicate on the "currency" field.
func CurrencyHasPrefix ¶
func CurrencyHasPrefix(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.
func CurrencyHasSuffix ¶
func CurrencyHasSuffix(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.
func CurrencyIn ¶
func CurrencyIn(vs ...currencyx.Code) predicate.BillingInvoiceItem
CurrencyIn applies the In predicate on the "currency" field.
func CurrencyLT ¶
func CurrencyLT(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyLT applies the LT predicate on the "currency" field.
func CurrencyLTE ¶
func CurrencyLTE(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyLTE applies the LTE predicate on the "currency" field.
func CurrencyNEQ ¶
func CurrencyNEQ(v currencyx.Code) predicate.BillingInvoiceItem
CurrencyNEQ applies the NEQ predicate on the "currency" field.
func CurrencyNotIn ¶
func CurrencyNotIn(vs ...currencyx.Code) predicate.BillingInvoiceItem
CurrencyNotIn applies the NotIn predicate on the "currency" field.
func CustomerID ¶
func CustomerID(v string) predicate.BillingInvoiceItem
CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.
func CustomerIDContains ¶
func CustomerIDContains(v string) predicate.BillingInvoiceItem
CustomerIDContains applies the Contains predicate on the "customer_id" field.
func CustomerIDContainsFold ¶
func CustomerIDContainsFold(v string) predicate.BillingInvoiceItem
CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.
func CustomerIDEQ ¶
func CustomerIDEQ(v string) predicate.BillingInvoiceItem
CustomerIDEQ applies the EQ predicate on the "customer_id" field.
func CustomerIDEqualFold ¶
func CustomerIDEqualFold(v string) predicate.BillingInvoiceItem
CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.
func CustomerIDGT ¶
func CustomerIDGT(v string) predicate.BillingInvoiceItem
CustomerIDGT applies the GT predicate on the "customer_id" field.
func CustomerIDGTE ¶
func CustomerIDGTE(v string) predicate.BillingInvoiceItem
CustomerIDGTE applies the GTE predicate on the "customer_id" field.
func CustomerIDHasPrefix ¶
func CustomerIDHasPrefix(v string) predicate.BillingInvoiceItem
CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.
func CustomerIDHasSuffix ¶
func CustomerIDHasSuffix(v string) predicate.BillingInvoiceItem
CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.
func CustomerIDIn ¶
func CustomerIDIn(vs ...string) predicate.BillingInvoiceItem
CustomerIDIn applies the In predicate on the "customer_id" field.
func CustomerIDLT ¶
func CustomerIDLT(v string) predicate.BillingInvoiceItem
CustomerIDLT applies the LT predicate on the "customer_id" field.
func CustomerIDLTE ¶
func CustomerIDLTE(v string) predicate.BillingInvoiceItem
CustomerIDLTE applies the LTE predicate on the "customer_id" field.
func CustomerIDNEQ ¶
func CustomerIDNEQ(v string) predicate.BillingInvoiceItem
CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.
func CustomerIDNotIn ¶
func CustomerIDNotIn(vs ...string) predicate.BillingInvoiceItem
CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.BillingInvoiceItem
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.BillingInvoiceItem
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.BillingInvoiceItem
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.BillingInvoiceItem
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.BillingInvoiceItem
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.BillingInvoiceItem
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.BillingInvoiceItem
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.BillingInvoiceItem
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.BillingInvoiceItem
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.BillingInvoiceItem
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasBillingInvoice ¶
func HasBillingInvoice() predicate.BillingInvoiceItem
HasBillingInvoice applies the HasEdge predicate on the "billing_invoice" edge.
func HasBillingInvoiceWith ¶
func HasBillingInvoiceWith(preds ...predicate.BillingInvoice) predicate.BillingInvoiceItem
HasBillingInvoiceWith applies the HasEdge predicate on the "billing_invoice" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.BillingInvoiceItem
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.BillingInvoiceItem
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.BillingInvoiceItem
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.BillingInvoiceItem
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.BillingInvoiceItem
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.BillingInvoiceItem
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.BillingInvoiceItem
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.BillingInvoiceItem
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.BillingInvoiceItem
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.BillingInvoiceItem
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.BillingInvoiceItem
IDNotIn applies the NotIn predicate on the ID field.
func InvoiceAt ¶
func InvoiceAt(v time.Time) predicate.BillingInvoiceItem
InvoiceAt applies equality check predicate on the "invoice_at" field. It's identical to InvoiceAtEQ.
func InvoiceAtEQ ¶
func InvoiceAtEQ(v time.Time) predicate.BillingInvoiceItem
InvoiceAtEQ applies the EQ predicate on the "invoice_at" field.
func InvoiceAtGT ¶
func InvoiceAtGT(v time.Time) predicate.BillingInvoiceItem
InvoiceAtGT applies the GT predicate on the "invoice_at" field.
func InvoiceAtGTE ¶
func InvoiceAtGTE(v time.Time) predicate.BillingInvoiceItem
InvoiceAtGTE applies the GTE predicate on the "invoice_at" field.
func InvoiceAtIn ¶
func InvoiceAtIn(vs ...time.Time) predicate.BillingInvoiceItem
InvoiceAtIn applies the In predicate on the "invoice_at" field.
func InvoiceAtLT ¶
func InvoiceAtLT(v time.Time) predicate.BillingInvoiceItem
InvoiceAtLT applies the LT predicate on the "invoice_at" field.
func InvoiceAtLTE ¶
func InvoiceAtLTE(v time.Time) predicate.BillingInvoiceItem
InvoiceAtLTE applies the LTE predicate on the "invoice_at" field.
func InvoiceAtNEQ ¶
func InvoiceAtNEQ(v time.Time) predicate.BillingInvoiceItem
InvoiceAtNEQ applies the NEQ predicate on the "invoice_at" field.
func InvoiceAtNotIn ¶
func InvoiceAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
InvoiceAtNotIn applies the NotIn predicate on the "invoice_at" field.
func InvoiceID ¶
func InvoiceID(v string) predicate.BillingInvoiceItem
InvoiceID applies equality check predicate on the "invoice_id" field. It's identical to InvoiceIDEQ.
func InvoiceIDContains ¶
func InvoiceIDContains(v string) predicate.BillingInvoiceItem
InvoiceIDContains applies the Contains predicate on the "invoice_id" field.
func InvoiceIDContainsFold ¶
func InvoiceIDContainsFold(v string) predicate.BillingInvoiceItem
InvoiceIDContainsFold applies the ContainsFold predicate on the "invoice_id" field.
func InvoiceIDEQ ¶
func InvoiceIDEQ(v string) predicate.BillingInvoiceItem
InvoiceIDEQ applies the EQ predicate on the "invoice_id" field.
func InvoiceIDEqualFold ¶
func InvoiceIDEqualFold(v string) predicate.BillingInvoiceItem
InvoiceIDEqualFold applies the EqualFold predicate on the "invoice_id" field.
func InvoiceIDGT ¶
func InvoiceIDGT(v string) predicate.BillingInvoiceItem
InvoiceIDGT applies the GT predicate on the "invoice_id" field.
func InvoiceIDGTE ¶
func InvoiceIDGTE(v string) predicate.BillingInvoiceItem
InvoiceIDGTE applies the GTE predicate on the "invoice_id" field.
func InvoiceIDHasPrefix ¶
func InvoiceIDHasPrefix(v string) predicate.BillingInvoiceItem
InvoiceIDHasPrefix applies the HasPrefix predicate on the "invoice_id" field.
func InvoiceIDHasSuffix ¶
func InvoiceIDHasSuffix(v string) predicate.BillingInvoiceItem
InvoiceIDHasSuffix applies the HasSuffix predicate on the "invoice_id" field.
func InvoiceIDIn ¶
func InvoiceIDIn(vs ...string) predicate.BillingInvoiceItem
InvoiceIDIn applies the In predicate on the "invoice_id" field.
func InvoiceIDIsNil ¶
func InvoiceIDIsNil() predicate.BillingInvoiceItem
InvoiceIDIsNil applies the IsNil predicate on the "invoice_id" field.
func InvoiceIDLT ¶
func InvoiceIDLT(v string) predicate.BillingInvoiceItem
InvoiceIDLT applies the LT predicate on the "invoice_id" field.
func InvoiceIDLTE ¶
func InvoiceIDLTE(v string) predicate.BillingInvoiceItem
InvoiceIDLTE applies the LTE predicate on the "invoice_id" field.
func InvoiceIDNEQ ¶
func InvoiceIDNEQ(v string) predicate.BillingInvoiceItem
InvoiceIDNEQ applies the NEQ predicate on the "invoice_id" field.
func InvoiceIDNotIn ¶
func InvoiceIDNotIn(vs ...string) predicate.BillingInvoiceItem
InvoiceIDNotIn applies the NotIn predicate on the "invoice_id" field.
func InvoiceIDNotNil ¶
func InvoiceIDNotNil() predicate.BillingInvoiceItem
InvoiceIDNotNil applies the NotNil predicate on the "invoice_id" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.BillingInvoiceItem
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.BillingInvoiceItem
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Name ¶
func Name(v string) predicate.BillingInvoiceItem
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.BillingInvoiceItem
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.BillingInvoiceItem
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.BillingInvoiceItem
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.BillingInvoiceItem
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.BillingInvoiceItem
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.BillingInvoiceItem
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.BillingInvoiceItem
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.BillingInvoiceItem
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.BillingInvoiceItem
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.BillingInvoiceItem
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.BillingInvoiceItem
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.BillingInvoiceItem
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.BillingInvoiceItem
NameNotIn applies the NotIn predicate on the "name" field.
func Namespace ¶
func Namespace(v string) predicate.BillingInvoiceItem
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.BillingInvoiceItem
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.BillingInvoiceItem
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.BillingInvoiceItem
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.BillingInvoiceItem
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.BillingInvoiceItem
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.BillingInvoiceItem
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.BillingInvoiceItem
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.BillingInvoiceItem
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.BillingInvoiceItem
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.BillingInvoiceItem
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.BillingInvoiceItem
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.BillingInvoiceItem
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.BillingInvoiceItem
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.BillingInvoiceItem) predicate.BillingInvoiceItem
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.BillingInvoiceItem) predicate.BillingInvoiceItem
Or groups predicates with the OR operator between them.
func PeriodEnd ¶
func PeriodEnd(v time.Time) predicate.BillingInvoiceItem
PeriodEnd applies equality check predicate on the "period_end" field. It's identical to PeriodEndEQ.
func PeriodEndEQ ¶
func PeriodEndEQ(v time.Time) predicate.BillingInvoiceItem
PeriodEndEQ applies the EQ predicate on the "period_end" field.
func PeriodEndGT ¶
func PeriodEndGT(v time.Time) predicate.BillingInvoiceItem
PeriodEndGT applies the GT predicate on the "period_end" field.
func PeriodEndGTE ¶
func PeriodEndGTE(v time.Time) predicate.BillingInvoiceItem
PeriodEndGTE applies the GTE predicate on the "period_end" field.
func PeriodEndIn ¶
func PeriodEndIn(vs ...time.Time) predicate.BillingInvoiceItem
PeriodEndIn applies the In predicate on the "period_end" field.
func PeriodEndLT ¶
func PeriodEndLT(v time.Time) predicate.BillingInvoiceItem
PeriodEndLT applies the LT predicate on the "period_end" field.
func PeriodEndLTE ¶
func PeriodEndLTE(v time.Time) predicate.BillingInvoiceItem
PeriodEndLTE applies the LTE predicate on the "period_end" field.
func PeriodEndNEQ ¶
func PeriodEndNEQ(v time.Time) predicate.BillingInvoiceItem
PeriodEndNEQ applies the NEQ predicate on the "period_end" field.
func PeriodEndNotIn ¶
func PeriodEndNotIn(vs ...time.Time) predicate.BillingInvoiceItem
PeriodEndNotIn applies the NotIn predicate on the "period_end" field.
func PeriodStart ¶
func PeriodStart(v time.Time) predicate.BillingInvoiceItem
PeriodStart applies equality check predicate on the "period_start" field. It's identical to PeriodStartEQ.
func PeriodStartEQ ¶
func PeriodStartEQ(v time.Time) predicate.BillingInvoiceItem
PeriodStartEQ applies the EQ predicate on the "period_start" field.
func PeriodStartGT ¶
func PeriodStartGT(v time.Time) predicate.BillingInvoiceItem
PeriodStartGT applies the GT predicate on the "period_start" field.
func PeriodStartGTE ¶
func PeriodStartGTE(v time.Time) predicate.BillingInvoiceItem
PeriodStartGTE applies the GTE predicate on the "period_start" field.
func PeriodStartIn ¶
func PeriodStartIn(vs ...time.Time) predicate.BillingInvoiceItem
PeriodStartIn applies the In predicate on the "period_start" field.
func PeriodStartLT ¶
func PeriodStartLT(v time.Time) predicate.BillingInvoiceItem
PeriodStartLT applies the LT predicate on the "period_start" field.
func PeriodStartLTE ¶
func PeriodStartLTE(v time.Time) predicate.BillingInvoiceItem
PeriodStartLTE applies the LTE predicate on the "period_start" field.
func PeriodStartNEQ ¶
func PeriodStartNEQ(v time.Time) predicate.BillingInvoiceItem
PeriodStartNEQ applies the NEQ predicate on the "period_start" field.
func PeriodStartNotIn ¶
func PeriodStartNotIn(vs ...time.Time) predicate.BillingInvoiceItem
PeriodStartNotIn applies the NotIn predicate on the "period_start" field.
func Quantity ¶
func Quantity(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func QuantityEQ ¶
func QuantityEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityGT ¶
func QuantityGT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGTE ¶
func QuantityGTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityIn ¶
func QuantityIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityIn applies the In predicate on the "quantity" field.
func QuantityIsNil ¶
func QuantityIsNil() predicate.BillingInvoiceItem
QuantityIsNil applies the IsNil predicate on the "quantity" field.
func QuantityLT ¶
func QuantityLT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLTE ¶
func QuantityLTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityNEQ ¶
func QuantityNEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNotIn ¶
func QuantityNotIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
QuantityNotIn applies the NotIn predicate on the "quantity" field.
func QuantityNotNil ¶
func QuantityNotNil() predicate.BillingInvoiceItem
QuantityNotNil applies the NotNil predicate on the "quantity" field.
func TypeEQ ¶
func TypeEQ(v billing.InvoiceItemType) predicate.BillingInvoiceItem
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...billing.InvoiceItemType) predicate.BillingInvoiceItem
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v billing.InvoiceItemType) predicate.BillingInvoiceItem
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...billing.InvoiceItemType) predicate.BillingInvoiceItem
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeValidator ¶
func TypeValidator(_type billing.InvoiceItemType) error
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UnitPrice ¶
func UnitPrice(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPrice applies equality check predicate on the "unit_price" field. It's identical to UnitPriceEQ.
func UnitPriceEQ ¶
func UnitPriceEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceEQ applies the EQ predicate on the "unit_price" field.
func UnitPriceGT ¶
func UnitPriceGT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceGT applies the GT predicate on the "unit_price" field.
func UnitPriceGTE ¶
func UnitPriceGTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceGTE applies the GTE predicate on the "unit_price" field.
func UnitPriceIn ¶
func UnitPriceIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceIn applies the In predicate on the "unit_price" field.
func UnitPriceLT ¶
func UnitPriceLT(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceLT applies the LT predicate on the "unit_price" field.
func UnitPriceLTE ¶
func UnitPriceLTE(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceLTE applies the LTE predicate on the "unit_price" field.
func UnitPriceNEQ ¶
func UnitPriceNEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceNEQ applies the NEQ predicate on the "unit_price" field.
func UnitPriceNotIn ¶
func UnitPriceNotIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceItem
UnitPriceNotIn applies the NotIn predicate on the "unit_price" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.BillingInvoiceItem
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.BillingInvoiceItem
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.BillingInvoiceItem
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.BillingInvoiceItem
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.BillingInvoiceItem
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.BillingInvoiceItem
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.BillingInvoiceItem
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.BillingInvoiceItem
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceItem
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 BillingInvoiceItem queries.
func ByBillingInvoiceField ¶
func ByBillingInvoiceField(field string, opts ...sql.OrderTermOption) OrderOption
ByBillingInvoiceField orders the results by billing_invoice field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCurrency ¶
func ByCurrency(opts ...sql.OrderTermOption) OrderOption
ByCurrency orders the results by the currency field.
func ByCustomerID ¶
func ByCustomerID(opts ...sql.OrderTermOption) OrderOption
ByCustomerID orders the results by the customer_id field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInvoiceAt ¶
func ByInvoiceAt(opts ...sql.OrderTermOption) OrderOption
ByInvoiceAt orders the results by the invoice_at field.
func ByInvoiceID ¶
func ByInvoiceID(opts ...sql.OrderTermOption) OrderOption
ByInvoiceID orders the results by the invoice_id 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 ByPeriodEnd ¶
func ByPeriodEnd(opts ...sql.OrderTermOption) OrderOption
ByPeriodEnd orders the results by the period_end field.
func ByPeriodStart ¶
func ByPeriodStart(opts ...sql.OrderTermOption) OrderOption
ByPeriodStart orders the results by the period_start field.
func ByQuantity ¶
func ByQuantity(opts ...sql.OrderTermOption) OrderOption
ByQuantity orders the results by the quantity field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUnitPrice ¶
func ByUnitPrice(opts ...sql.OrderTermOption) OrderOption
ByUnitPrice orders the results by the unit_price field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.