seckillgoods

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the seckillgoods type in the database.
	Label = "seckill_goods"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldGoodsID holds the string denoting the goods_id field in the database.
	FieldGoodsID = "goods_id"
	// FieldSeckillPrice holds the string denoting the seckill_price field in the database.
	FieldSeckillPrice = "seckill_price"
	// FieldStockCount holds the string denoting the stock_count field in the database.
	FieldStockCount = "stock_count"
	// FieldStartDate holds the string denoting the start_date field in the database.
	FieldStartDate = "start_date"
	// FieldEndDate holds the string denoting the end_date field in the database.
	FieldEndDate = "end_date"
	// Table holds the table name of the seckillgoods in the database.
	Table = "seckill_goods"
)

Variables

Columns holds all SQL columns for seckillgoods fields.

Functions

func And

func And(predicates ...predicate.SeckillGoods) predicate.SeckillGoods

And groups predicates with the AND operator between them.

func EndDate

func EndDate(v time.Time) predicate.SeckillGoods

EndDate applies equality check predicate on the "end_date" field. It's identical to EndDateEQ.

func EndDateEQ

func EndDateEQ(v time.Time) predicate.SeckillGoods

EndDateEQ applies the EQ predicate on the "end_date" field.

func EndDateGT

func EndDateGT(v time.Time) predicate.SeckillGoods

EndDateGT applies the GT predicate on the "end_date" field.

func EndDateGTE

func EndDateGTE(v time.Time) predicate.SeckillGoods

EndDateGTE applies the GTE predicate on the "end_date" field.

func EndDateIn

func EndDateIn(vs ...time.Time) predicate.SeckillGoods

EndDateIn applies the In predicate on the "end_date" field.

func EndDateLT

func EndDateLT(v time.Time) predicate.SeckillGoods

EndDateLT applies the LT predicate on the "end_date" field.

func EndDateLTE

func EndDateLTE(v time.Time) predicate.SeckillGoods

EndDateLTE applies the LTE predicate on the "end_date" field.

func EndDateNEQ

func EndDateNEQ(v time.Time) predicate.SeckillGoods

EndDateNEQ applies the NEQ predicate on the "end_date" field.

func EndDateNotIn

func EndDateNotIn(vs ...time.Time) predicate.SeckillGoods

EndDateNotIn applies the NotIn predicate on the "end_date" field.

func GoodsID

func GoodsID(v int64) predicate.SeckillGoods

GoodsID applies equality check predicate on the "goods_id" field. It's identical to GoodsIDEQ.

func GoodsIDEQ

func GoodsIDEQ(v int64) predicate.SeckillGoods

GoodsIDEQ applies the EQ predicate on the "goods_id" field.

func GoodsIDGT

func GoodsIDGT(v int64) predicate.SeckillGoods

GoodsIDGT applies the GT predicate on the "goods_id" field.

func GoodsIDGTE

func GoodsIDGTE(v int64) predicate.SeckillGoods

GoodsIDGTE applies the GTE predicate on the "goods_id" field.

func GoodsIDIn

func GoodsIDIn(vs ...int64) predicate.SeckillGoods

GoodsIDIn applies the In predicate on the "goods_id" field.

func GoodsIDLT

func GoodsIDLT(v int64) predicate.SeckillGoods

GoodsIDLT applies the LT predicate on the "goods_id" field.

func GoodsIDLTE

func GoodsIDLTE(v int64) predicate.SeckillGoods

GoodsIDLTE applies the LTE predicate on the "goods_id" field.

func GoodsIDNEQ

func GoodsIDNEQ(v int64) predicate.SeckillGoods

GoodsIDNEQ applies the NEQ predicate on the "goods_id" field.

func GoodsIDNotIn

func GoodsIDNotIn(vs ...int64) predicate.SeckillGoods

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.SeckillGoods

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.SeckillGoods

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.SeckillGoods

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.SeckillGoods

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.SeckillGoods

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.SeckillGoods

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.SeckillGoods

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.SeckillGoods

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.SeckillGoods) predicate.SeckillGoods

Or groups predicates with the OR operator between them.

func SeckillPrice

func SeckillPrice(v float64) predicate.SeckillGoods

SeckillPrice applies equality check predicate on the "seckill_price" field. It's identical to SeckillPriceEQ.

