package
0.0.0-20241009043613-9815a5a674aa
Repository: https://github.com/nautilusgames/demo.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByGameID orders the results by the game_id field.
ByGameSessionID orders the results by the game_session_id field.
ByID orders the results by the id field.
ByUpdatedAt orders the results by the updated_at field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
GameID applies equality check predicate on the "game_id" field.
GameIDContains applies the Contains predicate on the "game_id" field.
GameIDContainsFold applies the ContainsFold predicate on the "game_id" field.
GameIDEQ applies the EQ predicate on the "game_id" field.
GameIDEqualFold applies the EqualFold predicate on the "game_id" field.
GameIDGT applies the GT predicate on the "game_id" field.
GameIDGTE applies the GTE predicate on the "game_id" field.
GameIDHasPrefix applies the HasPrefix predicate on the "game_id" field.
GameIDHasSuffix applies the HasSuffix predicate on the "game_id" field.
GameIDIn applies the In predicate on the "game_id" field.
GameIDLT applies the LT predicate on the "game_id" field.
GameIDLTE applies the LTE predicate on the "game_id" field.
GameIDNEQ applies the NEQ predicate on the "game_id" field.
GameIDNotIn applies the NotIn predicate on the "game_id" field.
GameSessionID applies equality check predicate on the "game_session_id" field.
GameSessionIDContains applies the Contains predicate on the "game_session_id" field.
GameSessionIDContainsFold applies the ContainsFold predicate on the "game_session_id" field.
GameSessionIDEQ applies the EQ predicate on the "game_session_id" field.
GameSessionIDEqualFold applies the EqualFold predicate on the "game_session_id" field.
GameSessionIDGT applies the GT predicate on the "game_session_id" field.
GameSessionIDGTE applies the GTE predicate on the "game_session_id" field.
GameSessionIDHasPrefix applies the HasPrefix predicate on the "game_session_id" field.
GameSessionIDHasSuffix applies the HasSuffix predicate on the "game_session_id" field.
GameSessionIDIn applies the In predicate on the "game_session_id" field.
GameSessionIDLT applies the LT predicate on the "game_session_id" field.
GameSessionIDLTE applies the LTE predicate on the "game_session_id" field.
GameSessionIDNEQ applies the NEQ predicate on the "game_session_id" field.
GameSessionIDNotIn applies the NotIn predicate on the "game_session_id" field.
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.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

FieldCreatedAt holds the string denoting the created_at field in the database.
FieldGameID holds the string denoting the game_id field in the database.
FieldGameSessionID holds the string denoting the game_session_id field in the database.
FieldID holds the string denoting the id field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
Label holds the string label denoting the session type in the database.
Table holds the table name of the session in the database.

# Variables

Columns holds all SQL columns for session fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.

# Type aliases

OrderOption defines the ordering options for the Session queries.