package
0.0.0-20240707031454-d5824db75683
Repository: https://github.com/scorify/backend.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCreateTime orders the results by the create_time field.
ByEndTime orders the results by the end_time field.
ByID orders the results by the id field.
ByStartTime orders the results by the start_time field.
BySubmissions orders the results by submissions terms.
BySubmissionsCount orders the results by submissions count.
ByTitle orders the results by the title field.
ByUpdateTime orders the results by the update_time 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.
EndTime applies equality check predicate on the "end_time" field.
EndTimeEQ applies the EQ predicate on the "end_time" field.
EndTimeGT applies the GT predicate on the "end_time" field.
EndTimeGTE applies the GTE predicate on the "end_time" field.
EndTimeIn applies the In predicate on the "end_time" field.
EndTimeLT applies the LT predicate on the "end_time" field.
EndTimeLTE applies the LTE predicate on the "end_time" field.
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
HasSubmissions applies the HasEdge predicate on the "submissions" edge.
HasSubmissionsWith applies the HasEdge predicate on the "submissions" 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.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
StartTime applies equality check predicate on the "start_time" field.
StartTimeEQ applies the EQ predicate on the "start_time" field.
StartTimeGT applies the GT predicate on the "start_time" field.
StartTimeGTE applies the GTE predicate on the "start_time" field.
StartTimeIn applies the In predicate on the "start_time" field.
StartTimeLT applies the LT predicate on the "start_time" field.
StartTimeLTE applies the LTE predicate on the "start_time" field.
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
Title applies equality check predicate on the "title" field.
TitleContains applies the Contains predicate on the "title" field.
TitleContainsFold applies the ContainsFold predicate on the "title" field.
TitleEQ applies the EQ predicate on the "title" field.
TitleEqualFold applies the EqualFold predicate on the "title" field.
TitleGT applies the GT predicate on the "title" field.
TitleGTE applies the GTE predicate on the "title" field.
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
TitleIn applies the In predicate on the "title" field.
TitleLT applies the LT predicate on the "title" field.
TitleLTE applies the LTE predicate on the "title" field.
TitleNEQ applies the NEQ predicate on the "title" field.
TitleNotIn applies the NotIn predicate on the "title" 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

EdgeSubmissions holds the string denoting the submissions edge name in mutations.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldEndTime holds the string denoting the end_time field in the database.
FieldFiles holds the string denoting the files field in the database.
FieldID holds the string denoting the id field in the database.
FieldRubric holds the string denoting the rubric field in the database.
FieldStartTime holds the string denoting the start_time field in the database.
FieldTitle holds the string denoting the title field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
Label holds the string label denoting the inject type in the database.
SubmissionsColumn is the table column denoting the submissions relation/edge.
SubmissionsInverseTable is the table name for the InjectSubmission entity.
SubmissionsTable is the table that holds the submissions relation/edge.
Table holds the table name of the inject in the database.

# Variables

Columns holds all SQL columns for inject fields.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultID holds the default value on creation for the "id" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
TitleValidator is a validator for the "title" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.

# Type aliases

OrderOption defines the ordering options for the Inject queries.