Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserCareerDescription) predicate.UserCareerDescription
- func Description(v string) predicate.UserCareerDescription
- func DescriptionContains(v string) predicate.UserCareerDescription
- func DescriptionContainsFold(v string) predicate.UserCareerDescription
- func DescriptionEQ(v string) predicate.UserCareerDescription
- func DescriptionEqualFold(v string) predicate.UserCareerDescription
- func DescriptionGT(v string) predicate.UserCareerDescription
- func DescriptionGTE(v string) predicate.UserCareerDescription
- func DescriptionHasPrefix(v string) predicate.UserCareerDescription
- func DescriptionHasSuffix(v string) predicate.UserCareerDescription
- func DescriptionIn(vs ...string) predicate.UserCareerDescription
- func DescriptionLT(v string) predicate.UserCareerDescription
- func DescriptionLTE(v string) predicate.UserCareerDescription
- func DescriptionNEQ(v string) predicate.UserCareerDescription
- func DescriptionNotIn(vs ...string) predicate.UserCareerDescription
- func HasCareer() predicate.UserCareerDescription
- func HasCareerWith(preds ...predicate.UserCareer) predicate.UserCareerDescription
- func ID(id int) predicate.UserCareerDescription
- func IDEQ(id int) predicate.UserCareerDescription
- func IDGT(id int) predicate.UserCareerDescription
- func IDGTE(id int) predicate.UserCareerDescription
- func IDIn(ids ...int) predicate.UserCareerDescription
- func IDLT(id int) predicate.UserCareerDescription
- func IDLTE(id int) predicate.UserCareerDescription
- func IDNEQ(id int) predicate.UserCareerDescription
- func IDNotIn(ids ...int) predicate.UserCareerDescription
- func Not(p predicate.UserCareerDescription) predicate.UserCareerDescription
- func Or(predicates ...predicate.UserCareerDescription) predicate.UserCareerDescription
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the usercareerdescription type in the database. Label = "user_career_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" // EdgeCareer holds the string denoting the career edge name in mutations. EdgeCareer = "career" // Table holds the table name of the usercareerdescription in the database. Table = "user_career_descriptions" // CareerTable is the table that holds the career relation/edge. CareerTable = "user_career_descriptions" // 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" )
Variables ¶
var Columns = []string{ FieldID, FieldDescription, }
Columns holds all SQL columns for usercareerdescription fields.
var ( // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error )
var ForeignKeys = []string{
"career_id",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "user_career_descriptions" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.UserCareerDescription) predicate.UserCareerDescription
And groups predicates with the AND operator between them.
func Description ¶
func Description(v string) predicate.UserCareerDescription
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.UserCareerDescription
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.UserCareerDescription
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.UserCareerDescription
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.UserCareerDescription
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.UserCareerDescription
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.UserCareerDescription
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.UserCareerDescription
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.UserCareerDescription
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.UserCareerDescription
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.UserCareerDescription
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.UserCareerDescription
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.UserCareerDescription
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.UserCareerDescription
DescriptionNotIn applies the NotIn predicate on the "description" field.
func HasCareer ¶
func HasCareer() predicate.UserCareerDescription
HasCareer applies the HasEdge predicate on the "career" edge.
func HasCareerWith ¶
func HasCareerWith(preds ...predicate.UserCareer) predicate.UserCareerDescription
HasCareerWith applies the HasEdge predicate on the "career" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.UserCareerDescription
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.UserCareerDescription
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.UserCareerDescription
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.UserCareerDescription
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserCareerDescription
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.UserCareerDescription
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserCareerDescription
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserCareerDescription
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserCareerDescription
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.UserCareerDescription) predicate.UserCareerDescription
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserCareerDescription) predicate.UserCareerDescription
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the UserCareerDescription queries.
func ByCareerField ¶
func ByCareerField(field string, opts ...sql.OrderTermOption) OrderOption
ByCareerField orders the results by career 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.