license

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the license type in the database.
	Label = "license"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
)

Variables

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
)

Functions

func And

func And(predicates ...predicate.License) predicate.License

And groups predicates with the AND operator between them.

func CreateTime added in v0.11.3

func CreateTime(v time.Time) predicate.License

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ added in v0.11.3

func CreateTimeEQ(v time.Time) predicate.License

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT added in v0.11.3

func CreateTimeGT(v time.Time) predicate.License

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE added in v0.11.3

func CreateTimeGTE(v time.Time) predicate.License

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn added in v0.11.3

func CreateTimeIn(vs ...time.Time) predicate.License

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT added in v0.11.3

func CreateTimeLT(v time.Time) predicate.License

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE added in v0.11.3

func CreateTimeLTE(v time.Time) predicate.License

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ added in v0.11.3

func CreateTimeNEQ(v time.Time) predicate.License

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn added in v0.11.3

func CreateTimeNotIn(vs ...time.Time) predicate.License

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func ID

func ID(id int) predicate.License

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.License

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.License

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.License

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.License

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.License

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.License

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.License

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.License

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

Or groups predicates with the OR operator between them.

func UpdateTime added in v0.11.3

func UpdateTime(v time.Time) predicate.License

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ added in v0.11.3

func UpdateTimeEQ(v time.Time) predicate.License

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT added in v0.11.3

func UpdateTimeGT(v time.Time) predicate.License

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE added in v0.11.3

func UpdateTimeGTE(v time.Time) predicate.License

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn added in v0.11.3

func UpdateTimeIn(vs ...time.Time) predicate.License

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT added in v0.11.3

func UpdateTimeLT(v time.Time) predicate.License

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE added in v0.11.3

func UpdateTimeLTE(v time.Time) predicate.License

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ added in v0.11.3

func UpdateTimeNEQ(v time.Time) predicate.License

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn added in v0.11.3

func UpdateTimeNotIn(vs ...time.Time) predicate.License

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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