]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Add link in sql-databases.md tutorial to async-sql-databases.md in advanced section...
authors2s <short2strings@gmail.com>
Mon, 3 Aug 2020 16:37:02 +0000 (12:37 -0400)
committerGitHub <noreply@github.com>
Mon, 3 Aug 2020 16:37:02 +0000 (18:37 +0200)
* 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 <tiangolo@gmail.com>
docs/en/docs/tutorial/sql-databases.md

index c60eda0f80d738a0cd5e468d122f306409b57949..a3f7fae052d24d509d7fed69035f6b4e7e5f654e 100644 (file)
@@ -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.