# Functions
New returns the collection of all available models.
# Constants
Different deed types.
Different deed types.
Different deed types.
Different deed types.
GuildPrefAnnounceChannel is an alternative announcement channel for the guild.
GuildPrefAnnounceSoTSummary is set, when the guild allows the announcing of SoT play summaries.
GuildPrefScheduledFlameheart is the setting for en-/disabling the scheduled Flameheart spam.
Different reward types.
Different reward types.
SQLTimeout is the default timeout for SQL queries.
List of possible UserPrefKeys.
List of possible UserPrefKeys.
UserPrefSoTAuthToken is the authentication token for Sea of Thieves.
List of possible UserPrefKeys.
List of possible UserPrefKeys.
# Variables
ErrDeedDuplicate should be used in case a deed to be inserted into the database already exists.
ErrDeedNotExistent should be used in case a requested deed was not found in the database.
ErrEditConflict should be used when an UPDATE to the database ran into a race-condition.
ErrGuildNotExistent should be used in case a requested guild was not found in the database.
ErrGuildPrefNotExistent should be returned in case a guild preference is requested that does not exist in the database.
ErrTradeRouteNotExistent should be used in case a requested trade route was not found in the database.
ErrUserNil should be returned if the check for the *User returns nil.
ErrUserNotExistent should be used in case a requested user was not found in the database.
ErrUserPrefNotExistent should be returned in case a user preference is requested that does not exist in the database.
ErrUserRepNotExistent should be used in case a requested user reputation was not found in the database.
ErrUserStatNotExistent should be used in case a requested user stat was not found in the database.
# Structs
Deed represents the deed information in the database.
DeedModel wraps the connection pool.
Guild represents the guild information in the database.
GuildModel wraps the connection pool.
Model is a collection of all available models.
TradeRoute represents the trade route information in the database.
TradeRouteModel wraps the connection pool.
User represents the user information in the database.
UserModel wraps the connection pool.
UserReputation represents the user reputation in the database.
UserReputationModel wraps the connection pool.
UserStat represents the user statistics in the database.
UserStatModel wraps the connection pool.
# Type aliases
DeedType is a wrapper for a string.
GuildPrefKey represents a guild preferences identifier key.
RewardType is a wrapper for a string.
UserPrefKey represents a user preferences identifier key.