seckillorder

package
v0.0.0-...-acbaf2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2021 License: MIT, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
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

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 ID

ID filters vertices based on their 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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL