Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SeckillOrder) predicate.SeckillOrder
- func GoodsID(v int64) predicate.SeckillOrder
- func GoodsIDEQ(v int64) predicate.SeckillOrder
- func GoodsIDGT(v int64) predicate.SeckillOrder
- func GoodsIDGTE(v int64) predicate.SeckillOrder
- func GoodsIDIn(vs ...int64) predicate.SeckillOrder
- func GoodsIDLT(v int64) predicate.SeckillOrder
- func GoodsIDLTE(v int64) predicate.SeckillOrder
- func GoodsIDNEQ(v int64) predicate.SeckillOrder
- func GoodsIDNotIn(vs ...int64) predicate.SeckillOrder
- func ID(id int64) predicate.SeckillOrder
- func IDEQ(id int64) predicate.SeckillOrder
- func IDGT(id int64) predicate.SeckillOrder
- func IDGTE(id int64) predicate.SeckillOrder
- func IDIn(ids ...int64) predicate.SeckillOrder
- func IDLT(id int64) predicate.SeckillOrder
- func IDLTE(id int64) predicate.SeckillOrder
- func IDNEQ(id int64) predicate.SeckillOrder
- func IDNotIn(ids ...int64) predicate.SeckillOrder
- func Not(p predicate.SeckillOrder) predicate.SeckillOrder
- func Or(predicates ...predicate.SeckillOrder) predicate.SeckillOrder
- func OrderID(v int64) predicate.SeckillOrder
- func OrderIDEQ(v int64) predicate.SeckillOrder
- func OrderIDGT(v int64) predicate.SeckillOrder
- func OrderIDGTE(v int64) predicate.SeckillOrder
- func OrderIDIn(vs ...int64) predicate.SeckillOrder
- func OrderIDLT(v int64) predicate.SeckillOrder
- func OrderIDLTE(v int64) predicate.SeckillOrder
- func OrderIDNEQ(v int64) predicate.SeckillOrder
- func OrderIDNotIn(vs ...int64) predicate.SeckillOrder
- func UserID(v int64) predicate.SeckillOrder
- func UserIDEQ(v int64) predicate.SeckillOrder
- func UserIDGT(v int64) predicate.SeckillOrder
- func UserIDGTE(v int64) predicate.SeckillOrder
- func UserIDIn(vs ...int64) predicate.SeckillOrder
- func UserIDLT(v int64) predicate.SeckillOrder
- func UserIDLTE(v int64) predicate.SeckillOrder
- func UserIDNEQ(v int64) predicate.SeckillOrder
- func UserIDNotIn(vs ...int64) predicate.SeckillOrder
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the seckillorder type in the database. Label = "seckill_order" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldOrderID holds the string denoting the order_id field in the database. FieldOrderID = "order_id" // FieldGoodsID holds the string denoting the goods_id field in the database. FieldGoodsID = "goods_id" // Table holds the table name of the seckillorder in the database. Table = "seckill_orders" )
Variables ¶
var Columns = []string{ FieldID, FieldUserID, FieldOrderID, FieldGoodsID, }
Columns holds all SQL columns for seckillorder fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SeckillOrder) predicate.SeckillOrder
And groups predicates with the AND operator between them.
func GoodsID ¶
func GoodsID(v int64) predicate.SeckillOrder
GoodsID applies equality check predicate on the "goods_id" field. It's identical to GoodsIDEQ.
func GoodsIDEQ ¶
func GoodsIDEQ(v int64) predicate.SeckillOrder
GoodsIDEQ applies the EQ predicate on the "goods_id" field.
func GoodsIDGT ¶
func GoodsIDGT(v int64) predicate.SeckillOrder
GoodsIDGT applies the GT predicate on the "goods_id" field.
func GoodsIDGTE ¶
func GoodsIDGTE(v int64) predicate.SeckillOrder
GoodsIDGTE applies the GTE predicate on the "goods_id" field.
func GoodsIDIn ¶
func GoodsIDIn(vs ...int64) predicate.SeckillOrder
GoodsIDIn applies the In predicate on the "goods_id" field.
func GoodsIDLT ¶
func GoodsIDLT(v int64) predicate.SeckillOrder
GoodsIDLT applies the LT predicate on the "goods_id" field.
func GoodsIDLTE ¶
func GoodsIDLTE(v int64) predicate.SeckillOrder
GoodsIDLTE applies the LTE predicate on the "goods_id" field.
func GoodsIDNEQ ¶
func GoodsIDNEQ(v int64) predicate.SeckillOrder
GoodsIDNEQ applies the NEQ predicate on the "goods_id" field.
func GoodsIDNotIn ¶
func GoodsIDNotIn(vs ...int64) predicate.SeckillOrder
GoodsIDNotIn applies the NotIn predicate on the "goods_id" field.
func IDEQ ¶
func IDEQ(id int64) predicate.SeckillOrder
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.SeckillOrder
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.SeckillOrder
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.SeckillOrder
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.SeckillOrder
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.SeckillOrder
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.SeckillOrder
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.SeckillOrder
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SeckillOrder) predicate.SeckillOrder
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SeckillOrder) predicate.SeckillOrder
Or groups predicates with the OR operator between them.
func OrderID ¶
func OrderID(v int64) predicate.SeckillOrder
OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.
func OrderIDEQ ¶
func OrderIDEQ(v int64) predicate.SeckillOrder
OrderIDEQ applies the EQ predicate on the "order_id" field.
func OrderIDGT ¶
func OrderIDGT(v int64) predicate.SeckillOrder
OrderIDGT applies the GT predicate on the "order_id" field.
func OrderIDGTE ¶
func OrderIDGTE(v int64) predicate.SeckillOrder
OrderIDGTE applies the GTE predicate on the "order_id" field.
func OrderIDIn ¶
func OrderIDIn(vs ...int64) predicate.SeckillOrder
OrderIDIn applies the In predicate on the "order_id" field.
func OrderIDLT ¶
func OrderIDLT(v int64) predicate.SeckillOrder
OrderIDLT applies the LT predicate on the "order_id" field.
func OrderIDLTE ¶
func OrderIDLTE(v int64) predicate.SeckillOrder
OrderIDLTE applies the LTE predicate on the "order_id" field.
func OrderIDNEQ ¶
func OrderIDNEQ(v int64) predicate.SeckillOrder
OrderIDNEQ applies the NEQ predicate on the "order_id" field.
func OrderIDNotIn ¶
func OrderIDNotIn(vs ...int64) predicate.SeckillOrder
OrderIDNotIn applies the NotIn predicate on the "order_id" field.
func UserID ¶
func UserID(v int64) predicate.SeckillOrder
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.SeckillOrder
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int64) predicate.SeckillOrder
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int64) predicate.SeckillOrder
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.SeckillOrder
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int64) predicate.SeckillOrder
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int64) predicate.SeckillOrder
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.SeckillOrder
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.SeckillOrder
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.