Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.7k
🌐 Add Chinese translation fordocs/zh/docs/tutorial/sql-databases.md#13051
🌐 Add Chinese translation fordocs/zh/docs/tutorial/sql-databases.md#13051alejsdev merged 12 commits intofastapi:masterfrom
docs/zh/docs/tutorial/sql-databases.md#13051Conversation
📝 Docs preview for commit5f0598c at:https://f9ee4f1e.fastapitiangolo.pages.dev Modified Pages |
| /// tip | ||
| 您可以使用任何其他您想要的 SQL 或 NoSQL 数据库库(在某些情况下称为 <abbr title="对象关系映射器(Object Relational Mapper,ORM),一个比较花哨的说法,用来指代一种库,其中某些类对应于 SQL 数据表,这些类的实例则对应于表中的行。">“ORM”</abbr>),FastAPI 不会强迫您使用任何东西。😎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
花哨应该有更贴切的翻译
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
我准备改为“高大上”,这样应该更符合汉语表达习惯。你觉得如何?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
建议:
对象关系映射器(Object Relational Mapper,ORM),一个术语,用来指代一种库,其中某些类对应于 SQL 数据表,这些类的实例则对应于表中的行。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
谢谢!
已修改。
| ### 创建表 | ||
| 然后,我们来添加一个函数,使用 `SQLModel.metadata.create_all(engine)` 为所有*表模型***创建表**。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
这是为什么是三个星号连着呀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
谢谢回复!
“表模型”是斜体,“创建表”是粗体,再加上词语之间没有空格,他俩的星号就连在了一起。
不过markdown能够正确解析这个语法,目前看来没有问题。
📝 Docs preview for commitfb026ec at:https://37daff55.fastapitiangolo.pages.dev Modified Pages |
📝 Docs preview for commit21b9f56 at:https://4867e1ad.fastapitiangolo.pages.dev Modified Pages |
📝 Docs preview for commit54b4e61 at:https://14b07f38.fastapitiangolo.pages.dev Modified Pages |
📝 Docs preview for commit6d4977b at:https://ad9fcc93.fastapitiangolo.pages.dev Modified Pages |
alejsdev commentedDec 15, 2024
Thanks for your contribution!@Zhongheng-Cheng 🤓 |
Add Chinese translation for
docs/zh/docs/tutorial/sql-databases.md给
docs/zh/docs/tutorial/sql-databases.md增加了中文翻译