Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User_job) predicate.User_job
- func CreateTime(v time.Time) predicate.User_job
- func CreateTimeEQ(v time.Time) predicate.User_job
- func CreateTimeGT(v time.Time) predicate.User_job
- func CreateTimeGTE(v time.Time) predicate.User_job
- func CreateTimeIn(vs ...time.Time) predicate.User_job
- func CreateTimeLT(v time.Time) predicate.User_job
- func CreateTimeLTE(v time.Time) predicate.User_job
- func CreateTimeNEQ(v time.Time) predicate.User_job
- func CreateTimeNotIn(vs ...time.Time) predicate.User_job
- func ID(id int) predicate.User_job
- func IDEQ(id int) predicate.User_job
- func IDGT(id int) predicate.User_job
- func IDGTE(id int) predicate.User_job
- func IDIn(ids ...int) predicate.User_job
- func IDLT(id int) predicate.User_job
- func IDLTE(id int) predicate.User_job
- func IDNEQ(id int) predicate.User_job
- func IDNotIn(ids ...int) predicate.User_job
- func JobID(v int64) predicate.User_job
- func JobIDEQ(v int64) predicate.User_job
- func JobIDGT(v int64) predicate.User_job
- func JobIDGTE(v int64) predicate.User_job
- func JobIDIn(vs ...int64) predicate.User_job
- func JobIDLT(v int64) predicate.User_job
- func JobIDLTE(v int64) predicate.User_job
- func JobIDNEQ(v int64) predicate.User_job
- func JobIDNotIn(vs ...int64) predicate.User_job
- func Not(p predicate.User_job) predicate.User_job
- func Or(predicates ...predicate.User_job) predicate.User_job
- func UpdateTime(v time.Time) predicate.User_job
- func UpdateTimeEQ(v time.Time) predicate.User_job
- func UpdateTimeGT(v time.Time) predicate.User_job
- func UpdateTimeGTE(v time.Time) predicate.User_job
- func UpdateTimeIn(vs ...time.Time) predicate.User_job
- func UpdateTimeLT(v time.Time) predicate.User_job
- func UpdateTimeLTE(v time.Time) predicate.User_job
- func UpdateTimeNEQ(v time.Time) predicate.User_job
- func UpdateTimeNotIn(vs ...time.Time) predicate.User_job
- func UserID(v int64) predicate.User_job
- func UserIDEQ(v int64) predicate.User_job
- func UserIDGT(v int64) predicate.User_job
- func UserIDGTE(v int64) predicate.User_job
- func UserIDIn(vs ...int64) predicate.User_job
- func UserIDLT(v int64) predicate.User_job
- func UserIDLTE(v int64) predicate.User_job
- func UserIDNEQ(v int64) predicate.User_job
- func UserIDNotIn(vs ...int64) predicate.User_job
- func ValidColumn(column string) bool
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldJobID, FieldUserID, FieldCreateTime, FieldUpdateTime, }
Columns holds all SQL columns for user_job fields.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func JobID ¶
JobID applies equality check predicate on the "job_id" field. It's identical to JobIDEQ.
func JobIDNotIn ¶
JobIDNotIn applies the NotIn predicate on the "job_id" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.