billinginvoiceitem

package
v1.0.0-beta.185 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for billinginvoiceitem fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

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

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

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

func CurrencyGTE

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

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

func CurrencyLTE

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

func CurrencyNEQ

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

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

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

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

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InvoiceAt

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

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

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

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

func NameGTE

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

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

func NameLTE

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

func NameNEQ

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PeriodEnd

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

Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.

func QuantityEQ

QuantityEQ applies the EQ predicate on the "quantity" field.

func QuantityGT

QuantityGT applies the GT predicate on the "quantity" field.

func QuantityGTE

QuantityGTE applies the GTE predicate on the "quantity" field.

func QuantityIn

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

QuantityLT applies the LT predicate on the "quantity" field.

func QuantityLTE

QuantityLTE applies the LTE predicate on the "quantity" field.

func QuantityNEQ

QuantityNEQ applies the NEQ predicate on the "quantity" field.

func QuantityNotIn

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

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

func TypeIn

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

func TypeNEQ

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

func TypeNotIn

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

UnitPrice applies equality check predicate on the "unit_price" field. It's identical to UnitPriceEQ.

func UnitPriceEQ

UnitPriceEQ applies the EQ predicate on the "unit_price" field.

func UnitPriceGT

UnitPriceGT applies the GT predicate on the "unit_price" field.

func UnitPriceGTE

UnitPriceGTE applies the GTE predicate on the "unit_price" field.

func UnitPriceIn

UnitPriceIn applies the In predicate on the "unit_price" field.

func UnitPriceLT

UnitPriceLT applies the LT predicate on the "unit_price" field.

func UnitPriceLTE

UnitPriceLTE applies the LTE predicate on the "unit_price" field.

func UnitPriceNEQ

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the 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.

Jump to

Keyboard shortcuts

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