func SeckillPriceEQ

func SeckillPriceEQ(v float64) predicate.SeckillGoods

SeckillPriceEQ applies the EQ predicate on the "seckill_price" field.

func SeckillPriceGT

func SeckillPriceGT(v float64) predicate.SeckillGoods

SeckillPriceGT applies the GT predicate on the "seckill_price" field.

func SeckillPriceGTE

func SeckillPriceGTE(v float64) predicate.SeckillGoods

SeckillPriceGTE applies the GTE predicate on the "seckill_price" field.

func SeckillPriceIn

func SeckillPriceIn(vs ...float64) predicate.SeckillGoods

SeckillPriceIn applies the In predicate on the "seckill_price" field.

func SeckillPriceLT

func SeckillPriceLT(v float64) predicate.SeckillGoods

SeckillPriceLT applies the LT predicate on the "seckill_price" field.

func SeckillPriceLTE

func SeckillPriceLTE(v float64) predicate.SeckillGoods

SeckillPriceLTE applies the LTE predicate on the "seckill_price" field.

func SeckillPriceNEQ

func SeckillPriceNEQ(v float64) predicate.SeckillGoods

SeckillPriceNEQ applies the NEQ predicate on the "seckill_price" field.

func SeckillPriceNotIn

func SeckillPriceNotIn(vs ...float64) predicate.SeckillGoods

SeckillPriceNotIn applies the NotIn predicate on the "seckill_price" field.

func StartDate

func StartDate(v time.Time) predicate.SeckillGoods

StartDate applies equality check predicate on the "start_date" field. It's identical to StartDateEQ.

func StartDateEQ

func StartDateEQ(v time.Time) predicate.SeckillGoods

StartDateEQ applies the EQ predicate on the "start_date" field.

func StartDateGT

func StartDateGT(v time.Time) predicate.SeckillGoods

StartDateGT applies the GT predicate on the "start_date" field.

func StartDateGTE

func StartDateGTE(v time.Time) predicate.SeckillGoods

StartDateGTE applies the GTE predicate on the "start_date" field.

func StartDateIn

func StartDateIn(vs ...time.Time) predicate.SeckillGoods

StartDateIn applies the In predicate on the "start_date" field.

func StartDateLT

func StartDateLT(v time.Time) predicate.SeckillGoods

StartDateLT applies the LT predicate on the "start_date" field.

func StartDateLTE

func StartDateLTE(v time.Time) predicate.SeckillGoods

StartDateLTE applies the LTE predicate on the "start_date" field.

func StartDateNEQ

func StartDateNEQ(v time.Time) predicate.SeckillGoods

StartDateNEQ applies the NEQ predicate on the "start_date" field.

func StartDateNotIn

func StartDateNotIn(vs ...time.Time) predicate.SeckillGoods

StartDateNotIn applies the NotIn predicate on the "start_date" field.

func StockCount

func StockCount(v int64) predicate.SeckillGoods

StockCount applies equality check predicate on the "stock_count" field. It's identical to StockCountEQ.

func StockCountEQ

func StockCountEQ(v int64) predicate.SeckillGoods

StockCountEQ applies the EQ predicate on the "stock_count" field.

func StockCountGT

func StockCountGT(v int64) predicate.SeckillGoods

StockCountGT applies the GT predicate on the "stock_count" field.

func StockCountGTE

func StockCountGTE(v int64) predicate.SeckillGoods

StockCountGTE applies the GTE predicate on the "stock_count" field.

func StockCountIn

func StockCountIn(vs ...int64) predicate.SeckillGoods

StockCountIn applies the In predicate on the "stock_count" field.

func StockCountLT

func StockCountLT(v int64) predicate.SeckillGoods

StockCountLT applies the LT predicate on the "stock_count" field.

func StockCountLTE

func StockCountLTE(v int64) predicate.SeckillGoods

StockCountLTE applies the LTE predicate on the "stock_count" field.

func StockCountNEQ

func StockCountNEQ(v int64) predicate.SeckillGoods

StockCountNEQ applies the NEQ predicate on the "stock_count" field.

func StockCountNotIn

func StockCountNotIn(vs ...int64) predicate.SeckillGoods

StockCountNotIn applies the NotIn predicate on the "stock_count" 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