Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TestTranslation) predicate.TestTranslation
- func Description(v string) predicate.TestTranslation
- func DescriptionContains(v string) predicate.TestTranslation
- func DescriptionContainsFold(v string) predicate.TestTranslation
- func DescriptionEQ(v string) predicate.TestTranslation
- func DescriptionEqualFold(v string) predicate.TestTranslation
- func DescriptionGT(v string) predicate.TestTranslation
- func DescriptionGTE(v string) predicate.TestTranslation
- func DescriptionHasPrefix(v string) predicate.TestTranslation
- func DescriptionHasSuffix(v string) predicate.TestTranslation
- func DescriptionIn(vs ...string) predicate.TestTranslation
- func DescriptionIsNil() predicate.TestTranslation
- func DescriptionLT(v string) predicate.TestTranslation
- func DescriptionLTE(v string) predicate.TestTranslation
- func DescriptionNEQ(v string) predicate.TestTranslation
- func DescriptionNotIn(vs ...string) predicate.TestTranslation
- func DescriptionNotNil() predicate.TestTranslation
- func Details(v string) predicate.TestTranslation
- func DetailsContains(v string) predicate.TestTranslation
- func DetailsContainsFold(v string) predicate.TestTranslation
- func DetailsEQ(v string) predicate.TestTranslation
- func DetailsEqualFold(v string) predicate.TestTranslation
- func DetailsGT(v string) predicate.TestTranslation
- func DetailsGTE(v string) predicate.TestTranslation
- func DetailsHasPrefix(v string) predicate.TestTranslation
- func DetailsHasSuffix(v string) predicate.TestTranslation
- func DetailsIn(vs ...string) predicate.TestTranslation
- func DetailsIsNil() predicate.TestTranslation
- func DetailsLT(v string) predicate.TestTranslation
- func DetailsLTE(v string) predicate.TestTranslation
- func DetailsNEQ(v string) predicate.TestTranslation
- func DetailsNotIn(vs ...string) predicate.TestTranslation
- func DetailsNotNil() predicate.TestTranslation
- func HasTest() predicate.TestTranslation
- func HasTestWith(preds ...predicate.Test) predicate.TestTranslation
- func ID(id uuid.UUID) predicate.TestTranslation
- func IDEQ(id uuid.UUID) predicate.TestTranslation
- func IDGT(id uuid.UUID) predicate.TestTranslation
- func IDGTE(id uuid.UUID) predicate.TestTranslation
- func IDIn(ids ...uuid.UUID) predicate.TestTranslation
- func IDLT(id uuid.UUID) predicate.TestTranslation
- func IDLTE(id uuid.UUID) predicate.TestTranslation
- func IDNEQ(id uuid.UUID) predicate.TestTranslation
- func IDNotIn(ids ...uuid.UUID) predicate.TestTranslation
- func Instruction(v string) predicate.TestTranslation
- func InstructionContains(v string) predicate.TestTranslation
- func InstructionContainsFold(v string) predicate.TestTranslation
- func InstructionEQ(v string) predicate.TestTranslation
- func InstructionEqualFold(v string) predicate.TestTranslation
- func InstructionGT(v string) predicate.TestTranslation
- func InstructionGTE(v string) predicate.TestTranslation
- func InstructionHasPrefix(v string) predicate.TestTranslation
- func InstructionHasSuffix(v string) predicate.TestTranslation
- func InstructionIn(vs ...string) predicate.TestTranslation
- func InstructionIsNil() predicate.TestTranslation
- func InstructionLT(v string) predicate.TestTranslation
- func InstructionLTE(v string) predicate.TestTranslation
- func InstructionNEQ(v string) predicate.TestTranslation
- func InstructionNotIn(vs ...string) predicate.TestTranslation
- func InstructionNotNil() predicate.TestTranslation
- func LocaleEQ(v Locale) predicate.TestTranslation
- func LocaleIn(vs ...Locale) predicate.TestTranslation
- func LocaleNEQ(v Locale) predicate.TestTranslation
- func LocaleNotIn(vs ...Locale) predicate.TestTranslation
- func LocaleValidator(l Locale) error
- func Not(p predicate.TestTranslation) predicate.TestTranslation
- func Or(predicates ...predicate.TestTranslation) predicate.TestTranslation
- func ResultPreambule(v string) predicate.TestTranslation
- func ResultPreambuleContains(v string) predicate.TestTranslation
- func ResultPreambuleContainsFold(v string) predicate.TestTranslation
- func ResultPreambuleEQ(v string) predicate.TestTranslation
- func ResultPreambuleEqualFold(v string) predicate.TestTranslation
- func ResultPreambuleGT(v string) predicate.TestTranslation
- func ResultPreambuleGTE(v string) predicate.TestTranslation
- func ResultPreambuleHasPrefix(v string) predicate.TestTranslation
- func ResultPreambuleHasSuffix(v string) predicate.TestTranslation
- func ResultPreambuleIn(vs ...string) predicate.TestTranslation
- func ResultPreambuleIsNil() predicate.TestTranslation
- func ResultPreambuleLT(v string) predicate.TestTranslation
- func ResultPreambuleLTE(v string) predicate.TestTranslation
- func ResultPreambuleNEQ(v string) predicate.TestTranslation
- func ResultPreambuleNotIn(vs ...string) predicate.TestTranslation
- func ResultPreambuleNotNil() predicate.TestTranslation
- func Title(v string) predicate.TestTranslation
- func TitleContains(v string) predicate.TestTranslation
- func TitleContainsFold(v string) predicate.TestTranslation
- func TitleEQ(v string) predicate.TestTranslation
- func TitleEqualFold(v string) predicate.TestTranslation
- func TitleGT(v string) predicate.TestTranslation
- func TitleGTE(v string) predicate.TestTranslation
- func TitleHasPrefix(v string) predicate.TestTranslation
- func TitleHasSuffix(v string) predicate.TestTranslation
- func TitleIn(vs ...string) predicate.TestTranslation
- func TitleLT(v string) predicate.TestTranslation
- func TitleLTE(v string) predicate.TestTranslation
- func TitleNEQ(v string) predicate.TestTranslation
- func TitleNotIn(vs ...string) predicate.TestTranslation
- func ValidColumn(column string) bool
- type Locale
Constants ¶
const ( // Label holds the string label denoting the testtranslation type in the database. Label = "test_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" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // FieldInstruction holds the string denoting the instruction field in the database. FieldInstruction = "instruction" // FieldResultPreambule holds the string denoting the result_preambule field in the database. FieldResultPreambule = "result_preambule" // EdgeTest holds the string denoting the test edge name in mutations. EdgeTest = "test" // Table holds the table name of the testtranslation in the database. Table = "test_translations" // TestTable is the table that holds the test relation/edge. TestTable = "test_translations" // TestInverseTable is the table name for the Test entity. // It exists in this package in order to avoid circular dependency with the "test" package. TestInverseTable = "tests" // TestColumn is the table column denoting the test relation/edge. TestColumn = "test_translations" )
Variables ¶
var ( // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator 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, FieldDetails, FieldInstruction, FieldResultPreambule, }
Columns holds all SQL columns for testtranslation fields.
var ForeignKeys = []string{
"test_translations",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "test_translations" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.TestTranslation) predicate.TestTranslation
And groups predicates with the AND operator between them.
func Description ¶
func Description(v string) predicate.TestTranslation
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.TestTranslation
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.TestTranslation
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.TestTranslation
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.TestTranslation
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.TestTranslation
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.TestTranslation
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.TestTranslation
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.TestTranslation
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.TestTranslation
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.TestTranslation
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.TestTranslation
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.TestTranslation
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.TestTranslation
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.TestTranslation
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.TestTranslation
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Details ¶
func Details(v string) predicate.TestTranslation
Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.
func DetailsContains ¶
func DetailsContains(v string) predicate.TestTranslation
DetailsContains applies the Contains predicate on the "details" field.
func DetailsContainsFold ¶
func DetailsContainsFold(v string) predicate.TestTranslation
DetailsContainsFold applies the ContainsFold predicate on the "details" field.
func DetailsEQ ¶
func DetailsEQ(v string) predicate.TestTranslation
DetailsEQ applies the EQ predicate on the "details" field.
func DetailsEqualFold ¶
func DetailsEqualFold(v string) predicate.TestTranslation
DetailsEqualFold applies the EqualFold predicate on the "details" field.
func DetailsGT ¶
func DetailsGT(v string) predicate.TestTranslation
DetailsGT applies the GT predicate on the "details" field.
func DetailsGTE ¶
func DetailsGTE(v string) predicate.TestTranslation
DetailsGTE applies the GTE predicate on the "details" field.
func DetailsHasPrefix ¶
func DetailsHasPrefix(v string) predicate.TestTranslation
DetailsHasPrefix applies the HasPrefix predicate on the "details" field.
func DetailsHasSuffix ¶
func DetailsHasSuffix(v string) predicate.TestTranslation
DetailsHasSuffix applies the HasSuffix predicate on the "details" field.
func DetailsIn ¶
func DetailsIn(vs ...string) predicate.TestTranslation
DetailsIn applies the In predicate on the "details" field.
func DetailsIsNil ¶
func DetailsIsNil() predicate.TestTranslation
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsLT ¶
func DetailsLT(v string) predicate.TestTranslation
DetailsLT applies the LT predicate on the "details" field.
func DetailsLTE ¶
func DetailsLTE(v string) predicate.TestTranslation
DetailsLTE applies the LTE predicate on the "details" field.
func DetailsNEQ ¶
func DetailsNEQ(v string) predicate.TestTranslation
DetailsNEQ applies the NEQ predicate on the "details" field.
func DetailsNotIn ¶
func DetailsNotIn(vs ...string) predicate.TestTranslation
DetailsNotIn applies the NotIn predicate on the "details" field.
func DetailsNotNil ¶
func DetailsNotNil() predicate.TestTranslation
DetailsNotNil applies the NotNil predicate on the "details" field.
func HasTest ¶
func HasTest() predicate.TestTranslation
HasTest applies the HasEdge predicate on the "test" edge.
func HasTestWith ¶
func HasTestWith(preds ...predicate.Test) predicate.TestTranslation
HasTestWith applies the HasEdge predicate on the "test" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.TestTranslation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TestTranslation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TestTranslation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TestTranslation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TestTranslation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TestTranslation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TestTranslation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TestTranslation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TestTranslation
IDNotIn applies the NotIn predicate on the ID field.
func Instruction ¶
func Instruction(v string) predicate.TestTranslation
Instruction applies equality check predicate on the "instruction" field. It's identical to InstructionEQ.
func InstructionContains ¶
func InstructionContains(v string) predicate.TestTranslation
InstructionContains applies the Contains predicate on the "instruction" field.
func InstructionContainsFold ¶
func InstructionContainsFold(v string) predicate.TestTranslation
InstructionContainsFold applies the ContainsFold predicate on the "instruction" field.
func InstructionEQ ¶
func InstructionEQ(v string) predicate.TestTranslation
InstructionEQ applies the EQ predicate on the "instruction" field.
func InstructionEqualFold ¶
func InstructionEqualFold(v string) predicate.TestTranslation
InstructionEqualFold applies the EqualFold predicate on the "instruction" field.
func InstructionGT ¶
func InstructionGT(v string) predicate.TestTranslation
InstructionGT applies the GT predicate on the "instruction" field.
func InstructionGTE ¶
func InstructionGTE(v string) predicate.TestTranslation
InstructionGTE applies the GTE predicate on the "instruction" field.
func InstructionHasPrefix ¶
func InstructionHasPrefix(v string) predicate.TestTranslation
InstructionHasPrefix applies the HasPrefix predicate on the "instruction" field.
func InstructionHasSuffix ¶
func InstructionHasSuffix(v string) predicate.TestTranslation
InstructionHasSuffix applies the HasSuffix predicate on the "instruction" field.
func InstructionIn ¶
func InstructionIn(vs ...string) predicate.TestTranslation
InstructionIn applies the In predicate on the "instruction" field.
func InstructionIsNil ¶
func InstructionIsNil() predicate.TestTranslation
InstructionIsNil applies the IsNil predicate on the "instruction" field.
func InstructionLT ¶
func InstructionLT(v string) predicate.TestTranslation
InstructionLT applies the LT predicate on the "instruction" field.
func InstructionLTE ¶
func InstructionLTE(v string) predicate.TestTranslation
InstructionLTE applies the LTE predicate on the "instruction" field.
func InstructionNEQ ¶
func InstructionNEQ(v string) predicate.TestTranslation
InstructionNEQ applies the NEQ predicate on the "instruction" field.
func InstructionNotIn ¶
func InstructionNotIn(vs ...string) predicate.TestTranslation
InstructionNotIn applies the NotIn predicate on the "instruction" field.
func InstructionNotNil ¶
func InstructionNotNil() predicate.TestTranslation
InstructionNotNil applies the NotNil predicate on the "instruction" field.
func LocaleEQ ¶
func LocaleEQ(v Locale) predicate.TestTranslation
LocaleEQ applies the EQ predicate on the "locale" field.
func LocaleIn ¶
func LocaleIn(vs ...Locale) predicate.TestTranslation
LocaleIn applies the In predicate on the "locale" field.
func LocaleNEQ ¶
func LocaleNEQ(v Locale) predicate.TestTranslation
LocaleNEQ applies the NEQ predicate on the "locale" field.
func LocaleNotIn ¶
func LocaleNotIn(vs ...Locale) predicate.TestTranslation
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.TestTranslation) predicate.TestTranslation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TestTranslation) predicate.TestTranslation
Or groups predicates with the OR operator between them.
func ResultPreambule ¶
func ResultPreambule(v string) predicate.TestTranslation
ResultPreambule applies equality check predicate on the "result_preambule" field. It's identical to ResultPreambuleEQ.
func ResultPreambuleContains ¶
func ResultPreambuleContains(v string) predicate.TestTranslation
ResultPreambuleContains applies the Contains predicate on the "result_preambule" field.
func ResultPreambuleContainsFold ¶
func ResultPreambuleContainsFold(v string) predicate.TestTranslation
ResultPreambuleContainsFold applies the ContainsFold predicate on the "result_preambule" field.
func ResultPreambuleEQ ¶
func ResultPreambuleEQ(v string) predicate.TestTranslation
ResultPreambuleEQ applies the EQ predicate on the "result_preambule" field.
func ResultPreambuleEqualFold ¶
func ResultPreambuleEqualFold(v string) predicate.TestTranslation
ResultPreambuleEqualFold applies the EqualFold predicate on the "result_preambule" field.
func ResultPreambuleGT ¶
func ResultPreambuleGT(v string) predicate.TestTranslation
ResultPreambuleGT applies the GT predicate on the "result_preambule" field.
func ResultPreambuleGTE ¶
func ResultPreambuleGTE(v string) predicate.TestTranslation
ResultPreambuleGTE applies the GTE predicate on the "result_preambule" field.
func ResultPreambuleHasPrefix ¶
func ResultPreambuleHasPrefix(v string) predicate.TestTranslation
ResultPreambuleHasPrefix applies the HasPrefix predicate on the "result_preambule" field.
func ResultPreambuleHasSuffix ¶
func ResultPreambuleHasSuffix(v string) predicate.TestTranslation
ResultPreambuleHasSuffix applies the HasSuffix predicate on the "result_preambule" field.
func ResultPreambuleIn ¶
func ResultPreambuleIn(vs ...string) predicate.TestTranslation
ResultPreambuleIn applies the In predicate on the "result_preambule" field.
func ResultPreambuleIsNil ¶
func ResultPreambuleIsNil() predicate.TestTranslation
ResultPreambuleIsNil applies the IsNil predicate on the "result_preambule" field.
func ResultPreambuleLT ¶
func ResultPreambuleLT(v string) predicate.TestTranslation
ResultPreambuleLT applies the LT predicate on the "result_preambule" field.
func ResultPreambuleLTE ¶
func ResultPreambuleLTE(v string) predicate.TestTranslation
ResultPreambuleLTE applies the LTE predicate on the "result_preambule" field.
func ResultPreambuleNEQ ¶
func ResultPreambuleNEQ(v string) predicate.TestTranslation
ResultPreambuleNEQ applies the NEQ predicate on the "result_preambule" field.
func ResultPreambuleNotIn ¶
func ResultPreambuleNotIn(vs ...string) predicate.TestTranslation
ResultPreambuleNotIn applies the NotIn predicate on the "result_preambule" field.
func ResultPreambuleNotNil ¶
func ResultPreambuleNotNil() predicate.TestTranslation
ResultPreambuleNotNil applies the NotNil predicate on the "result_preambule" field.
func Title ¶
func Title(v string) predicate.TestTranslation
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.TestTranslation
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.TestTranslation
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.TestTranslation
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.TestTranslation
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.TestTranslation
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.TestTranslation
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.TestTranslation
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.TestTranslation
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.TestTranslation
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.TestTranslation
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.TestTranslation
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.TestTranslation
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.TestTranslation
TitleNotIn applies the NotIn predicate on the "title" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).