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.
ByGraded orders the results by the graded field.
ByID orders the results by the id field.
ByInjectField orders the results by inject field.
ByInjectID orders the results by the inject_id field.
ByNotes orders the results by the notes field.
ByUpdateTime orders the results by the update_time field.
ByUserField orders the results by user field.
ByUserID orders the results by the user_id 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.
Graded applies equality check predicate on the "graded" field.
GradedEQ applies the EQ predicate on the "graded" field.
GradedNEQ applies the NEQ predicate on the "graded" field.
HasInject applies the HasEdge predicate on the "inject" edge.
HasInjectWith applies the HasEdge predicate on the "inject" edge with a given conditions (other predicates).
HasUser applies the HasEdge predicate on the "user" edge.
HasUserWith applies the HasEdge predicate on the "user" 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.
InjectID applies equality check predicate on the "inject_id" field.
InjectIDEQ applies the EQ predicate on the "inject_id" field.
InjectIDIn applies the In predicate on the "inject_id" field.
InjectIDNEQ applies the NEQ predicate on the "inject_id" field.
InjectIDNotIn applies the NotIn predicate on the "inject_id" field.
Not applies the not operator on the given predicate.
Notes applies equality check predicate on the "notes" field.
NotesContains applies the Contains predicate on the "notes" field.
NotesContainsFold applies the ContainsFold predicate on the "notes" field.
NotesEQ applies the EQ predicate on the "notes" field.
NotesEqualFold applies the EqualFold predicate on the "notes" field.
NotesGT applies the GT predicate on the "notes" field.
NotesGTE applies the GTE predicate on the "notes" field.
NotesHasPrefix applies the HasPrefix predicate on the "notes" field.
NotesHasSuffix applies the HasSuffix predicate on the "notes" field.
NotesIn applies the In predicate on the "notes" field.
NotesLT applies the LT predicate on the "notes" field.
NotesLTE applies the LTE predicate on the "notes" field.
NotesNEQ applies the NEQ predicate on the "notes" field.
NotesNotIn applies the NotIn predicate on the "notes" field.
Or groups predicates with the OR operator between them.
RubricIsNil applies the IsNil predicate on the "rubric" field.
RubricNotNil applies the NotNil predicate on the "rubric" 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.
UserID applies equality check predicate on the "user_id" field.
UserIDEQ applies the EQ predicate on the "user_id" field.
UserIDIn applies the In predicate on the "user_id" field.
UserIDNEQ applies the NEQ predicate on the "user_id" field.
UserIDNotIn applies the NotIn predicate on the "user_id" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
EdgeInject holds the string denoting the inject edge name in mutations.
EdgeUser holds the string denoting the user edge name in mutations.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldFiles holds the string denoting the files field in the database.
FieldGraded holds the string denoting the graded field in the database.
FieldID holds the string denoting the id field in the database.
FieldInjectID holds the string denoting the inject_id field in the database.
FieldNotes holds the string denoting the notes field in the database.
FieldRubric holds the string denoting the rubric field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
FieldUserID holds the string denoting the user_id field in the database.
InjectColumn is the table column denoting the inject relation/edge.
InjectInverseTable is the table name for the Inject entity.
InjectTable is the table that holds the inject relation/edge.
Label holds the string label denoting the injectsubmission type in the database.
Table holds the table name of the injectsubmission in the database.
UserColumn is the table column denoting the user relation/edge.
UserInverseTable is the table name for the User entity.
UserTable is the table that holds the user relation/edge.
# Variables
Columns holds all SQL columns for injectsubmission fields.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultGraded holds the default value on creation for the "graded" field.
DefaultID holds the default value on creation for the "id" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
# Type aliases
OrderOption defines the ordering options for the InjectSubmission queries.