Fix database URL examples in docs

This commit is contained in:
Nima Xin
2024-11-07 16:49:31 +03:30
committed by François Voron
parent 38fe6cd530
commit 514e5bab40

View File

@@ -11,8 +11,8 @@ To work with your DBMS, you'll need to install the corresponding asyncio driver.
Examples of `DB_URL`s are:
* PostgreSQL: `engine = create_engine('postgresql+asyncpg://user:password@host:port/name')`
* SQLite: `engine = create_engine('sqlite+aiosqlite:///name.db')`
* PostgreSQL: `postgresql+asyncpg://user:password@host:port/name`
* SQLite: `sqlite+aiosqlite:///name.db`
For the sake of this tutorial from now on, we'll use a simple SQLite database.