From: s2s Date: Mon, 3 Aug 2020 16:37:02 +0000 (-0400) Subject: 📝 Add link in sql-databases.md tutorial to async-sql-databases.md in advanced section... X-Git-Tag: 0.60.2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=604fea9fc15f577de3c3a28e4797d850f101f37a;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Add link in sql-databases.md tutorial to async-sql-databases.md in advanced section. (#1813) * Add link in sql-databases.md tutorial section to async-sql-databases.md in advanced section. * 🎨 Update note format Co-authored-by: Sebastián Ramírez --- diff --git a/docs/en/docs/tutorial/sql-databases.md b/docs/en/docs/tutorial/sql-databases.md index c60eda0f80..a3f7fae052 100644 --- a/docs/en/docs/tutorial/sql-databases.md +++ b/docs/en/docs/tutorial/sql-databases.md @@ -539,6 +539,9 @@ def read_user(user_id: int, db: Session = Depends(get_db)): ... ``` +!!! info + If you need to connect to your relational database asynchronously, see [Async SQL (Relational) Databases](../advanced/async-sql-databases.md){.internal-link target=_blank}. + !!! note "Very Technical Details" If you are curious and have a deep technical knowledge, you can check the very technical details of how this `async def` vs `def` is handled in the [Async](../async.md#very-technical-details){.internal-link target=_blank} docs.