Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.InterpretationTranslation) predicate.InterpretationTranslation
- func Content(v string) predicate.InterpretationTranslation
- func ContentContains(v string) predicate.InterpretationTranslation
- func ContentContainsFold(v string) predicate.InterpretationTranslation
- func ContentEQ(v string) predicate.InterpretationTranslation
- func ContentEqualFold(v string) predicate.InterpretationTranslation
- func ContentGT(v string) predicate.InterpretationTranslation
- func ContentGTE(v string) predicate.InterpretationTranslation
- func ContentHasPrefix(v string) predicate.InterpretationTranslation
- func ContentHasSuffix(v string) predicate.InterpretationTranslation
- func ContentIn(vs ...string) predicate.InterpretationTranslation
- func ContentLT(v string) predicate.InterpretationTranslation
- func ContentLTE(v string) predicate.InterpretationTranslation
- func ContentNEQ(v string) predicate.InterpretationTranslation
- func ContentNotIn(vs ...string) predicate.InterpretationTranslation
- func HasInterpretation() predicate.InterpretationTranslation
- func HasInterpretationWith(preds ...predicate.Interpretation) predicate.InterpretationTranslation
- func ID(id uuid.UUID) predicate.InterpretationTranslation
- func IDEQ(id uuid.UUID) predicate.InterpretationTranslation
- func IDGT(id uuid.UUID) predicate.InterpretationTranslation
- func IDGTE(id uuid.UUID) predicate.InterpretationTranslation
- func IDIn(ids ...uuid.UUID) predicate.InterpretationTranslation
- func IDLT(id uuid.UUID) predicate.InterpretationTranslation
- func IDLTE(id uuid.UUID) predicate.InterpretationTranslation
- func IDNEQ(id uuid.UUID) predicate.InterpretationTranslation
- func IDNotIn(ids ...uuid.UUID) predicate.InterpretationTranslation
- func LocaleEQ(v Locale) predicate.InterpretationTranslation
- func LocaleIn(vs ...Locale) predicate.InterpretationTranslation
- func LocaleNEQ(v Locale) predicate.InterpretationTranslation
- func LocaleNotIn(vs ...Locale) predicate.InterpretationTranslation
- func LocaleValidator(l Locale) error
- func Not(p predicate.InterpretationTranslation) predicate.InterpretationTranslation
- func Or(predicates ...predicate.InterpretationTranslation) predicate.InterpretationTranslation
- func ValidColumn(column string) bool
- type Locale
Constants ¶
const ( // Label holds the string label denoting the interpretationtranslation type in the database. Label = "interpretation_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" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // EdgeInterpretation holds the string denoting the interpretation edge name in mutations. EdgeInterpretation = "interpretation" // Table holds the table name of the interpretationtranslation in the database. Table = "interpretation_translations" // InterpretationTable is the table that holds the interpretation relation/edge. InterpretationTable = "interpretation_translations" // InterpretationInverseTable is the table name for the Interpretation entity. // It exists in this package in order to avoid circular dependency with the "interpretation" package. InterpretationInverseTable = "interpretations" // InterpretationColumn is the table column denoting the interpretation relation/edge. InterpretationColumn = "interpretation_translations" )
Variables ¶
var ( // ContentValidator is a validator for the "content" field. It is called by the builders before save. ContentValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldLocale, FieldContent, }
Columns holds all SQL columns for interpretationtranslation fields.
var ForeignKeys = []string{
"interpretation_translations",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "interpretation_translations" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.InterpretationTranslation) predicate.InterpretationTranslation
And groups predicates with the AND operator between them.
func Content ¶
func Content(v string) predicate.InterpretationTranslation
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.InterpretationTranslation
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.InterpretationTranslation
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.InterpretationTranslation
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.InterpretationTranslation
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.InterpretationTranslation
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.InterpretationTranslation
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.InterpretationTranslation
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.InterpretationTranslation
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.InterpretationTranslation
ContentIn applies the In predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.InterpretationTranslation
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.InterpretationTranslation
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.InterpretationTranslation
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.InterpretationTranslation
ContentNotIn applies the NotIn predicate on the "content" field.
func HasInterpretation ¶
func HasInterpretation() predicate.InterpretationTranslation
HasInterpretation applies the HasEdge predicate on the "interpretation" edge.
func HasInterpretationWith ¶
func HasInterpretationWith(preds ...predicate.Interpretation) predicate.InterpretationTranslation
HasInterpretationWith applies the HasEdge predicate on the "interpretation" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.InterpretationTranslation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.InterpretationTranslation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.InterpretationTranslation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.InterpretationTranslation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.InterpretationTranslation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.InterpretationTranslation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.InterpretationTranslation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.InterpretationTranslation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.InterpretationTranslation
IDNotIn applies the NotIn predicate on the ID field.
func LocaleEQ ¶
func LocaleEQ(v Locale) predicate.InterpretationTranslation
LocaleEQ applies the EQ predicate on the "locale" field.
func LocaleIn ¶
func LocaleIn(vs ...Locale) predicate.InterpretationTranslation
LocaleIn applies the In predicate on the "locale" field.
func LocaleNEQ ¶
func LocaleNEQ(v Locale) predicate.InterpretationTranslation
LocaleNEQ applies the NEQ predicate on the "locale" field.
func LocaleNotIn ¶
func LocaleNotIn(vs ...Locale) predicate.InterpretationTranslation
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 Or ¶
func Or(predicates ...predicate.InterpretationTranslation) predicate.InterpretationTranslation
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).