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.
ByConfigs orders the results by configs terms.
ByConfigsCount orders the results by configs count.
ByCreateTime orders the results by the create_time field.
ByID orders the results by the id field.
ByName orders the results by the name field.
BySource orders the results by the source field.
ByStatuses orders the results by statuses terms.
ByStatusesCount orders the results by statuses count.
ByUpdateTime orders the results by the update_time field.
ByWeight orders the results by the weight 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.
HasConfigs applies the HasEdge predicate on the "configs" edge.
HasConfigsWith applies the HasEdge predicate on the "configs" edge with a given conditions (other predicates).
HasStatuses applies the HasEdge predicate on the "statuses" edge.
HasStatusesWith applies the HasEdge predicate on the "statuses" 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.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Source applies equality check predicate on the "source" field.
SourceContains applies the Contains predicate on the "source" field.
SourceContainsFold applies the ContainsFold predicate on the "source" field.
SourceEQ applies the EQ predicate on the "source" field.
SourceEqualFold applies the EqualFold predicate on the "source" field.
SourceGT applies the GT predicate on the "source" field.
SourceGTE applies the GTE predicate on the "source" field.
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
SourceIn applies the In predicate on the "source" field.
SourceLT applies the LT predicate on the "source" field.
SourceLTE applies the LTE predicate on the "source" field.
SourceNEQ applies the NEQ predicate on the "source" field.
SourceNotIn applies the NotIn predicate on the "source" 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).
Weight applies equality check predicate on the "weight" field.
WeightEQ applies the EQ predicate on the "weight" field.
WeightGT applies the GT predicate on the "weight" field.
WeightGTE applies the GTE predicate on the "weight" field.
WeightIn applies the In predicate on the "weight" field.
WeightLT applies the LT predicate on the "weight" field.
WeightLTE applies the LTE predicate on the "weight" field.
WeightNEQ applies the NEQ predicate on the "weight" field.
WeightNotIn applies the NotIn predicate on the "weight" field.

# Constants

ConfigsColumn is the table column denoting the configs relation/edge.
ConfigsInverseTable is the table name for the CheckConfig entity.
ConfigsTable is the table that holds the configs relation/edge.
EdgeConfigs holds the string denoting the configs edge name in mutations.
EdgeStatuses holds the string denoting the statuses edge name in mutations.
FieldConfig holds the string denoting the config field in the database.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldEditableFields holds the string denoting the editable_fields field in the database.
FieldID holds the string denoting the id field in the database.
FieldName holds the string denoting the name field in the database.
FieldSource holds the string denoting the source field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
FieldWeight holds the string denoting the weight field in the database.
Label holds the string label denoting the check type in the database.
StatusesColumn is the table column denoting the statuses relation/edge.
StatusesInverseTable is the table name for the Status entity.
StatusesTable is the table that holds the statuses relation/edge.
Table holds the table name of the check in the database.

# Variables

Columns holds all SQL columns for check 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.
NameValidator is a validator for the "name" field.
SourceValidator is a validator for the "source" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
WeightValidator is a validator for the "weight" field.

# Type aliases

OrderOption defines the ordering options for the Check queries.