Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OrderGoods) predicate.OrderGoods
- func CreatedAt(v time.Time) predicate.OrderGoods
- func CreatedAtEQ(v time.Time) predicate.OrderGoods
- func CreatedAtGT(v time.Time) predicate.OrderGoods
- func CreatedAtGTE(v time.Time) predicate.OrderGoods
- func CreatedAtIn(vs ...time.Time) predicate.OrderGoods
- func CreatedAtLT(v time.Time) predicate.OrderGoods
- func CreatedAtLTE(v time.Time) predicate.OrderGoods
- func CreatedAtNEQ(v time.Time) predicate.OrderGoods
- func CreatedAtNotIn(vs ...time.Time) predicate.OrderGoods
- func GoodsID(v int64) predicate.OrderGoods
- func GoodsIDEQ(v int64) predicate.OrderGoods
- func GoodsIDGT(v int64) predicate.OrderGoods
- func GoodsIDGTE(v int64) predicate.OrderGoods
- func GoodsIDIn(vs ...int64) predicate.OrderGoods
- func GoodsIDLT(v int64) predicate.OrderGoods
- func GoodsIDLTE(v int64) predicate.OrderGoods
- func GoodsIDNEQ(v int64) predicate.OrderGoods
- func GoodsIDNotIn(vs ...int64) predicate.OrderGoods
- func GoodsTitle(v string) predicate.OrderGoods
- func GoodsTitleContains(v string) predicate.OrderGoods
- func GoodsTitleContainsFold(v string) predicate.OrderGoods
- func GoodsTitleEQ(v string) predicate.OrderGoods
- func GoodsTitleEqualFold(v string) predicate.OrderGoods
- func GoodsTitleGT(v string) predicate.OrderGoods
- func GoodsTitleGTE(v string) predicate.OrderGoods
- func GoodsTitleHasPrefix(v string) predicate.OrderGoods
- func GoodsTitleHasSuffix(v string) predicate.OrderGoods
- func GoodsTitleIn(vs ...string) predicate.OrderGoods
- func GoodsTitleLT(v string) predicate.OrderGoods
- func GoodsTitleLTE(v string) predicate.OrderGoods
- func GoodsTitleNEQ(v string) predicate.OrderGoods
- func GoodsTitleNotIn(vs ...string) predicate.OrderGoods
- func ID(id int64) predicate.OrderGoods
- func IDEQ(id int64) predicate.OrderGoods
- func IDGT(id int64) predicate.OrderGoods
- func IDGTE(id int64) predicate.OrderGoods
- func IDIn(ids ...int64) predicate.OrderGoods
- func IDLT(id int64) predicate.OrderGoods
- func IDLTE(id int64) predicate.OrderGoods
- func IDNEQ(id int64) predicate.OrderGoods
- func IDNotIn(ids ...int64) predicate.OrderGoods
- func Not(p predicate.OrderGoods) predicate.OrderGoods
- func Or(predicates ...predicate.OrderGoods) predicate.OrderGoods
- func OrderID(v int64) predicate.OrderGoods
- func OrderIDEQ(v int64) predicate.OrderGoods
- func OrderIDGT(v int64) predicate.OrderGoods
- func OrderIDGTE(v int64) predicate.OrderGoods
- func OrderIDIn(vs ...int64) predicate.OrderGoods
- func OrderIDLT(v int64) predicate.OrderGoods
- func OrderIDLTE(v int64) predicate.OrderGoods
- func OrderIDNEQ(v int64) predicate.OrderGoods
- func OrderIDNotIn(vs ...int64) predicate.OrderGoods
- func UpdatedAt(v time.Time) predicate.OrderGoods
- func UpdatedAtEQ(v time.Time) predicate.OrderGoods
- func UpdatedAtGT(v time.Time) predicate.OrderGoods
- func UpdatedAtGTE(v time.Time) predicate.OrderGoods
- func UpdatedAtIn(vs ...time.Time) predicate.OrderGoods
- func UpdatedAtLT(v time.Time) predicate.OrderGoods
- func UpdatedAtLTE(v time.Time) predicate.OrderGoods
- func UpdatedAtNEQ(v time.Time) predicate.OrderGoods
- func UpdatedAtNotIn(vs ...time.Time) predicate.OrderGoods
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the ordergoods type in the database. Label = "order_goods" // FieldID holds the string denoting the id field in the database. FieldID = "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" // FieldGoodsTitle holds the string denoting the goods_title field in the database. FieldGoodsTitle = "goods_title" // 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" // Table holds the table name of the ordergoods in the database. Table = "order_goods" )
Variables ¶
var ( // 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 )
var Columns = []string{ FieldID, FieldOrderID, FieldGoodsID, FieldGoodsTitle, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for ordergoods fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OrderGoods) predicate.OrderGoods
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OrderGoods
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OrderGoods
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OrderGoods
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OrderGoods
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OrderGoods
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OrderGoods
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OrderGoods
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OrderGoods
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OrderGoods
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func GoodsID ¶
func GoodsID(v int64) predicate.OrderGoods
GoodsID applies equality check predicate on the "goods_id" field. It's identical to GoodsIDEQ.
func GoodsIDEQ ¶
func GoodsIDEQ(v int64) predicate.OrderGoods
GoodsIDEQ applies the EQ predicate on the "goods_id" field.
func GoodsIDGT ¶
func GoodsIDGT(v int64) predicate.OrderGoods
GoodsIDGT applies the GT predicate on the "goods_id" field.
func GoodsIDGTE ¶
func GoodsIDGTE(v int64) predicate.OrderGoods
GoodsIDGTE applies the GTE predicate on the "goods_id" field.
func GoodsIDIn ¶
func GoodsIDIn(vs ...int64) predicate.OrderGoods
GoodsIDIn applies the In predicate on the "goods_id" field.
func GoodsIDLT ¶
func GoodsIDLT(v int64) predicate.OrderGoods
GoodsIDLT applies the LT predicate on the "goods_id" field.
func GoodsIDLTE ¶
func GoodsIDLTE(v int64) predicate.OrderGoods
GoodsIDLTE applies the LTE predicate on the "goods_id" field.
func GoodsIDNEQ ¶
func GoodsIDNEQ(v int64) predicate.OrderGoods
GoodsIDNEQ applies the NEQ predicate on the "goods_id" field.
func GoodsIDNotIn ¶
func GoodsIDNotIn(vs ...int64) predicate.OrderGoods
GoodsIDNotIn applies the NotIn predicate on the "goods_id" field.
func GoodsTitle ¶
func GoodsTitle(v string) predicate.OrderGoods
GoodsTitle applies equality check predicate on the "goods_title" field. It's identical to GoodsTitleEQ.
func GoodsTitleContains ¶
func GoodsTitleContains(v string) predicate.OrderGoods
GoodsTitleContains applies the Contains predicate on the "goods_title" field.
func GoodsTitleContainsFold ¶
func GoodsTitleContainsFold(v string) predicate.OrderGoods
GoodsTitleContainsFold applies the ContainsFold predicate on the "goods_title" field.
func GoodsTitleEQ ¶
func GoodsTitleEQ(v string) predicate.OrderGoods
GoodsTitleEQ applies the EQ predicate on the "goods_title" field.
func GoodsTitleEqualFold ¶
func GoodsTitleEqualFold(v string) predicate.OrderGoods
GoodsTitleEqualFold applies the EqualFold predicate on the "goods_title" field.
func GoodsTitleGT ¶
func GoodsTitleGT(v string) predicate.OrderGoods
GoodsTitleGT applies the GT predicate on the "goods_title" field.
func GoodsTitleGTE ¶
func GoodsTitleGTE(v string) predicate.OrderGoods
GoodsTitleGTE applies the GTE predicate on the "goods_title" field.
func GoodsTitleHasPrefix ¶
func GoodsTitleHasPrefix(v string) predicate.OrderGoods
GoodsTitleHasPrefix applies the HasPrefix predicate on the "goods_title" field.
func GoodsTitleHasSuffix ¶
func GoodsTitleHasSuffix(v string) predicate.OrderGoods
GoodsTitleHasSuffix applies the HasSuffix predicate on the "goods_title" field.
func GoodsTitleIn ¶
func GoodsTitleIn(vs ...string) predicate.OrderGoods
GoodsTitleIn applies the In predicate on the "goods_title" field.
func GoodsTitleLT ¶
func GoodsTitleLT(v string) predicate.OrderGoods
GoodsTitleLT applies the LT predicate on the "goods_title" field.
func GoodsTitleLTE ¶
func GoodsTitleLTE(v string) predicate.OrderGoods
GoodsTitleLTE applies the LTE predicate on the "goods_title" field.
func GoodsTitleNEQ ¶
func GoodsTitleNEQ(v string) predicate.OrderGoods
GoodsTitleNEQ applies the NEQ predicate on the "goods_title" field.
func GoodsTitleNotIn ¶
func GoodsTitleNotIn(vs ...string) predicate.OrderGoods
GoodsTitleNotIn applies the NotIn predicate on the "goods_title" field.
func IDGTE ¶
func IDGTE(id int64) predicate.OrderGoods
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.OrderGoods
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.OrderGoods
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.OrderGoods
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.OrderGoods
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.OrderGoods) predicate.OrderGoods
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OrderGoods) predicate.OrderGoods
Or groups predicates with the OR operator between them.
func OrderID ¶
func OrderID(v int64) predicate.OrderGoods
OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.
func OrderIDEQ ¶
func OrderIDEQ(v int64) predicate.OrderGoods
OrderIDEQ applies the EQ predicate on the "order_id" field.
func OrderIDGT ¶
func OrderIDGT(v int64) predicate.OrderGoods
OrderIDGT applies the GT predicate on the "order_id" field.
func OrderIDGTE ¶
func OrderIDGTE(v int64) predicate.OrderGoods
OrderIDGTE applies the GTE predicate on the "order_id" field.
func OrderIDIn ¶
func OrderIDIn(vs ...int64) predicate.OrderGoods
OrderIDIn applies the In predicate on the "order_id" field.
func OrderIDLT ¶
func OrderIDLT(v int64) predicate.OrderGoods
OrderIDLT applies the LT predicate on the "order_id" field.
func OrderIDLTE ¶
func OrderIDLTE(v int64) predicate.OrderGoods
OrderIDLTE applies the LTE predicate on the "order_id" field.
func OrderIDNEQ ¶
func OrderIDNEQ(v int64) predicate.OrderGoods
OrderIDNEQ applies the NEQ predicate on the "order_id" field.
func OrderIDNotIn ¶
func OrderIDNotIn(vs ...int64) predicate.OrderGoods
OrderIDNotIn applies the NotIn predicate on the "order_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.OrderGoods
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.OrderGoods
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.OrderGoods
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.OrderGoods
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.OrderGoods
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.OrderGoods
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.OrderGoods
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.OrderGoods
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.OrderGoods
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.