Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BillProduct) predicate.BillProduct
- func ID(id pulid.ID) predicate.BillProduct
- func IDEQ(id pulid.ID) predicate.BillProduct
- func IDGT(id pulid.ID) predicate.BillProduct
- func IDGTE(id pulid.ID) predicate.BillProduct
- func IDIn(ids ...pulid.ID) predicate.BillProduct
- func IDLT(id pulid.ID) predicate.BillProduct
- func IDLTE(id pulid.ID) predicate.BillProduct
- func IDNEQ(id pulid.ID) predicate.BillProduct
- func IDNotIn(ids ...pulid.ID) predicate.BillProduct
- func Name(v string) predicate.BillProduct
- func NameContains(v string) predicate.BillProduct
- func NameContainsFold(v string) predicate.BillProduct
- func NameEQ(v string) predicate.BillProduct
- func NameEqualFold(v string) predicate.BillProduct
- func NameGT(v string) predicate.BillProduct
- func NameGTE(v string) predicate.BillProduct
- func NameHasPrefix(v string) predicate.BillProduct
- func NameHasSuffix(v string) predicate.BillProduct
- func NameIn(vs ...string) predicate.BillProduct
- func NameLT(v string) predicate.BillProduct
- func NameLTE(v string) predicate.BillProduct
- func NameNEQ(v string) predicate.BillProduct
- func NameNotIn(vs ...string) predicate.BillProduct
- func Not(p predicate.BillProduct) predicate.BillProduct
- func Or(predicates ...predicate.BillProduct) predicate.BillProduct
- func Quantity(v uint64) predicate.BillProduct
- func QuantityEQ(v uint64) predicate.BillProduct
- func QuantityGT(v uint64) predicate.BillProduct
- func QuantityGTE(v uint64) predicate.BillProduct
- func QuantityIn(vs ...uint64) predicate.BillProduct
- func QuantityLT(v uint64) predicate.BillProduct
- func QuantityLTE(v uint64) predicate.BillProduct
- func QuantityNEQ(v uint64) predicate.BillProduct
- func QuantityNotIn(vs ...uint64) predicate.BillProduct
- func Sku(v string) predicate.BillProduct
- func SkuContains(v string) predicate.BillProduct
- func SkuContainsFold(v string) predicate.BillProduct
- func SkuEQ(v string) predicate.BillProduct
- func SkuEqualFold(v string) predicate.BillProduct
- func SkuGT(v string) predicate.BillProduct
- func SkuGTE(v string) predicate.BillProduct
- func SkuHasPrefix(v string) predicate.BillProduct
- func SkuHasSuffix(v string) predicate.BillProduct
- func SkuIn(vs ...string) predicate.BillProduct
- func SkuLT(v string) predicate.BillProduct
- func SkuLTE(v string) predicate.BillProduct
- func SkuNEQ(v string) predicate.BillProduct
- func SkuNotIn(vs ...string) predicate.BillProduct
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the billproduct type in the database. Label = "bill_product" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSku holds the string denoting the sku field in the database. FieldSku = "sku" // FieldQuantity holds the string denoting the quantity field in the database. FieldQuantity = "quantity" // Table holds the table name of the billproduct in the database. Table = "bill_products" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldSku, FieldQuantity, }
Columns holds all SQL columns for billproduct fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() pulid.ID )
Functions ¶
func And ¶
func And(predicates ...predicate.BillProduct) predicate.BillProduct
And groups predicates with the AND operator between them.
func IDEQ ¶
func IDEQ(id pulid.ID) predicate.BillProduct
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id pulid.ID) predicate.BillProduct
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id pulid.ID) predicate.BillProduct
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...pulid.ID) predicate.BillProduct
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id pulid.ID) predicate.BillProduct
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id pulid.ID) predicate.BillProduct
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id pulid.ID) predicate.BillProduct
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...pulid.ID) predicate.BillProduct
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.BillProduct
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.BillProduct
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.BillProduct
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.BillProduct
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.BillProduct
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.BillProduct
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.BillProduct
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.BillProduct
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.BillProduct
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.BillProduct
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.BillProduct
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.BillProduct
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.BillProduct
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.BillProduct
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.BillProduct) predicate.BillProduct
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.BillProduct) predicate.BillProduct
Or groups predicates with the OR operator between them.
func Quantity ¶
func Quantity(v uint64) predicate.BillProduct
Quantity applies equality check predicate on the "quantity" field. It's identical to QuantityEQ.
func QuantityEQ ¶
func QuantityEQ(v uint64) predicate.BillProduct
QuantityEQ applies the EQ predicate on the "quantity" field.
func QuantityGT ¶
func QuantityGT(v uint64) predicate.BillProduct
QuantityGT applies the GT predicate on the "quantity" field.
func QuantityGTE ¶
func QuantityGTE(v uint64) predicate.BillProduct
QuantityGTE applies the GTE predicate on the "quantity" field.
func QuantityIn ¶
func QuantityIn(vs ...uint64) predicate.BillProduct
QuantityIn applies the In predicate on the "quantity" field.
func QuantityLT ¶
func QuantityLT(v uint64) predicate.BillProduct
QuantityLT applies the LT predicate on the "quantity" field.
func QuantityLTE ¶
func QuantityLTE(v uint64) predicate.BillProduct
QuantityLTE applies the LTE predicate on the "quantity" field.
func QuantityNEQ ¶
func QuantityNEQ(v uint64) predicate.BillProduct
QuantityNEQ applies the NEQ predicate on the "quantity" field.
func QuantityNotIn ¶
func QuantityNotIn(vs ...uint64) predicate.BillProduct
QuantityNotIn applies the NotIn predicate on the "quantity" field.
func Sku ¶
func Sku(v string) predicate.BillProduct
Sku applies equality check predicate on the "sku" field. It's identical to SkuEQ.
func SkuContains ¶
func SkuContains(v string) predicate.BillProduct
SkuContains applies the Contains predicate on the "sku" field.
func SkuContainsFold ¶
func SkuContainsFold(v string) predicate.BillProduct
SkuContainsFold applies the ContainsFold predicate on the "sku" field.
func SkuEQ ¶
func SkuEQ(v string) predicate.BillProduct
SkuEQ applies the EQ predicate on the "sku" field.
func SkuEqualFold ¶
func SkuEqualFold(v string) predicate.BillProduct
SkuEqualFold applies the EqualFold predicate on the "sku" field.
func SkuGT ¶
func SkuGT(v string) predicate.BillProduct
SkuGT applies the GT predicate on the "sku" field.
func SkuGTE ¶
func SkuGTE(v string) predicate.BillProduct
SkuGTE applies the GTE predicate on the "sku" field.
func SkuHasPrefix ¶
func SkuHasPrefix(v string) predicate.BillProduct
SkuHasPrefix applies the HasPrefix predicate on the "sku" field.
func SkuHasSuffix ¶
func SkuHasSuffix(v string) predicate.BillProduct
SkuHasSuffix applies the HasSuffix predicate on the "sku" field.
func SkuIn ¶
func SkuIn(vs ...string) predicate.BillProduct
SkuIn applies the In predicate on the "sku" field.
func SkuLT ¶
func SkuLT(v string) predicate.BillProduct
SkuLT applies the LT predicate on the "sku" field.
func SkuLTE ¶
func SkuLTE(v string) predicate.BillProduct
SkuLTE applies the LTE predicate on the "sku" field.
func SkuNEQ ¶
func SkuNEQ(v string) predicate.BillProduct
SkuNEQ applies the NEQ predicate on the "sku" field.
func SkuNotIn ¶
func SkuNotIn(vs ...string) predicate.BillProduct
SkuNotIn applies the NotIn predicate on the "sku" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.