Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Job) predicate.Job
- func Area(v string) predicate.Job
- func AreaContains(v string) predicate.Job
- func AreaContainsFold(v string) predicate.Job
- func AreaEQ(v string) predicate.Job
- func AreaEqualFold(v string) predicate.Job
- func AreaGT(v string) predicate.Job
- func AreaGTE(v string) predicate.Job
- func AreaHasPrefix(v string) predicate.Job
- func AreaHasSuffix(v string) predicate.Job
- func AreaIn(vs ...string) predicate.Job
- func AreaLT(v string) predicate.Job
- func AreaLTE(v string) predicate.Job
- func AreaNEQ(v string) predicate.Job
- func AreaNotIn(vs ...string) predicate.Job
- func CompanyName(v string) predicate.Job
- func CompanyNameContains(v string) predicate.Job
- func CompanyNameContainsFold(v string) predicate.Job
- func CompanyNameEQ(v string) predicate.Job
- func CompanyNameEqualFold(v string) predicate.Job
- func CompanyNameGT(v string) predicate.Job
- func CompanyNameGTE(v string) predicate.Job
- func CompanyNameHasPrefix(v string) predicate.Job
- func CompanyNameHasSuffix(v string) predicate.Job
- func CompanyNameIn(vs ...string) predicate.Job
- func CompanyNameLT(v string) predicate.Job
- func CompanyNameLTE(v string) predicate.Job
- func CompanyNameNEQ(v string) predicate.Job
- func CompanyNameNotIn(vs ...string) predicate.Job
- func CreateTime(v time.Time) predicate.Job
- func CreateTimeEQ(v time.Time) predicate.Job
- func CreateTimeGT(v time.Time) predicate.Job
- func CreateTimeGTE(v time.Time) predicate.Job
- func CreateTimeIn(vs ...time.Time) predicate.Job
- func CreateTimeLT(v time.Time) predicate.Job
- func CreateTimeLTE(v time.Time) predicate.Job
- func CreateTimeNEQ(v time.Time) predicate.Job
- func CreateTimeNotIn(vs ...time.Time) predicate.Job
- func Description(v string) predicate.Job
- func DescriptionContains(v string) predicate.Job
- func DescriptionContainsFold(v string) predicate.Job
- func DescriptionEQ(v string) predicate.Job
- func DescriptionEqualFold(v string) predicate.Job
- func DescriptionGT(v string) predicate.Job
- func DescriptionGTE(v string) predicate.Job
- func DescriptionHasPrefix(v string) predicate.Job
- func DescriptionHasSuffix(v string) predicate.Job
- func DescriptionIn(vs ...string) predicate.Job
- func DescriptionLT(v string) predicate.Job
- func DescriptionLTE(v string) predicate.Job
- func DescriptionNEQ(v string) predicate.Job
- func DescriptionNotIn(vs ...string) predicate.Job
- func Exp(v int8) predicate.Job
- func ExpEQ(v int8) predicate.Job
- func ExpGT(v int8) predicate.Job
- func ExpGTE(v int8) predicate.Job
- func ExpIn(vs ...int8) predicate.Job
- func ExpLT(v int8) predicate.Job
- func ExpLTE(v int8) predicate.Job
- func ExpNEQ(v int8) predicate.Job
- func ExpNotIn(vs ...int8) predicate.Job
- func ID(id int) predicate.Job
- func IDEQ(id int) predicate.Job
- func IDGT(id int) predicate.Job
- func IDGTE(id int) predicate.Job
- func IDIn(ids ...int) predicate.Job
- func IDLT(id int) predicate.Job
- func IDLTE(id int) predicate.Job
- func IDNEQ(id int) predicate.Job
- func IDNotIn(ids ...int) predicate.Job
- func IsExist(v bool) predicate.Job
- func IsExistEQ(v bool) predicate.Job
- func IsExistNEQ(v bool) predicate.Job
- func IsRemote(v bool) predicate.Job
- func IsRemoteEQ(v bool) predicate.Job
- func IsRemoteNEQ(v bool) predicate.Job
- func JobName(v string) predicate.Job
- func JobNameContains(v string) predicate.Job
- func JobNameContainsFold(v string) predicate.Job
- func JobNameEQ(v string) predicate.Job
- func JobNameEqualFold(v string) predicate.Job
- func JobNameGT(v string) predicate.Job
- func JobNameGTE(v string) predicate.Job
- func JobNameHasPrefix(v string) predicate.Job
- func JobNameHasSuffix(v string) predicate.Job
- func JobNameIn(vs ...string) predicate.Job
- func JobNameLT(v string) predicate.Job
- func JobNameLTE(v string) predicate.Job
- func JobNameNEQ(v string) predicate.Job
- func JobNameNotIn(vs ...string) predicate.Job
- func Not(p predicate.Job) predicate.Job
- func Or(predicates ...predicate.Job) predicate.Job
- func UpdateTime(v time.Time) predicate.Job
- func UpdateTimeEQ(v time.Time) predicate.Job
- func UpdateTimeGT(v time.Time) predicate.Job
- func UpdateTimeGTE(v time.Time) predicate.Job
- func UpdateTimeIn(vs ...time.Time) predicate.Job
- func UpdateTimeLT(v time.Time) predicate.Job
- func UpdateTimeLTE(v time.Time) predicate.Job
- func UpdateTimeNEQ(v time.Time) predicate.Job
- func UpdateTimeNotIn(vs ...time.Time) predicate.Job
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the job type in the database. Label = "job" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldJobName holds the string denoting the job_name field in the database. FieldJobName = "job_name" // FieldCompanyName holds the string denoting the company_name field in the database. FieldCompanyName = "company_name" // FieldIsExist holds the string denoting the is_exist field in the database. FieldIsExist = "is_exist" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldIsRemote holds the string denoting the is_remote field in the database. FieldIsRemote = "is_remote" // FieldExp holds the string denoting the exp field in the database. FieldExp = "exp" // FieldArea holds the string denoting the area field in the database. FieldArea = "area" // 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 job in the database. Table = "jobs" )
Variables ¶
var ( // JobNameValidator is a validator for the "job_name" field. It is called by the builders before save. JobNameValidator func(string) error // CompanyNameValidator is a validator for the "company_name" field. It is called by the builders before save. CompanyNameValidator func(string) error // DefaultIsExist holds the default value on creation for the "is_exist" field. DefaultIsExist bool // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // ExpValidator is a validator for the "exp" field. It is called by the builders before save. ExpValidator func(int8) error // AreaValidator is a validator for the "area" field. It is called by the builders before save. AreaValidator func(string) 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, FieldJobName, FieldCompanyName, FieldIsExist, FieldDescription, FieldIsRemote, FieldExp, FieldArea, FieldCreateTime, FieldUpdateTime, }
Columns holds all SQL columns for job fields.
Functions ¶
func AreaContains ¶
AreaContains applies the Contains predicate on the "area" field.
func AreaContainsFold ¶
AreaContainsFold applies the ContainsFold predicate on the "area" field.
func AreaEqualFold ¶
AreaEqualFold applies the EqualFold predicate on the "area" field.
func AreaHasPrefix ¶
AreaHasPrefix applies the HasPrefix predicate on the "area" field.
func AreaHasSuffix ¶
AreaHasSuffix applies the HasSuffix predicate on the "area" field.
func CompanyName ¶
CompanyName applies equality check predicate on the "company_name" field. It's identical to CompanyNameEQ.
func CompanyNameContains ¶
CompanyNameContains applies the Contains predicate on the "company_name" field.
func CompanyNameContainsFold ¶
CompanyNameContainsFold applies the ContainsFold predicate on the "company_name" field.
func CompanyNameEQ ¶
CompanyNameEQ applies the EQ predicate on the "company_name" field.
func CompanyNameEqualFold ¶
CompanyNameEqualFold applies the EqualFold predicate on the "company_name" field.
func CompanyNameGT ¶
CompanyNameGT applies the GT predicate on the "company_name" field.
func CompanyNameGTE ¶
CompanyNameGTE applies the GTE predicate on the "company_name" field.
func CompanyNameHasPrefix ¶
CompanyNameHasPrefix applies the HasPrefix predicate on the "company_name" field.
func CompanyNameHasSuffix ¶
CompanyNameHasSuffix applies the HasSuffix predicate on the "company_name" field.
func CompanyNameIn ¶
CompanyNameIn applies the In predicate on the "company_name" field.
func CompanyNameLT ¶
CompanyNameLT applies the LT predicate on the "company_name" field.
func CompanyNameLTE ¶
CompanyNameLTE applies the LTE predicate on the "company_name" field.
func CompanyNameNEQ ¶
CompanyNameNEQ applies the NEQ predicate on the "company_name" field.
func CompanyNameNotIn ¶
CompanyNameNotIn applies the NotIn predicate on the "company_name" field.
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 Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func IsExist ¶
IsExist applies equality check predicate on the "is_exist" field. It's identical to IsExistEQ.
func IsExistNEQ ¶
IsExistNEQ applies the NEQ predicate on the "is_exist" field.
func IsRemote ¶
IsRemote applies equality check predicate on the "is_remote" field. It's identical to IsRemoteEQ.
func IsRemoteEQ ¶
IsRemoteEQ applies the EQ predicate on the "is_remote" field.
func IsRemoteNEQ ¶
IsRemoteNEQ applies the NEQ predicate on the "is_remote" field.
func JobName ¶
JobName applies equality check predicate on the "job_name" field. It's identical to JobNameEQ.
func JobNameContains ¶
JobNameContains applies the Contains predicate on the "job_name" field.
func JobNameContainsFold ¶
JobNameContainsFold applies the ContainsFold predicate on the "job_name" field.
func JobNameEqualFold ¶
JobNameEqualFold applies the EqualFold predicate on the "job_name" field.
func JobNameGTE ¶
JobNameGTE applies the GTE predicate on the "job_name" field.
func JobNameHasPrefix ¶
JobNameHasPrefix applies the HasPrefix predicate on the "job_name" field.
func JobNameHasSuffix ¶
JobNameHasSuffix applies the HasSuffix predicate on the "job_name" field.
func JobNameLTE ¶
JobNameLTE applies the LTE predicate on the "job_name" field.
func JobNameNEQ ¶
JobNameNEQ applies the NEQ predicate on the "job_name" field.
func JobNameNotIn ¶
JobNameNotIn applies the NotIn predicate on the "job_name" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.