Documentation ¶
Index ¶
- Constants
- Variables
- func Addr(v string) predicate.Order
- func AddrContains(v string) predicate.Order
- func AddrContainsFold(v string) predicate.Order
- func AddrEQ(v string) predicate.Order
- func AddrEqualFold(v string) predicate.Order
- func AddrGT(v string) predicate.Order
- func AddrGTE(v string) predicate.Order
- func AddrHasPrefix(v string) predicate.Order
- func AddrHasSuffix(v string) predicate.Order
- func AddrIn(vs ...string) predicate.Order
- func AddrLT(v string) predicate.Order
- func AddrLTE(v string) predicate.Order
- func AddrNEQ(v string) predicate.Order
- func AddrNotIn(vs ...string) predicate.Order
- func And(predicates ...predicate.Order) predicate.Order
- func CreatedAt(v time.Time) predicate.Order
- func CreatedAtEQ(v time.Time) predicate.Order
- func CreatedAtGT(v time.Time) predicate.Order
- func CreatedAtGTE(v time.Time) predicate.Order
- func CreatedAtIn(vs ...time.Time) predicate.Order
- func CreatedAtLT(v time.Time) predicate.Order
- func CreatedAtLTE(v time.Time) predicate.Order
- func CreatedAtNEQ(v time.Time) predicate.Order
- func CreatedAtNotIn(vs ...time.Time) predicate.Order
- func CustomerID(v int) predicate.Order
- func CustomerIDEQ(v int) predicate.Order
- func CustomerIDGT(v int) predicate.Order
- func CustomerIDGTE(v int) predicate.Order
- func CustomerIDIn(vs ...int) predicate.Order
- func CustomerIDLT(v int) predicate.Order
- func CustomerIDLTE(v int) predicate.Order
- func CustomerIDNEQ(v int) predicate.Order
- func CustomerIDNotIn(vs ...int) predicate.Order
- func ID(id int) predicate.Order
- func IDEQ(id int) predicate.Order
- func IDGT(id int) predicate.Order
- func IDGTE(id int) predicate.Order
- func IDIn(ids ...int) predicate.Order
- func IDLT(id int) predicate.Order
- func IDLTE(id int) predicate.Order
- func IDNEQ(id int) predicate.Order
- func IDNotIn(ids ...int) predicate.Order
- func Not(p predicate.Order) predicate.Order
- func Or(predicates ...predicate.Order) predicate.Order
- func Price(v float64) predicate.Order
- func PriceEQ(v float64) predicate.Order
- func PriceGT(v float64) predicate.Order
- func PriceGTE(v float64) predicate.Order
- func PriceIn(vs ...float64) predicate.Order
- func PriceLT(v float64) predicate.Order
- func PriceLTE(v float64) predicate.Order
- func PriceNEQ(v float64) predicate.Order
- func PriceNotIn(vs ...float64) predicate.Order
- func Status(v int32) predicate.Order
- func StatusEQ(v int32) predicate.Order
- func StatusGT(v int32) predicate.Order
- func StatusGTE(v int32) predicate.Order
- func StatusIn(vs ...int32) predicate.Order
- func StatusLT(v int32) predicate.Order
- func StatusLTE(v int32) predicate.Order
- func StatusNEQ(v int32) predicate.Order
- func StatusNotIn(vs ...int32) predicate.Order
- func UpdatedAt(v time.Time) predicate.Order
- func UpdatedAtEQ(v time.Time) predicate.Order
- func UpdatedAtGT(v time.Time) predicate.Order
- func UpdatedAtGTE(v time.Time) predicate.Order
- func UpdatedAtIn(vs ...time.Time) predicate.Order
- func UpdatedAtLT(v time.Time) predicate.Order
- func UpdatedAtLTE(v time.Time) predicate.Order
- func UpdatedAtNEQ(v time.Time) predicate.Order
- func UpdatedAtNotIn(vs ...time.Time) predicate.Order
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the order type in the database. Label = "order" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCustomerID holds the string denoting the customer_id field in the database. FieldCustomerID = "customer_id" // FieldAddr holds the string denoting the addr field in the database. FieldAddr = "addr" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // Table holds the table name of the order in the database. Table = "orders" )
Variables ¶
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCustomerID, FieldAddr, FieldPrice, FieldStatus, }
Columns holds all SQL columns for order fields.
Functions ¶
func AddrContains ¶
AddrContains applies the Contains predicate on the "addr" field.
func AddrContainsFold ¶
AddrContainsFold applies the ContainsFold predicate on the "addr" field.
func AddrEqualFold ¶
AddrEqualFold applies the EqualFold predicate on the "addr" field.
func AddrHasPrefix ¶
AddrHasPrefix applies the HasPrefix predicate on the "addr" field.
func AddrHasSuffix ¶
AddrHasSuffix applies the HasSuffix predicate on the "addr" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CustomerID ¶
CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.
func CustomerIDEQ ¶
CustomerIDEQ applies the EQ predicate on the "customer_id" field.
func CustomerIDGT ¶
CustomerIDGT applies the GT predicate on the "customer_id" field.
func CustomerIDGTE ¶
CustomerIDGTE applies the GTE predicate on the "customer_id" field.
func CustomerIDIn ¶
CustomerIDIn applies the In predicate on the "customer_id" field.
func CustomerIDLT ¶
CustomerIDLT applies the LT predicate on the "customer_id" field.
func CustomerIDLTE ¶
CustomerIDLTE applies the LTE predicate on the "customer_id" field.
func CustomerIDNEQ ¶
CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.
func CustomerIDNotIn ¶
CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.
func Price ¶
Price applies equality check predicate on the "price" field. It's identical to PriceEQ.
func PriceNotIn ¶
PriceNotIn applies the NotIn predicate on the "price" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.