package
1.1.7
Repository: https://github.com/tinygodsdev/orrery.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
AvailableLocalesIsNil applies the IsNil predicate on the "available_locales" field.
AvailableLocalesNotNil applies the NotNil predicate on the "available_locales" field.
Code applies equality check predicate on the "code" field.
CodeContains applies the Contains predicate on the "code" field.
CodeContainsFold applies the ContainsFold predicate on the "code" field.
CodeEQ applies the EQ predicate on the "code" field.
CodeEqualFold applies the EqualFold predicate on the "code" field.
CodeGT applies the GT predicate on the "code" field.
CodeGTE applies the GTE predicate on the "code" field.
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
CodeIn applies the In predicate on the "code" field.
CodeLT applies the LT predicate on the "code" field.
CodeLTE applies the LTE predicate on the "code" field.
CodeNEQ applies the NEQ predicate on the "code" field.
CodeNotIn applies the NotIn predicate on the "code" field.
CreateTime applies equality check predicate on the "create_time" field.
CreateTimeEQ applies the EQ predicate on the "create_time" field.
CreateTimeGT applies the GT predicate on the "create_time" field.
CreateTimeGTE applies the GTE predicate on the "create_time" field.
CreateTimeIn applies the In predicate on the "create_time" field.
CreateTimeLT applies the LT predicate on the "create_time" field.
CreateTimeLTE applies the LTE predicate on the "create_time" field.
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
Duration applies equality check predicate on the "duration" field.
DurationEQ applies the EQ predicate on the "duration" field.
DurationGT applies the GT predicate on the "duration" field.
DurationGTE applies the GTE predicate on the "duration" field.
DurationIn applies the In predicate on the "duration" field.
DurationIsNil applies the IsNil predicate on the "duration" field.
DurationLT applies the LT predicate on the "duration" field.
DurationLTE applies the LTE predicate on the "duration" field.
DurationNEQ applies the NEQ predicate on the "duration" field.
DurationNotIn applies the NotIn predicate on the "duration" field.
DurationNotNil applies the NotNil predicate on the "duration" field.
HasDisplay applies the HasEdge predicate on the "display" edge.
HasDisplayWith applies the HasEdge predicate on the "display" edge with a given conditions (other predicates).
HasQuestions applies the HasEdge predicate on the "questions" edge.
HasQuestionsWith applies the HasEdge predicate on the "questions" edge with a given conditions (other predicates).
HasScales applies the HasEdge predicate on the "scales" edge.
HasScalesWith applies the HasEdge predicate on the "scales" edge with a given conditions (other predicates).
HasTags applies the HasEdge predicate on the "tags" edge.
HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).
HasTakes applies the HasEdge predicate on the "takes" edge.
HasTakesWith applies the HasEdge predicate on the "takes" edge with a given conditions (other predicates).
HasTranslations applies the HasEdge predicate on the "translations" edge.
HasTranslationsWith applies the HasEdge predicate on the "translations" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Image applies equality check predicate on the "image" field.
ImageContains applies the Contains predicate on the "image" field.
ImageContainsFold applies the ContainsFold predicate on the "image" field.
ImageEQ applies the EQ predicate on the "image" field.
ImageEqualFold applies the EqualFold predicate on the "image" field.
ImageGT applies the GT predicate on the "image" field.
ImageGTE applies the GTE predicate on the "image" field.
ImageHasPrefix applies the HasPrefix predicate on the "image" field.
ImageHasSuffix applies the HasSuffix predicate on the "image" field.
ImageIn applies the In predicate on the "image" field.
ImageIsNil applies the IsNil predicate on the "image" field.
ImageLT applies the LT predicate on the "image" field.
ImageLTE applies the LTE predicate on the "image" field.
ImageNEQ applies the NEQ predicate on the "image" field.
ImageNotIn applies the NotIn predicate on the "image" field.
ImageNotNil applies the NotNil predicate on the "image" field.
Mark applies equality check predicate on the "mark" field.
MarkEQ applies the EQ predicate on the "mark" field.
MarkGT applies the GT predicate on the "mark" field.
MarkGTE applies the GTE predicate on the "mark" field.
MarkIn applies the In predicate on the "mark" field.
MarkLT applies the LT predicate on the "mark" field.
MarkLTE applies the LTE predicate on the "mark" field.
MarkNEQ applies the NEQ predicate on the "mark" field.
MarkNotIn applies the NotIn predicate on the "mark" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Published applies equality check predicate on the "published" field.
PublishedEQ applies the EQ predicate on the "published" field.
PublishedNEQ applies the NEQ predicate on the "published" field.
QuestionCount applies equality check predicate on the "question_count" field.
QuestionCountEQ applies the EQ predicate on the "question_count" field.
QuestionCountGT applies the GT predicate on the "question_count" field.
QuestionCountGTE applies the GTE predicate on the "question_count" field.
QuestionCountIn applies the In predicate on the "question_count" field.
QuestionCountLT applies the LT predicate on the "question_count" field.
QuestionCountLTE applies the LTE predicate on the "question_count" field.
QuestionCountNEQ applies the NEQ predicate on the "question_count" field.
QuestionCountNotIn applies the NotIn predicate on the "question_count" field.
UpdateTime applies equality check predicate on the "update_time" field.
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
UpdateTimeGT applies the GT predicate on the "update_time" field.
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
UpdateTimeIn applies the In predicate on the "update_time" field.
UpdateTimeLT applies the LT predicate on the "update_time" field.
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

