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

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

Columns holds all SQL columns for job fields.

Functions

func And

func And(predicates ...predicate.Job) predicate.Job

And groups predicates with the AND operator between them.

func Area

func Area(v string) predicate.Job

Area applies equality check predicate on the "area" field. It's identical to AreaEQ.

func AreaContains

func AreaContains(v string) predicate.Job

AreaContains applies the Contains predicate on the "area" field.

func AreaContainsFold

func AreaContainsFold(v string) predicate.Job

AreaContainsFold applies the ContainsFold predicate on the "area" field.

func AreaEQ

func AreaEQ(v string) predicate.Job

AreaEQ applies the EQ predicate on the "area" field.

func AreaEqualFold

func AreaEqualFold(v string) predicate.Job

AreaEqualFold applies the EqualFold predicate on the "area" field.

func AreaGT

func AreaGT(v string) predicate.Job

AreaGT applies the GT predicate on the "area" field.

func AreaGTE

func AreaGTE(v string) predicate.Job

AreaGTE applies the GTE predicate on the "area" field.

func AreaHasPrefix

func AreaHasPrefix(v string) predicate.Job

AreaHasPrefix applies the HasPrefix predicate on the "area" field.

func AreaHasSuffix

func AreaHasSuffix(v string) predicate.Job

AreaHasSuffix applies the HasSuffix predicate on the "area" field.

func AreaIn

func AreaIn(vs ...string) predicate.Job

AreaIn applies the In predicate on the "area" field.

func AreaLT

func AreaLT(v string) predicate.Job

AreaLT applies the LT predicate on the "area" field.

func AreaLTE

func AreaLTE(v string) predicate.Job

AreaLTE applies the LTE predicate on the "area" field.

func AreaNEQ

func AreaNEQ(v string) predicate.Job

AreaNEQ applies the NEQ predicate on the "area" field.

func AreaNotIn

func AreaNotIn(vs ...string) predicate.Job

AreaNotIn applies the NotIn predicate on the "area" field.

func CompanyName

func CompanyName(v string) predicate.Job

CompanyName applies equality check predicate on the "company_name" field. It's identical to CompanyNameEQ.

func CompanyNameContains

func CompanyNameContains(v string) predicate.Job

CompanyNameContains applies the Contains predicate on the "company_name" field.

func CompanyNameContainsFold

func CompanyNameContainsFold(v string) predicate.Job

CompanyNameContainsFold applies the ContainsFold predicate on the "company_name" field.

func CompanyNameEQ

func CompanyNameEQ(v string) predicate.Job

CompanyNameEQ applies the EQ predicate on the "company_name" field.

func CompanyNameEqualFold

func CompanyNameEqualFold(v string) predicate.Job

CompanyNameEqualFold applies the EqualFold predicate on the "company_name" field.

func CompanyNameGT

func CompanyNameGT(v string) predicate.Job

CompanyNameGT applies the GT predicate on the "company_name" field.

func CompanyNameGTE

func CompanyNameGTE(v string) predicate.Job

CompanyNameGTE applies the GTE predicate on the "company_name" field.

func CompanyNameHasPrefix

func CompanyNameHasPrefix(v string) predicate.Job

CompanyNameHasPrefix applies the HasPrefix predicate on the "company_name" field.

func CompanyNameHasSuffix

func CompanyNameHasSuffix(v string) predicate.Job

CompanyNameHasSuffix applies the HasSuffix predicate on the "company_name" field.

func CompanyNameIn

func CompanyNameIn(vs ...string) predicate.Job

CompanyNameIn applies the In predicate on the "company_name" field.

func CompanyNameLT

func CompanyNameLT(v string) predicate.Job

CompanyNameLT applies the LT predicate on the "company_name" field.

func CompanyNameLTE

func CompanyNameLTE(v string) predicate.Job

CompanyNameLTE applies the LTE predicate on the "company_name" field.

func CompanyNameNEQ

func CompanyNameNEQ(v string) predicate.Job

CompanyNameNEQ applies the NEQ predicate on the "company_name" field.

func CompanyNameNotIn

func CompanyNameNotIn(vs ...string) predicate.Job

CompanyNameNotIn applies the NotIn predicate on the "company_name" field.

func CreateTime

func CreateTime(v time.Time) predicate.Job

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Job

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Job

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Job

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Job

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Job

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Job

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

func CreateTimeNotIn

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

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

func Description

func Description(v string) predicate.Job

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Job

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Job

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Job

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Job

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Job

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Job

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Job

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Job

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Job

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Job

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Job

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Job

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Job

DescriptionNotIn applies the NotIn predicate on the "description" field.

func Exp

