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.
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.
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.
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.
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
EdgeRound holds the string denoting the round 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.
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.
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 scorecache 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.
Table holds the table name of the scorecache 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 scorecache 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 ScoreCache queries.