user_job

package
v0.0.0-...-b3d1480 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user_job type in the database.
	Label = "user_job"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldJobID holds the string denoting the job_id field in the database.
	FieldJobID = "job_id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_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"
	// Table holds the table name of the user_job in the database.
	Table = "user_jobs"
)

Variables

View Source
var (
	// JobIDValidator is a validator for the "job_id" field. It is called by the builders before save.
	JobIDValidator func(int64) error
	// UserIDValidator is a validator for the "user_id" field. It is called by the builders before save.
	UserIDValidator func(int64) error
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime 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
)

Columns holds all SQL columns for user_job fields.

Functions

func And

func And(predicates ...predicate.User_job) predicate.User_job

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.User_job

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.User_job

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.User_job

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.User_job

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.User_job

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.User_job

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.User_job

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

func CreateTimeNotIn

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

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

func ID

func ID(id int) predicate.User_job

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.User_job

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.User_job

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.User_job

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.User_job

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.User_job

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.User_job

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func JobID

func JobID(v int64) predicate.User_job

JobID applies equality check predicate on the "job_id" field. It's identical to JobIDEQ.

func JobIDEQ

func JobIDEQ(v int64) predicate.User_job

JobIDEQ applies the EQ predicate on the "job_id" field.

func JobIDGT

func JobIDGT(v int64) predicate.User_job

JobIDGT applies the GT predicate on the "job_id" field.

func JobIDGTE

func JobIDGTE(v int64) predicate.User_job

JobIDGTE applies the GTE predicate on the "job_id" field.

func JobIDIn

func JobIDIn(vs ...int64) predicate.User_job

JobIDIn applies the In predicate on the "job_id" field.

func JobIDLT

func JobIDLT(v int64) predicate.User_job

JobIDLT applies the LT predicate on the "job_id" field.

func JobIDLTE

func JobIDLTE(v int64) predicate.User_job

JobIDLTE applies the LTE predicate on the "job_id" field.

func JobIDNEQ

func JobIDNEQ(v int64) predicate.User_job

JobIDNEQ applies the NEQ predicate on the "job_id" field.

func JobIDNotIn

func JobIDNotIn(vs ...int64) predicate.User_job

JobIDNotIn applies the NotIn predicate on the "job_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.User_job) predicate.User_job

Or groups predicates with the OR operator between them.

func UpdateTime

func UpdateTime(v time.Time) predicate.User_job

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

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.User_job

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

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.User_job

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

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.User_job

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

func UpdateTimeIn

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

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

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.User_job

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

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.User_job

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

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.User_job

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

func UpdateTimeNotIn

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

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

func UserID

func UserID(v int64) predicate.User_job

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v int64) predicate.User_job

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v int64) predicate.User_job

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v int64) predicate.User_job

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...int64) predicate.User_job

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v int64) predicate.User_job

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v int64) predicate.User_job

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v int64) predicate.User_job

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...int64) predicate.User_job

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