package
0.1.5
Repository: https://github.com/danieltitkov/predictor.git
Documentation: pkg.go.dev

# Functions

Admin applies equality check predicate on the "admin" field.
AdminEQ applies the EQ predicate on the "admin" field.
AdminNEQ applies the NEQ predicate on the "admin" field.
And groups predicates with the AND operator between them.
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.
Email applies equality check predicate on the "email" field.
EmailContains applies the Contains predicate on the "email" field.
EmailContainsFold applies the ContainsFold predicate on the "email" field.
EmailEQ applies the EQ predicate on the "email" field.
EmailEqualFold applies the EqualFold predicate on the "email" field.
EmailGT applies the GT predicate on the "email" field.
EmailGTE applies the GTE predicate on the "email" field.
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
EmailIn applies the In predicate on the "email" field.
EmailLT applies the LT predicate on the "email" field.
EmailLTE applies the LTE predicate on the "email" field.
EmailNEQ applies the NEQ predicate on the "email" field.
EmailNotIn applies the NotIn predicate on the "email" field.
HasBadges applies the HasEdge predicate on the "badges" edge.
HasBadgesWith applies the HasEdge predicate on the "badges" edge with a given conditions (other predicates).
HasChallenges applies the HasEdge predicate on the "challenges" edge.
HasChallengesWith applies the HasEdge predicate on the "challenges" edge with a given conditions (other predicates).
HasPredictions applies the HasEdge predicate on the "predictions" edge.
HasPredictionsWith applies the HasEdge predicate on the "predictions" edge with a given conditions (other predicates).
HasSessions applies the HasEdge predicate on the "sessions" edge.
HasSessionsWith applies the HasEdge predicate on the "sessions" 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.
LocaleEQ applies the EQ predicate on the "locale" field.
LocaleIn applies the In predicate on the "locale" field.
LocaleNEQ applies the NEQ predicate on the "locale" field.
LocaleNotIn applies the NotIn predicate on the "locale" field.
LocaleValidator is a validator for the "locale" field enum values.
MetaIsNil applies the IsNil predicate on the "meta" field.
MetaNotNil applies the NotNil predicate on the "meta" 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.
PasswordHash applies equality check predicate on the "password_hash" field.
PasswordHashContains applies the Contains predicate on the "password_hash" field.
PasswordHashContainsFold applies the ContainsFold predicate on the "password_hash" field.
PasswordHashEQ applies the EQ predicate on the "password_hash" field.
PasswordHashEqualFold applies the EqualFold predicate on the "password_hash" field.
PasswordHashGT applies the GT predicate on the "password_hash" field.
PasswordHashGTE applies the GTE predicate on the "password_hash" field.
PasswordHashHasPrefix applies the HasPrefix predicate on the "password_hash" field.
PasswordHashHasSuffix applies the HasSuffix predicate on the "password_hash" field.
PasswordHashIn applies the In predicate on the "password_hash" field.
PasswordHashLT applies the LT predicate on the "password_hash" field.
PasswordHashLTE applies the LTE predicate on the "password_hash" field.
PasswordHashNEQ applies the NEQ predicate on the "password_hash" field.
PasswordHashNotIn applies the NotIn predicate on the "password_hash" field.
Picture applies equality check predicate on the "picture" field.
PictureContains applies the Contains predicate on the "picture" field.
PictureContainsFold applies the ContainsFold predicate on the "picture" field.
PictureEQ applies the EQ predicate on the "picture" field.
PictureEqualFold applies the EqualFold predicate on the "picture" field.
PictureGT applies the GT predicate on the "picture" field.
PictureGTE applies the GTE predicate on the "picture" field.
PictureHasPrefix applies the HasPrefix predicate on the "picture" field.
PictureHasSuffix applies the HasSuffix predicate on the "picture" field.
PictureIn applies the In predicate on the "picture" field.
PictureIsNil applies the IsNil predicate on the "picture" field.
PictureLT applies the LT predicate on the "picture" field.
PictureLTE applies the LTE predicate on the "picture" field.
PictureNEQ applies the NEQ predicate on the "picture" field.
PictureNotIn applies the NotIn predicate on the "picture" field.
PictureNotNil applies the NotNil predicate on the "picture" 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).

# Constants

BadgesInverseTable is the table name for the Badge entity.
BadgesTable is the table that holds the badges relation/edge.
ChallengesColumn is the table column denoting the challenges relation/edge.
ChallengesInverseTable is the table name for the Challenge entity.
ChallengesTable is the table that holds the challenges relation/edge.
LocaleRu is the default value of the Locale enum.
EdgeBadges holds the string denoting the badges edge name in mutations.
EdgeChallenges holds the string denoting the challenges edge name in mutations.
EdgePredictions holds the string denoting the predictions edge name in mutations.
EdgeSessions holds the string denoting the sessions edge name in mutations.
FieldAdmin holds the string denoting the admin field in the database.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldEmail holds the string denoting the email field in the database.
FieldID holds the string denoting the id field in the database.
FieldLocale holds the string denoting the locale field in the database.
FieldMeta holds the string denoting the meta field in the database.
FieldName holds the string denoting the name field in the database.
FieldPasswordHash holds the string denoting the password_hash field in the database.
FieldPicture holds the string denoting the picture field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
Label holds the string label denoting the user type in the database.
Locale values.
Locale values.
PredictionsColumn is the table column denoting the predictions relation/edge.
PredictionsInverseTable is the table name for the Prediction entity.
PredictionsTable is the table that holds the predictions relation/edge.
SessionsColumn is the table column denoting the sessions relation/edge.
SessionsInverseTable is the table name for the UserSession entity.
SessionsTable is the table that holds the sessions relation/edge.
Table holds the table name of the user in the database.

# Variables

BadgesPrimaryKey and BadgesColumn2 are the table columns denoting the primary key for the badges relation (M2M).
Columns holds all SQL columns for user fields.
DefaultAdmin holds the default value on creation for the "admin" field.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultID holds the default value on creation for the "id" field.
DefaultPicture holds the default value on creation for the "picture" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
EmailValidator is a validator for the "email" field.
NameValidator is a validator for the "name" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.

# Type aliases

Locale defines the type for the "locale" enum field.