Module db

Source
Expand description

Database module.

This module handles the database connection and provides functions to interact with the database, including querying and updating user fields.

Functionsยง

get_user_field
Get a user field from the database.
init_db
Initialize the database connection.
set_user_field
Set a user field in the database.