ordergoods

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

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

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 ID

func ID(id int64) predicate.OrderGoods

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.OrderGoods

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.OrderGoods

IDGT applies the GT predicate on the ID 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 IDLT

func IDLT(id int64) predicate.OrderGoods

IDLT applies the LT 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

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

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