DisplayColumn is the table column denoting the display relation/edge.
DisplayInverseTable is the table name for the TestDisplay entity.
DisplayTable is the table that holds the display relation/edge.
EdgeDisplay holds the string denoting the display edge name in mutations.
EdgeQuestions holds the string denoting the questions edge name in mutations.
EdgeScales holds the string denoting the scales edge name in mutations.
EdgeTags holds the string denoting the tags edge name in mutations.
EdgeTakes holds the string denoting the takes edge name in mutations.
EdgeTranslations holds the string denoting the translations edge name in mutations.
FieldAvailableLocales holds the string denoting the available_locales field in the database.
FieldCode holds the string denoting the code field in the database.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldDuration holds the string denoting the duration field in the database.
FieldID holds the string denoting the id field in the database.
FieldImage holds the string denoting the image field in the database.
FieldMark holds the string denoting the mark field in the database.
FieldPublished holds the string denoting the published field in the database.
FieldQuestionCount holds the string denoting the question_count field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
Label holds the string label denoting the test type in the database.
QuestionsInverseTable is the table name for the Question entity.
QuestionsTable is the table that holds the questions relation/edge.
ScalesInverseTable is the table name for the Scale entity.
ScalesTable is the table that holds the scales relation/edge.
Table holds the table name of the test in the database.
TagsInverseTable is the table name for the Tag entity.
TagsTable is the table that holds the tags relation/edge.
TakesColumn is the table column denoting the takes relation/edge.
TakesInverseTable is the table name for the Take entity.
TakesTable is the table that holds the takes relation/edge.
TranslationsColumn is the table column denoting the translations relation/edge.
TranslationsInverseTable is the table name for the TestTranslation entity.
TranslationsTable is the table that holds the translations relation/edge.

# Variables

CodeValidator is a validator for the "code" field.
Columns holds all SQL columns for test fields.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultID holds the default value on creation for the "id" field.
DefaultMark holds the default value on creation for the "mark" field.
DefaultPublished holds the default value on creation for the "published" field.
DefaultQuestionCount holds the default value on creation for the "question_count" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
QuestionCountValidator is a validator for the "question_count" field.
QuestionsPrimaryKey and QuestionsColumn2 are the table columns denoting the primary key for the questions relation (M2M).
ScalesPrimaryKey and ScalesColumn2 are the table columns denoting the primary key for the scales relation (M2M).
TagsPrimaryKey and TagsColumn2 are the table columns denoting the primary key for the tags relation (M2M).
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.