Important
This plugin currently contains minimal features and is a work-in-progress
pip install litestar-aiosql
Here is a basic application that demonstrates how to use the plugin.
from __future__ import annotations
from litestar import Litestar
from litestar_aiosql import AiosqlPlugin, AiosqlConfig
aiosql = AiosqlPlugin(config=AiosqlConfig())
app = Litestar(plugins=[aiosql])