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.
ByID orders the results by the 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.
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.
HasCheck applies the HasEdge predicate on the "check" edge.
HasCheckWith applies the HasEdge predicate on the "check" 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.
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.
EdgeCheck holds the string denoting the check 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.
FieldConfig holds the string denoting the config field in the database.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldID holds the string denoting the 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 checkconfig type in the database.
Table holds the table name of the checkconfig 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 checkconfig 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.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.

# Type aliases

OrderOption defines the ordering options for the CheckConfig queries.