careertaskdescription

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the careertaskdescription type in the database.
	Label = "career_task_description"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// EdgeCareerTask holds the string denoting the careertask edge name in mutations.
	EdgeCareerTask = "careerTask"
	// Table holds the table name of the careertaskdescription in the database.
	Table = "career_task_descriptions"
	// CareerTaskTable is the table that holds the careerTask relation/edge.
	CareerTaskTable = "career_task_descriptions"
	// CareerTaskInverseTable is the table name for the CareerTask entity.
	// It exists in this package in order to avoid circular dependency with the "careertask" package.
	CareerTaskInverseTable = "career_tasks"
	// CareerTaskColumn is the table column denoting the careerTask relation/edge.
	CareerTaskColumn = "career_task_id"
)

Variables

Columns holds all SQL columns for careertaskdescription fields.

View Source
var (
	// DescriptionValidator is a validator for the "description" field. It is called by the builders before save.
	DescriptionValidator func(string) error
)
View Source
var ForeignKeys = []string{
	"career_task_id",
}

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

Functions

func And

And groups predicates with the AND operator between them.

func Description

func Description(v string) predicate.CareerTaskDescription

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

func DescriptionContains

func DescriptionContains(v string) predicate.CareerTaskDescription

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.CareerTaskDescription

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.CareerTaskDescription

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.CareerTaskDescription

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

func DescriptionGT

func DescriptionGT(v string) predicate.CareerTaskDescription

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.CareerTaskDescription

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.CareerTaskDescription

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.CareerTaskDescription

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.CareerTaskDescription

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.CareerTaskDescription

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.CareerTaskDescription

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

func DescriptionNotIn

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

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

func HasCareerTask

func HasCareerTask() predicate.CareerTaskDescription

HasCareerTask applies the HasEdge predicate on the "careerTask" edge.

func HasCareerTaskWith

func HasCareerTaskWith(preds ...predicate.CareerTask) predicate.CareerTaskDescription

HasCareerTaskWith applies the HasEdge predicate on the "careerTask" 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

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

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 CareerTaskDescription queries.

func ByCareerTaskField

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

ByCareerTaskField orders the results by careerTask field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByID

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

ByID orders the results by the id field.

Jump to

Keyboard shortcuts

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