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.
ByCheckField orders the results by check field.
ByCheckID orders the results by the check_id field.
ByCreateTime orders the results by the create_time field.
ByError orders the results by the error field.
ByID orders the results by the id field.
ByPoints orders the results by the points field.
ByRoundField orders the results by round field.
ByRoundID orders the results by the round_id field.
ByStatus orders the results by the status 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.
CheckID applies equality check predicate on the "check_id" field.
CheckIDEQ applies the EQ predicate on the "check_id" field.
CheckIDIn applies the In predicate on the "check_id" field.
CheckIDNEQ applies the NEQ predicate on the "check_id" field.
CheckIDNotIn applies the NotIn predicate on the "check_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.
Error applies equality check predicate on the "error" field.
ErrorContains applies the Contains predicate on the "error" field.
ErrorContainsFold applies the ContainsFold predicate on the "error" field.
ErrorEQ applies the EQ predicate on the "error" field.
ErrorEqualFold applies the EqualFold predicate on the "error" field.
ErrorGT applies the GT predicate on the "error" field.
ErrorGTE applies the GTE predicate on the "error" field.
ErrorHasPrefix applies the HasPrefix predicate on the "error" field.
ErrorHasSuffix applies the HasSuffix predicate on the "error" field.
ErrorIn applies the In predicate on the "error" field.
ErrorIsNil applies the IsNil predicate on the "error" field.
ErrorLT applies the LT predicate on the "error" field.
ErrorLTE applies the LTE predicate on the "error" field.
ErrorNEQ applies the NEQ predicate on the "error" field.
ErrorNotIn applies the NotIn predicate on the "error" field.
ErrorNotNil applies the NotNil predicate on the "error" field.
HasCheck applies the HasEdge predicate on the "check" edge.
HasCheckWith applies the HasEdge predicate on the "check" edge with a given conditions (other predicates).
HasRound applies the HasEdge predicate on the "round" edge.
HasRoundWith applies the HasEdge predicate on the "round" 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.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Points applies equality check predicate on the "points" field.
PointsEQ applies the EQ predicate on the "points" field.
PointsGT applies the GT predicate on the "points" field.
PointsGTE applies the GTE predicate on the "points" field.
PointsIn applies the In predicate on the "points" field.
PointsLT applies the LT predicate on the "points" field.
PointsLTE applies the LTE predicate on the "points" field.
PointsNEQ applies the NEQ predicate on the "points" field.
PointsNotIn applies the NotIn predicate on the "points" field.
RoundID applies equality check predicate on the "round_id" field.
RoundIDEQ applies the EQ predicate on the "round_id" field.
RoundIDIn applies the In predicate on the "round_id" field.
RoundIDNEQ applies the NEQ predicate on the "round_id" field.
RoundIDNotIn applies the NotIn predicate on the "round_id" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
StatusValidator is a validator for the "status" field enum values.
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
CheckColumn is the table column denoting the check relation/edge.
CheckInverseTable is the table name for the Check entity.
CheckTable is the table that holds the check relation/edge.
StatusUnknown is the default value of the Status enum.
EdgeCheck holds the string denoting the check edge name in mutations.
EdgeRound holds the string denoting the round edge name in mutations.
EdgeUser holds the string denoting the user edge name in mutations.
FieldCheckID holds the string denoting the check_id field in the database.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldError holds the string denoting the error field in the database.
FieldID holds the string denoting the id field in the database.
FieldPoints holds the string denoting the points field in the database.
FieldRoundID holds the string denoting the round_id field in the database.
FieldStatus holds the string denoting the status 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.
Label holds the string label denoting the status type in the database.
RoundColumn is the table column denoting the round relation/edge.
RoundInverseTable is the table name for the Round entity.
RoundTable is the table that holds the round relation/edge.
Status values.
Status values.
Status values.
Table holds the table name of the status 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 status 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.
PointsValidator is a validator for the "points" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
# Type aliases
OrderOption defines the ordering options for the Status queries.
Status defines the type for the "status" enum field.