🌐 Update SQLAlchemy instruction in Chinese translation `docs/zh/docs/tutorial/sql-databases.md` (#9712)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Royc30ne 2024-01-09 23:29:37 +08:00 committed by GitHub
parent 0a3dc7d107
commit 0f4b6294bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 1 deletions

View File

@ -78,9 +78,23 @@ ORM 具有在代码和数据库表(“*关系型”)中的**对象**之间
现在让我们看看每个文件/模块的作用。
## 安装 SQLAlchemy
先下载`SQLAlchemy`所需要的依赖:
<div class="termy">
```console
$ pip install sqlalchemy
---> 100%
```
</div>
## 创建 SQLAlchemy 部件
让我们涉及到文件`sql_app/database.py`。
让我们到文件`sql_app/database.py`。
### 导入 SQLAlchemy 部件