careerskillgroup

package
v0.0.0-...-f0d0762 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the careerskillgroup type in the database.
	Label = "career_skill_group"
	// 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"
	// FieldLabel holds the string denoting the label field in the database.
	FieldLabel = "label"
	// EdgeCareer holds the string denoting the career edge name in mutations.
	EdgeCareer = "career"
	// EdgeCareerSkills holds the string denoting the careerskills edge name in mutations.
	EdgeCareerSkills = "careerSkills"
	// Table holds the table name of the careerskillgroup in the database.
	Table = "career_skill_groups"
	// CareerTable is the table that holds the career relation/edge.
	CareerTable = "career_skill_groups"
	// CareerInverseTable is the table name for the UserCareer entity.
	// It exists in this package in order to avoid circular dependency with the "usercareer" package.
	CareerInverseTable = "user_careers"
	// CareerColumn is the table column denoting the career relation/edge.
	CareerColumn = "career_id"
	// CareerSkillsTable is the table that holds the careerSkills relation/edge.
	CareerSkillsTable = "career_skills"
	// CareerSkillsInverseTable is the table name for the CareerSkill entity.
	// It exists in this package in order to avoid circular dependency with the "careerskill" package.
	CareerSkillsInverseTable = "career_skills"
	// CareerSkillsColumn is the table column denoting the careerSkills relation/edge.
	CareerSkillsColumn = "career_skill_group_id"
)

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
	// LabelValidator is a validator for the "label" field. It is called by the builders before save.
	LabelValidator func(string) error
)

Columns holds all SQL columns for careerskillgroup fields.

View Source
var ForeignKeys = []string{
	"career_id",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "career_skill_groups" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.CareerSkillGroup

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.CareerSkillGroup

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.CareerSkillGroup

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.CareerSkillGroup

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.CareerSkillGroup

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.CareerSkillGroup

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.CareerSkillGroup

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

func CreateTimeNotIn

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

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

func HasCareer

func HasCareer() predicate.CareerSkillGroup

HasCareer applies the HasEdge predicate on the "career" edge.

func HasCareerSkills

func HasCareerSkills() predicate.CareerSkillGroup

HasCareerSkills applies the HasEdge predicate on the "careerSkills" edge.

func HasCareerSkillsWith

func HasCareerSkillsWith(preds ...predicate.CareerSkill) predicate.CareerSkillGroup

HasCareerSkillsWith applies the HasEdge predicate on the "careerSkills" edge with a given conditions (other predicates).

func HasCareerWith

func HasCareerWith(preds ...predicate.UserCareer) predicate.CareerSkillGroup

HasCareerWith applies the HasEdge predicate on the "career" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.CareerSkillGroup

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.CareerSkillGroup

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.CareerSkillGroup

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LabelContains

func LabelContains(v string) predicate.CareerSkillGroup

LabelContains applies the Contains predicate on the "label" field.

func LabelContainsFold

func LabelContainsFold(v string) predicate.CareerSkillGroup

LabelContainsFold applies the ContainsFold predicate on the "label" field.

func LabelEQ

LabelEQ applies the EQ predicate on the "label" field.

func LabelEqualFold

func LabelEqualFold(v string) predicate.CareerSkillGroup

LabelEqualFold applies the EqualFold predicate on the "label" field.

func LabelGT

LabelGT applies the GT predicate on the "label" field.

func LabelGTE

func LabelGTE(v string) predicate.CareerSkillGroup

LabelGTE applies the GTE predicate on the "label" field.

func LabelHasPrefix

func LabelHasPrefix(v string) predicate.CareerSkillGroup

LabelHasPrefix applies the HasPrefix predicate on the "label" field.

func LabelHasSuffix

func LabelHasSuffix(v string) predicate.CareerSkillGroup

LabelHasSuffix applies the HasSuffix predicate on the "label" field.

func LabelIn

func LabelIn(vs ...string) predicate.CareerSkillGroup

LabelIn applies the In predicate on the "label" field.

func LabelLT

LabelLT applies the LT predicate on the "label" field.

func LabelLTE

func LabelLTE(v string) predicate.CareerSkillGroup

LabelLTE applies the LTE predicate on the "label" field.

func LabelNEQ

func LabelNEQ(v string) predicate.CareerSkillGroup

LabelNEQ applies the NEQ predicate on the "label" field.

func LabelNotIn

func LabelNotIn(vs ...string) predicate.CareerSkillGroup

LabelNotIn applies the NotIn predicate on the "label" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UpdateTime

func UpdateTime(v time.Time) predicate.CareerSkillGroup

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

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.CareerSkillGroup

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

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.CareerSkillGroup

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

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.CareerSkillGroup

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

func UpdateTimeIn

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

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

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.CareerSkillGroup

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

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.CareerSkillGroup

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

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.CareerSkillGroup

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

func UpdateTimeNotIn

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

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

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CareerSkillGroup queries.

func ByCareerField

func ByCareerField(field string, opts ...sql.OrderTermOption) OrderOption

ByCareerField orders the results by career field.

func ByCareerSkills

func ByCareerSkills(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCareerSkills orders the results by careerSkills terms.

func ByCareerSkillsCount

func ByCareerSkillsCount(opts ...sql.OrderTermOption) OrderOption

ByCareerSkillsCount orders the results by careerSkills count.

func ByCreateTime

func ByCreateTime(opts ...sql.OrderTermOption) OrderOption

ByCreateTime orders the results by the create_time field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLabel

func ByLabel(opts ...sql.OrderTermOption) OrderOption

ByLabel orders the results by the label field.

func ByUpdateTime

func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption

ByUpdateTime orders the results by the update_time field.

Jump to

Keyboard shortcuts

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