Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Interpretation) predicate.Interpretation
- func CreateTime(v time.Time) predicate.Interpretation
- func CreateTimeEQ(v time.Time) predicate.Interpretation
- func CreateTimeGT(v time.Time) predicate.Interpretation
- func CreateTimeGTE(v time.Time) predicate.Interpretation
- func CreateTimeIn(vs ...time.Time) predicate.Interpretation
- func CreateTimeLT(v time.Time) predicate.Interpretation
- func CreateTimeLTE(v time.Time) predicate.Interpretation
- func CreateTimeNEQ(v time.Time) predicate.Interpretation
- func CreateTimeNotIn(vs ...time.Time) predicate.Interpretation
- func HasScale() predicate.Interpretation
- func HasScaleWith(preds ...predicate.Scale) predicate.Interpretation
- func HasTranslations() predicate.Interpretation
- func HasTranslationsWith(preds ...predicate.InterpretationTranslation) predicate.Interpretation
- func ID(id uuid.UUID) predicate.Interpretation
- func IDEQ(id uuid.UUID) predicate.Interpretation
- func IDGT(id uuid.UUID) predicate.Interpretation
- func IDGTE(id uuid.UUID) predicate.Interpretation
- func IDIn(ids ...uuid.UUID) predicate.Interpretation
- func IDLT(id uuid.UUID) predicate.Interpretation
- func IDLTE(id uuid.UUID) predicate.Interpretation
- func IDNEQ(id uuid.UUID) predicate.Interpretation
- func IDNotIn(ids ...uuid.UUID) predicate.Interpretation
- func Not(p predicate.Interpretation) predicate.Interpretation
- func Or(predicates ...predicate.Interpretation) predicate.Interpretation
- func UpdateTime(v time.Time) predicate.Interpretation
- func UpdateTimeEQ(v time.Time) predicate.Interpretation
- func UpdateTimeGT(v time.Time) predicate.Interpretation
- func UpdateTimeGTE(v time.Time) predicate.Interpretation
- func UpdateTimeIn(vs ...time.Time) predicate.Interpretation
- func UpdateTimeLT(v time.Time) predicate.Interpretation
- func UpdateTimeLTE(v time.Time) predicate.Interpretation
- func UpdateTimeNEQ(v time.Time) predicate.Interpretation
- func UpdateTimeNotIn(vs ...time.Time) predicate.Interpretation
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the interpretation type in the database. Label = "interpretation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldRange holds the string denoting the range field in the database. FieldRange = "range" // EdgeTranslations holds the string denoting the translations edge name in mutations. EdgeTranslations = "translations" // EdgeScale holds the string denoting the scale edge name in mutations. EdgeScale = "scale" // Table holds the table name of the interpretation in the database. Table = "interpretations" // TranslationsTable is the table that holds the translations relation/edge. TranslationsTable = "interpretation_translations" // TranslationsInverseTable is the table name for the InterpretationTranslation entity. // It exists in this package in order to avoid circular dependency with the "interpretationtranslation" package. TranslationsInverseTable = "interpretation_translations" // TranslationsColumn is the table column denoting the translations relation/edge. TranslationsColumn = "interpretation_translations" // ScaleTable is the table that holds the scale relation/edge. ScaleTable = "interpretations" // 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_interpretations" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldRange, }
Columns holds all SQL columns for interpretation fields.
var ForeignKeys = []string{
"scale_interpretations",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "interpretations" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.Interpretation) predicate.Interpretation
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.Interpretation
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.Interpretation
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.Interpretation
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.Interpretation
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.Interpretation
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.Interpretation
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.Interpretation
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.Interpretation
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.Interpretation
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func HasScale ¶
func HasScale() predicate.Interpretation
HasScale applies the HasEdge predicate on the "scale" edge.
func HasScaleWith ¶
func HasScaleWith(preds ...predicate.Scale) predicate.Interpretation
HasScaleWith applies the HasEdge predicate on the "scale" edge with a given conditions (other predicates).
func HasTranslations ¶
func HasTranslations() predicate.Interpretation
HasTranslations applies the HasEdge predicate on the "translations" edge.
func HasTranslationsWith ¶
func HasTranslationsWith(preds ...predicate.InterpretationTranslation) predicate.Interpretation
HasTranslationsWith applies the HasEdge predicate on the "translations" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.Interpretation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Interpretation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Interpretation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Interpretation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Interpretation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Interpretation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Interpretation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Interpretation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Interpretation
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.Interpretation) predicate.Interpretation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Interpretation) predicate.Interpretation
Or groups predicates with the OR operator between them.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.Interpretation
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.Interpretation
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.Interpretation
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.Interpretation
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.Interpretation
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.Interpretation
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.Interpretation
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.Interpretation
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.Interpretation
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.