Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountGT(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountGTE(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountLT(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountLTE(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountNEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func AmountNotIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
- func And(predicates ...predicate.BillingInvoiceLineDiscount) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceID(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDContains(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDContainsFold(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDEQ(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDEqualFold(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDGT(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDGTE(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDIsNil() predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDLT(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDLTE(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDNEQ(v string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func ChildUniqueReferenceIDNotNil() predicate.BillingInvoiceLineDiscount
- func CreatedAt(v time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtEQ(v time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtGT(v time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtGTE(v time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtLT(v time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtLTE(v time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtNEQ(v time.Time) predicate.BillingInvoiceLineDiscount
- func CreatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAt(v time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtEQ(v time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtGT(v time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtGTE(v time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtIsNil() predicate.BillingInvoiceLineDiscount
- func DeletedAtLT(v time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtLTE(v time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtNEQ(v time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtNotIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
- func DeletedAtNotNil() predicate.BillingInvoiceLineDiscount
- func Description(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionContains(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionContainsFold(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionEQ(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionEqualFold(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionGT(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionGTE(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionHasPrefix(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionHasSuffix(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func DescriptionIsNil() predicate.BillingInvoiceLineDiscount
- func DescriptionLT(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionLTE(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionNEQ(v string) predicate.BillingInvoiceLineDiscount
- func DescriptionNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func DescriptionNotNil() predicate.BillingInvoiceLineDiscount
- func HasBillingInvoiceLine() predicate.BillingInvoiceLineDiscount
- func HasBillingInvoiceLineWith(preds ...predicate.BillingInvoiceLine) predicate.BillingInvoiceLineDiscount
- func ID(id string) predicate.BillingInvoiceLineDiscount
- func IDContainsFold(id string) predicate.BillingInvoiceLineDiscount
- func IDEQ(id string) predicate.BillingInvoiceLineDiscount
- func IDEqualFold(id string) predicate.BillingInvoiceLineDiscount
- func IDGT(id string) predicate.BillingInvoiceLineDiscount
- func IDGTE(id string) predicate.BillingInvoiceLineDiscount
- func IDIn(ids ...string) predicate.BillingInvoiceLineDiscount
- func IDLT(id string) predicate.BillingInvoiceLineDiscount
- func IDLTE(id string) predicate.BillingInvoiceLineDiscount
- func IDNEQ(id string) predicate.BillingInvoiceLineDiscount
- func IDNotIn(ids ...string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalID(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDContains(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDContainsFold(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDEQ(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDEqualFold(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDGT(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDGTE(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDIsNil() predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDLT(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDLTE(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDNEQ(v string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func InvoicingAppExternalIDNotNil() predicate.BillingInvoiceLineDiscount
- func LineID(v string) predicate.BillingInvoiceLineDiscount
- func LineIDContains(v string) predicate.BillingInvoiceLineDiscount
- func LineIDContainsFold(v string) predicate.BillingInvoiceLineDiscount
- func LineIDEQ(v string) predicate.BillingInvoiceLineDiscount
- func LineIDEqualFold(v string) predicate.BillingInvoiceLineDiscount
- func LineIDGT(v string) predicate.BillingInvoiceLineDiscount
- func LineIDGTE(v string) predicate.BillingInvoiceLineDiscount
- func LineIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount
- func LineIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount
- func LineIDIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func LineIDLT(v string) predicate.BillingInvoiceLineDiscount
- func LineIDLTE(v string) predicate.BillingInvoiceLineDiscount
- func LineIDNEQ(v string) predicate.BillingInvoiceLineDiscount
- func LineIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func Namespace(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceContains(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceContainsFold(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceEQ(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceEqualFold(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceGT(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceGTE(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceHasPrefix(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceHasSuffix(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func NamespaceLT(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceLTE(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceNEQ(v string) predicate.BillingInvoiceLineDiscount
- func NamespaceNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
- func Not(p predicate.BillingInvoiceLineDiscount) predicate.BillingInvoiceLineDiscount
- func Or(predicates ...predicate.BillingInvoiceLineDiscount) predicate.BillingInvoiceLineDiscount
- func UpdatedAt(v time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtEQ(v time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtGT(v time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtGTE(v time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtLT(v time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtLTE(v time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtNEQ(v time.Time) predicate.BillingInvoiceLineDiscount
- func UpdatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
- func ValidColumn(column string) bool
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByBillingInvoiceLineField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByChildUniqueReferenceID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInvoicingAppExternalID(opts ...sql.OrderTermOption) OrderOption
- func ByLineID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the billinginvoicelinediscount type in the database. Label = "billing_invoice_line_discount" // 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" // FieldLineID holds the string denoting the line_id field in the database. FieldLineID = "line_id" // FieldChildUniqueReferenceID holds the string denoting the child_unique_reference_id field in the database. FieldChildUniqueReferenceID = "child_unique_reference_id" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldInvoicingAppExternalID holds the string denoting the invoicing_app_external_id field in the database. FieldInvoicingAppExternalID = "invoicing_app_external_id" // EdgeBillingInvoiceLine holds the string denoting the billing_invoice_line edge name in mutations. EdgeBillingInvoiceLine = "billing_invoice_line" // Table holds the table name of the billinginvoicelinediscount in the database. Table = "billing_invoice_line_discounts" // BillingInvoiceLineTable is the table that holds the billing_invoice_line relation/edge. BillingInvoiceLineTable = "billing_invoice_line_discounts" // BillingInvoiceLineInverseTable is the table name for the BillingInvoiceLine entity. // It exists in this package in order to avoid circular dependency with the "billinginvoiceline" package. BillingInvoiceLineInverseTable = "billing_invoice_lines" // BillingInvoiceLineColumn is the table column denoting the billing_invoice_line relation/edge. BillingInvoiceLineColumn = "line_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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldNamespace, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldLineID, FieldChildUniqueReferenceID, FieldDescription, FieldAmount, FieldInvoicingAppExternalID, }
Columns holds all SQL columns for billinginvoicelinediscount fields.
Functions ¶
func Amount ¶
func Amount(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountEQ ¶
func AmountEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountEQ applies the EQ predicate on the "amount" field.
func AmountGT ¶
func AmountGT(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountGT applies the GT predicate on the "amount" field.
func AmountGTE ¶
func AmountGTE(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountGTE applies the GTE predicate on the "amount" field.
func AmountIn ¶
func AmountIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountIn applies the In predicate on the "amount" field.
func AmountLT ¶
func AmountLT(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountLT applies the LT predicate on the "amount" field.
func AmountLTE ¶
func AmountLTE(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountLTE applies the LTE predicate on the "amount" field.
func AmountNEQ ¶
func AmountNEQ(v alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountNEQ applies the NEQ predicate on the "amount" field.
func AmountNotIn ¶
func AmountNotIn(vs ...alpacadecimal.Decimal) predicate.BillingInvoiceLineDiscount
AmountNotIn applies the NotIn predicate on the "amount" field.
func And ¶
func And(predicates ...predicate.BillingInvoiceLineDiscount) predicate.BillingInvoiceLineDiscount
And groups predicates with the AND operator between them.
func ChildUniqueReferenceID ¶
func ChildUniqueReferenceID(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceID applies equality check predicate on the "child_unique_reference_id" field. It's identical to ChildUniqueReferenceIDEQ.
func ChildUniqueReferenceIDContains ¶
func ChildUniqueReferenceIDContains(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDContains applies the Contains predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDContainsFold ¶
func ChildUniqueReferenceIDContainsFold(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDContainsFold applies the ContainsFold predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDEQ ¶
func ChildUniqueReferenceIDEQ(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDEQ applies the EQ predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDEqualFold ¶
func ChildUniqueReferenceIDEqualFold(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDEqualFold applies the EqualFold predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDGT ¶
func ChildUniqueReferenceIDGT(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDGT applies the GT predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDGTE ¶
func ChildUniqueReferenceIDGTE(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDGTE applies the GTE predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDHasPrefix ¶
func ChildUniqueReferenceIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDHasPrefix applies the HasPrefix predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDHasSuffix ¶
func ChildUniqueReferenceIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDHasSuffix applies the HasSuffix predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDIn ¶
func ChildUniqueReferenceIDIn(vs ...string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDIn applies the In predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDIsNil ¶
func ChildUniqueReferenceIDIsNil() predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDIsNil applies the IsNil predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDLT ¶
func ChildUniqueReferenceIDLT(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDLT applies the LT predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDLTE ¶
func ChildUniqueReferenceIDLTE(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDLTE applies the LTE predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDNEQ ¶
func ChildUniqueReferenceIDNEQ(v string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDNEQ applies the NEQ predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDNotIn ¶
func ChildUniqueReferenceIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDNotIn applies the NotIn predicate on the "child_unique_reference_id" field.
func ChildUniqueReferenceIDNotNil ¶
func ChildUniqueReferenceIDNotNil() predicate.BillingInvoiceLineDiscount
ChildUniqueReferenceIDNotNil applies the NotNil predicate on the "child_unique_reference_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.BillingInvoiceLineDiscount
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.BillingInvoiceLineDiscount
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.BillingInvoiceLineDiscount
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.BillingInvoiceLineDiscount
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
func Description(v string) predicate.BillingInvoiceLineDiscount
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.BillingInvoiceLineDiscount
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.BillingInvoiceLineDiscount
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.BillingInvoiceLineDiscount
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.BillingInvoiceLineDiscount
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.BillingInvoiceLineDiscount
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.BillingInvoiceLineDiscount
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.BillingInvoiceLineDiscount
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.BillingInvoiceLineDiscount
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.BillingInvoiceLineDiscount
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.BillingInvoiceLineDiscount
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.BillingInvoiceLineDiscount
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.BillingInvoiceLineDiscount
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.BillingInvoiceLineDiscount
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.BillingInvoiceLineDiscount
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasBillingInvoiceLine ¶
func HasBillingInvoiceLine() predicate.BillingInvoiceLineDiscount
HasBillingInvoiceLine applies the HasEdge predicate on the "billing_invoice_line" edge.
func HasBillingInvoiceLineWith ¶
func HasBillingInvoiceLineWith(preds ...predicate.BillingInvoiceLine) predicate.BillingInvoiceLineDiscount
HasBillingInvoiceLineWith applies the HasEdge predicate on the "billing_invoice_line" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.BillingInvoiceLineDiscount
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.BillingInvoiceLineDiscount
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.BillingInvoiceLineDiscount
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.BillingInvoiceLineDiscount
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.BillingInvoiceLineDiscount
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.BillingInvoiceLineDiscount
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.BillingInvoiceLineDiscount
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.BillingInvoiceLineDiscount
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.BillingInvoiceLineDiscount
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.BillingInvoiceLineDiscount
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.BillingInvoiceLineDiscount
IDNotIn applies the NotIn predicate on the ID field.
func InvoicingAppExternalID ¶
func InvoicingAppExternalID(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalID applies equality check predicate on the "invoicing_app_external_id" field. It's identical to InvoicingAppExternalIDEQ.
func InvoicingAppExternalIDContains ¶
func InvoicingAppExternalIDContains(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDContains applies the Contains predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDContainsFold ¶
func InvoicingAppExternalIDContainsFold(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDContainsFold applies the ContainsFold predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDEQ ¶
func InvoicingAppExternalIDEQ(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDEQ applies the EQ predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDEqualFold ¶
func InvoicingAppExternalIDEqualFold(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDEqualFold applies the EqualFold predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDGT ¶
func InvoicingAppExternalIDGT(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDGT applies the GT predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDGTE ¶
func InvoicingAppExternalIDGTE(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDGTE applies the GTE predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDHasPrefix ¶
func InvoicingAppExternalIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDHasPrefix applies the HasPrefix predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDHasSuffix ¶
func InvoicingAppExternalIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDHasSuffix applies the HasSuffix predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDIn ¶
func InvoicingAppExternalIDIn(vs ...string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDIn applies the In predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDIsNil ¶
func InvoicingAppExternalIDIsNil() predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDIsNil applies the IsNil predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDLT ¶
func InvoicingAppExternalIDLT(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDLT applies the LT predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDLTE ¶
func InvoicingAppExternalIDLTE(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDLTE applies the LTE predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDNEQ ¶
func InvoicingAppExternalIDNEQ(v string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDNEQ applies the NEQ predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDNotIn ¶
func InvoicingAppExternalIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDNotIn applies the NotIn predicate on the "invoicing_app_external_id" field.
func InvoicingAppExternalIDNotNil ¶
func InvoicingAppExternalIDNotNil() predicate.BillingInvoiceLineDiscount
InvoicingAppExternalIDNotNil applies the NotNil predicate on the "invoicing_app_external_id" field.
func LineID ¶
func LineID(v string) predicate.BillingInvoiceLineDiscount
LineID applies equality check predicate on the "line_id" field. It's identical to LineIDEQ.
func LineIDContains ¶
func LineIDContains(v string) predicate.BillingInvoiceLineDiscount
LineIDContains applies the Contains predicate on the "line_id" field.
func LineIDContainsFold ¶
func LineIDContainsFold(v string) predicate.BillingInvoiceLineDiscount
LineIDContainsFold applies the ContainsFold predicate on the "line_id" field.
func LineIDEQ ¶
func LineIDEQ(v string) predicate.BillingInvoiceLineDiscount
LineIDEQ applies the EQ predicate on the "line_id" field.
func LineIDEqualFold ¶
func LineIDEqualFold(v string) predicate.BillingInvoiceLineDiscount
LineIDEqualFold applies the EqualFold predicate on the "line_id" field.
func LineIDGT ¶
func LineIDGT(v string) predicate.BillingInvoiceLineDiscount
LineIDGT applies the GT predicate on the "line_id" field.
func LineIDGTE ¶
func LineIDGTE(v string) predicate.BillingInvoiceLineDiscount
LineIDGTE applies the GTE predicate on the "line_id" field.
func LineIDHasPrefix ¶
func LineIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount
LineIDHasPrefix applies the HasPrefix predicate on the "line_id" field.
func LineIDHasSuffix ¶
func LineIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount
LineIDHasSuffix applies the HasSuffix predicate on the "line_id" field.
func LineIDIn ¶
func LineIDIn(vs ...string) predicate.BillingInvoiceLineDiscount
LineIDIn applies the In predicate on the "line_id" field.
func LineIDLT ¶
func LineIDLT(v string) predicate.BillingInvoiceLineDiscount
LineIDLT applies the LT predicate on the "line_id" field.
func LineIDLTE ¶
func LineIDLTE(v string) predicate.BillingInvoiceLineDiscount
LineIDLTE applies the LTE predicate on the "line_id" field.
func LineIDNEQ ¶
func LineIDNEQ(v string) predicate.BillingInvoiceLineDiscount
LineIDNEQ applies the NEQ predicate on the "line_id" field.
func LineIDNotIn ¶
func LineIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
LineIDNotIn applies the NotIn predicate on the "line_id" field.
func Namespace ¶
func Namespace(v string) predicate.BillingInvoiceLineDiscount
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.BillingInvoiceLineDiscount
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.BillingInvoiceLineDiscount
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.BillingInvoiceLineDiscount
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.BillingInvoiceLineDiscount
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.BillingInvoiceLineDiscount
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.BillingInvoiceLineDiscount
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.BillingInvoiceLineDiscount
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.BillingInvoiceLineDiscount
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.BillingInvoiceLineDiscount
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.BillingInvoiceLineDiscount
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.BillingInvoiceLineDiscount
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.BillingInvoiceLineDiscount
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.BillingInvoiceLineDiscount
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Or ¶
func Or(predicates ...predicate.BillingInvoiceLineDiscount) predicate.BillingInvoiceLineDiscount
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.BillingInvoiceLineDiscount
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.BillingInvoiceLineDiscount
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 BillingInvoiceLineDiscount queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByBillingInvoiceLineField ¶
func ByBillingInvoiceLineField(field string, opts ...sql.OrderTermOption) OrderOption
ByBillingInvoiceLineField orders the results by billing_invoice_line field.
func ByChildUniqueReferenceID ¶
func ByChildUniqueReferenceID(opts ...sql.OrderTermOption) OrderOption
ByChildUniqueReferenceID orders the results by the child_unique_reference_id 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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInvoicingAppExternalID ¶
func ByInvoicingAppExternalID(opts ...sql.OrderTermOption) OrderOption
ByInvoicingAppExternalID orders the results by the invoicing_app_external_id field.
func ByLineID ¶
func ByLineID(opts ...sql.OrderTermOption) OrderOption
ByLineID orders the results by the line_id field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.