Documentation
¶
Index ¶
- Constants
- Variables
- func Abbreviation(v string) predicate.ScaleTranslation
- func AbbreviationContains(v string) predicate.ScaleTranslation
- func AbbreviationContainsFold(v string) predicate.ScaleTranslation
- func AbbreviationEQ(v string) predicate.ScaleTranslation
- func AbbreviationEqualFold(v string) predicate.ScaleTranslation
- func AbbreviationGT(v string) predicate.ScaleTranslation
- func AbbreviationGTE(v string) predicate.ScaleTranslation
- func AbbreviationHasPrefix(v string) predicate.ScaleTranslation
- func AbbreviationHasSuffix(v string) predicate.ScaleTranslation
- func AbbreviationIn(vs ...string) predicate.ScaleTranslation
- func AbbreviationLT(v string) predicate.ScaleTranslation
- func AbbreviationLTE(v string) predicate.ScaleTranslation
- func AbbreviationNEQ(v string) predicate.ScaleTranslation
- func AbbreviationNotIn(vs ...string) predicate.ScaleTranslation
- func And(predicates ...predicate.ScaleTranslation) predicate.ScaleTranslation
- func Description(v string) predicate.ScaleTranslation
- func DescriptionContains(v string) predicate.ScaleTranslation
- func DescriptionContainsFold(v string) predicate.ScaleTranslation
- func DescriptionEQ(v string) predicate.ScaleTranslation
- func DescriptionEqualFold(v string) predicate.ScaleTranslation
- func DescriptionGT(v string) predicate.ScaleTranslation
- func DescriptionGTE(v string) predicate.ScaleTranslation
- func DescriptionHasPrefix(v string) predicate.ScaleTranslation
- func DescriptionHasSuffix(v string) predicate.ScaleTranslation
- func DescriptionIn(vs ...string) predicate.ScaleTranslation
- func DescriptionIsNil() predicate.ScaleTranslation
- func DescriptionLT(v string) predicate.ScaleTranslation
- func DescriptionLTE(v string) predicate.ScaleTranslation
- func DescriptionNEQ(v string) predicate.ScaleTranslation
- func DescriptionNotIn(vs ...string) predicate.ScaleTranslation
- func DescriptionNotNil() predicate.ScaleTranslation
- func HasScale() predicate.ScaleTranslation
- func HasScaleWith(preds ...predicate.Scale) predicate.ScaleTranslation
- func ID(id uuid.UUID) predicate.ScaleTranslation
- func IDEQ(id uuid.UUID) predicate.ScaleTranslation
- func IDGT(id uuid.UUID) predicate.ScaleTranslation
- func IDGTE(id uuid.UUID) predicate.ScaleTranslation
- func IDIn(ids ...uuid.UUID) predicate.ScaleTranslation
- func IDLT(id uuid.UUID) predicate.ScaleTranslation
- func IDLTE(id uuid.UUID) predicate.ScaleTranslation
- func IDNEQ(id uuid.UUID) predicate.ScaleTranslation
- func IDNotIn(ids ...uuid.UUID) predicate.ScaleTranslation
- func LocaleEQ(v Locale) predicate.ScaleTranslation
- func LocaleIn(vs ...Locale) predicate.ScaleTranslation
- func LocaleNEQ(v Locale) predicate.ScaleTranslation
- func LocaleNotIn(vs ...Locale) predicate.ScaleTranslation
- func LocaleValidator(l Locale) error
- func Not(p predicate.ScaleTranslation) predicate.ScaleTranslation
- func Or(predicates ...predicate.ScaleTranslation) predicate.ScaleTranslation
- func Title(v string) predicate.ScaleTranslation
- func TitleContains(v string) predicate.ScaleTranslation
- func TitleContainsFold(v string) predicate.ScaleTranslation
- func TitleEQ(v string) predicate.ScaleTranslation
- func TitleEqualFold(v string) predicate.ScaleTranslation
- func TitleGT(v string) predicate.ScaleTranslation
- func TitleGTE(v string) predicate.ScaleTranslation
- func TitleHasPrefix(v string) predicate.ScaleTranslation
- func TitleHasSuffix(v string) predicate.ScaleTranslation
- func TitleIn(vs ...string) predicate.ScaleTranslation
- func TitleLT(v string) predicate.ScaleTranslation
- func TitleLTE(v string) predicate.ScaleTranslation
- func TitleNEQ(v string) predicate.ScaleTranslation
- func TitleNotIn(vs ...string) predicate.ScaleTranslation
- func ValidColumn(column string) bool
- type Locale
Constants ¶
const ( // Label holds the string label denoting the scaletranslation type in the database. Label = "scale_translation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldLocale holds the string denoting the locale field in the database. FieldLocale = "locale" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldAbbreviation holds the string denoting the abbreviation field in the database. FieldAbbreviation = "abbreviation" // EdgeScale holds the string denoting the scale edge name in mutations. EdgeScale = "scale" // Table holds the table name of the scaletranslation in the database. Table = "scale_translations" // ScaleTable is the table that holds the scale relation/edge. ScaleTable = "scale_translations" // ScaleInverseTable is the table name for the Scale entity. // It exists in this package in order to avoid circular dependency with the "scale" package. ScaleInverseTable = "scales" // ScaleColumn is the table column denoting the scale relation/edge. ScaleColumn = "scale_translations" )
Variables ¶
var ( // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DefaultAbbreviation holds the default value on creation for the "abbreviation" field. DefaultAbbreviation string // AbbreviationValidator is a validator for the "abbreviation" field. It is called by the builders before save. AbbreviationValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldLocale, FieldTitle, FieldDescription, FieldAbbreviation, }
Columns holds all SQL columns for scaletranslation fields.
var ForeignKeys = []string{
"scale_translations",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "scale_translations" table and are not defined as standalone fields in the schema.
Functions ¶
func Abbreviation ¶
func Abbreviation(v string) predicate.ScaleTranslation
Abbreviation applies equality check predicate on the "abbreviation" field. It's identical to AbbreviationEQ.
func AbbreviationContains ¶
func AbbreviationContains(v string) predicate.ScaleTranslation
AbbreviationContains applies the Contains predicate on the "abbreviation" field.
func AbbreviationContainsFold ¶
func AbbreviationContainsFold(v string) predicate.ScaleTranslation
AbbreviationContainsFold applies the ContainsFold predicate on the "abbreviation" field.
func AbbreviationEQ ¶
func AbbreviationEQ(v string) predicate.ScaleTranslation
AbbreviationEQ applies the EQ predicate on the "abbreviation" field.
func AbbreviationEqualFold ¶
func AbbreviationEqualFold(v string) predicate.ScaleTranslation
AbbreviationEqualFold applies the EqualFold predicate on the "abbreviation" field.
func AbbreviationGT ¶
func AbbreviationGT(v string) predicate.ScaleTranslation
AbbreviationGT applies the GT predicate on the "abbreviation" field.
func AbbreviationGTE ¶
func AbbreviationGTE(v string) predicate.ScaleTranslation
AbbreviationGTE applies the GTE predicate on the "abbreviation" field.
func AbbreviationHasPrefix ¶
func AbbreviationHasPrefix(v string) predicate.ScaleTranslation
AbbreviationHasPrefix applies the HasPrefix predicate on the "abbreviation" field.
func AbbreviationHasSuffix ¶
func AbbreviationHasSuffix(v string) predicate.ScaleTranslation
AbbreviationHasSuffix applies the HasSuffix predicate on the "abbreviation" field.
func AbbreviationIn ¶
func AbbreviationIn(vs ...string) predicate.ScaleTranslation
AbbreviationIn applies the In predicate on the "abbreviation" field.
func AbbreviationLT ¶
func AbbreviationLT(v string) predicate.ScaleTranslation
AbbreviationLT applies the LT predicate on the "abbreviation" field.
func AbbreviationLTE ¶
func AbbreviationLTE(v string) predicate.ScaleTranslation
AbbreviationLTE applies the LTE predicate on the "abbreviation" field.
func AbbreviationNEQ ¶
func AbbreviationNEQ(v string) predicate.ScaleTranslation
AbbreviationNEQ applies the NEQ predicate on the "abbreviation" field.
func AbbreviationNotIn ¶
func AbbreviationNotIn(vs ...string) predicate.ScaleTranslation
AbbreviationNotIn applies the NotIn predicate on the "abbreviation" field.
func And ¶
func And(predicates ...predicate.ScaleTranslation) predicate.ScaleTranslation
And groups predicates with the AND operator between them.
func Description ¶
func Description(v string) predicate.ScaleTranslation
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ScaleTranslation
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ScaleTranslation
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ScaleTranslation
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ScaleTranslation
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ScaleTranslation
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ScaleTranslation
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ScaleTranslation
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ScaleTranslation
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ScaleTranslation
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ScaleTranslation
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ScaleTranslation
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ScaleTranslation
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ScaleTranslation
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ScaleTranslation
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ScaleTranslation
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasScale ¶
func HasScale() predicate.ScaleTranslation
HasScale applies the HasEdge predicate on the "scale" edge.
func HasScaleWith ¶
func HasScaleWith(preds ...predicate.Scale) predicate.ScaleTranslation
HasScaleWith applies the HasEdge predicate on the "scale" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.ScaleTranslation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ScaleTranslation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ScaleTranslation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ScaleTranslation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ScaleTranslation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ScaleTranslation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ScaleTranslation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ScaleTranslation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ScaleTranslation
IDNotIn applies the NotIn predicate on the ID field.
func LocaleEQ ¶
func LocaleEQ(v Locale) predicate.ScaleTranslation
LocaleEQ applies the EQ predicate on the "locale" field.
func LocaleIn ¶
func LocaleIn(vs ...Locale) predicate.ScaleTranslation
LocaleIn applies the In predicate on the "locale" field.
func LocaleNEQ ¶
func LocaleNEQ(v Locale) predicate.ScaleTranslation
LocaleNEQ applies the NEQ predicate on the "locale" field.
func LocaleNotIn ¶
func LocaleNotIn(vs ...Locale) predicate.ScaleTranslation
LocaleNotIn applies the NotIn predicate on the "locale" field.
func LocaleValidator ¶
LocaleValidator is a validator for the "locale" field enum values. It is called by the builders before save.
func Not ¶
func Not(p predicate.ScaleTranslation) predicate.ScaleTranslation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ScaleTranslation) predicate.ScaleTranslation
Or groups predicates with the OR operator between them.
func Title ¶
func Title(v string) predicate.ScaleTranslation
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.ScaleTranslation
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.ScaleTranslation
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.ScaleTranslation
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.ScaleTranslation
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.ScaleTranslation
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.ScaleTranslation
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.ScaleTranslation
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.ScaleTranslation
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.ScaleTranslation
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.ScaleTranslation
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.ScaleTranslation
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.ScaleTranslation
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.ScaleTranslation
TitleNotIn applies the NotIn predicate on the "title" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).