func Exp(v int8) predicate.Job

Exp applies equality check predicate on the "exp" field. It's identical to ExpEQ.

func ExpEQ

func ExpEQ(v int8) predicate.Job

ExpEQ applies the EQ predicate on the "exp" field.

func ExpGT

func ExpGT(v int8) predicate.Job

ExpGT applies the GT predicate on the "exp" field.

func ExpGTE

func ExpGTE(v int8) predicate.Job

ExpGTE applies the GTE predicate on the "exp" field.

func ExpIn

func ExpIn(vs ...int8) predicate.Job

ExpIn applies the In predicate on the "exp" field.

func ExpLT

func ExpLT(v int8) predicate.Job

ExpLT applies the LT predicate on the "exp" field.

func ExpLTE

func ExpLTE(v int8) predicate.Job

ExpLTE applies the LTE predicate on the "exp" field.

func ExpNEQ

func ExpNEQ(v int8) predicate.Job

ExpNEQ applies the NEQ predicate on the "exp" field.

func ExpNotIn

func ExpNotIn(vs ...int8) predicate.Job

ExpNotIn applies the NotIn predicate on the "exp" field.

func ID

func ID(id int) predicate.Job

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Job

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Job

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Job

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Job

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Job

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Job

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsExist

func IsExist(v bool) predicate.Job

IsExist applies equality check predicate on the "is_exist" field. It's identical to IsExistEQ.

func IsExistEQ

func IsExistEQ(v bool) predicate.Job

IsExistEQ applies the EQ predicate on the "is_exist" field.

func IsExistNEQ

func IsExistNEQ(v bool) predicate.Job

IsExistNEQ applies the NEQ predicate on the "is_exist" field.

func IsRemote

func IsRemote(v bool) predicate.Job

IsRemote applies equality check predicate on the "is_remote" field. It's identical to IsRemoteEQ.

func IsRemoteEQ

func IsRemoteEQ(v bool) predicate.Job

IsRemoteEQ applies the EQ predicate on the "is_remote" field.

func IsRemoteNEQ

func IsRemoteNEQ(v bool) predicate.Job

IsRemoteNEQ applies the NEQ predicate on the "is_remote" field.

func JobName

func JobName(v string) predicate.Job

JobName applies equality check predicate on the "job_name" field. It's identical to JobNameEQ.

func JobNameContains

func JobNameContains(v string) predicate.Job

JobNameContains applies the Contains predicate on the "job_name" field.

func JobNameContainsFold

func JobNameContainsFold(v string) predicate.Job

JobNameContainsFold applies the ContainsFold predicate on the "job_name" field.

func JobNameEQ

func JobNameEQ(v string) predicate.Job

JobNameEQ applies the EQ predicate on the "job_name" field.

func JobNameEqualFold

func JobNameEqualFold(v string) predicate.Job

JobNameEqualFold applies the EqualFold predicate on the "job_name" field.

func JobNameGT

func JobNameGT(v string) predicate.Job

JobNameGT applies the GT predicate on the "job_name" field.

func JobNameGTE

func JobNameGTE(v string) predicate.Job

JobNameGTE applies the GTE predicate on the "job_name" field.

func JobNameHasPrefix

func JobNameHasPrefix(v string) predicate.Job

JobNameHasPrefix applies the HasPrefix predicate on the "job_name" field.

func JobNameHasSuffix

func JobNameHasSuffix(v string) predicate.Job

JobNameHasSuffix applies the HasSuffix predicate on the "job_name" field.

func JobNameIn

func JobNameIn(vs ...string) predicate.Job

JobNameIn applies the In predicate on the "job_name" field.

func JobNameLT

func JobNameLT(v string) predicate.Job

JobNameLT applies the LT predicate on the "job_name" field.

func JobNameLTE

func JobNameLTE(v string) predicate.Job

JobNameLTE applies the LTE predicate on the "job_name" field.

func JobNameNEQ

func JobNameNEQ(v string) predicate.Job

JobNameNEQ applies the NEQ predicate on the "job_name" field.

func JobNameNotIn

func JobNameNotIn(vs ...string) predicate.Job

JobNameNotIn applies the NotIn predicate on the "job_name" field.

func Not

func Not(p predicate.Job) predicate.Job

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Job) predicate.Job

Or groups predicates with the OR operator between them.

func UpdateTime

func UpdateTime(v time.Time) predicate.Job

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

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.Job

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

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.Job

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

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.Job

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

func UpdateTimeIn

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

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

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.Job

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

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.Job

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

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.Job

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

func UpdateTimeNotIn

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

UpdateTimeNotIn applies the NotIn predicate on the "update_time" 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