Crate pocket_relay_database
source ·Modules
This module contains modules for intermediate structures that
are used to group data that is being passed to database functions
from things such as HTTP routes
Enums
Handle a database connection depending on the backend
enabled by the feature flags. This creates a database pool.
Type of database to connect to with the relevant
connection string / file
An error from unsuccessful database operations
Functions
Connects to the database returning a Database connection
which allows accessing the database without accessing sea_orm