Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🌐 Add Chinese translation fordocs/zh/docs/tutorial/sql-databases.md#13051

Merged
alejsdev merged 12 commits intofastapi:masterfrom
Zhongheng-Cheng:translate/sql_databases
Dec 15, 2024
Merged

🌐 Add Chinese translation fordocs/zh/docs/tutorial/sql-databases.md#13051
alejsdev merged 12 commits intofastapi:masterfrom
Zhongheng-Cheng:translate/sql_databases

Conversation

@Zhongheng-Cheng
Copy link
Contributor

Add Chinese translation fordocs/zh/docs/tutorial/sql-databases.md
docs/zh/docs/tutorial/sql-databases.md 增加了中文翻译

@github-actionsgithub-actionsbot added the lang-allTranslations labelDec 9, 2024
@github-actions
Copy link
Contributor

@alejsdevalejsdev added lang-zhChinese translations awaiting-review labelsDec 9, 2024

/// tip

您可以使用任何其他您想要的 SQL 或 NoSQL 数据库库(在某些情况下称为 <abbr title="对象关系映射器(Object Relational Mapper,ORM),一个比较花哨的说法,用来指代一种库,其中某些类对应于 SQL 数据表,这些类的实例则对应于表中的行。">“ORM”</abbr>),FastAPI 不会强迫您使用任何东西。😎
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

花哨应该有更贴切的翻译

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

我准备改为“高大上”,这样应该更符合汉语表达习惯。你觉得如何?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

参考这个:https://cn.bing.com/dict/search?q=fancy+term&qs=n&form=Z9LH5&sp=-1&lq=0&pq=fancy+term&sc=0-10&sk=&cvid=5C4F50FD82E34CEDABBB69161958D755&ghsh=0&ghacc=0&ghpl=

建议:
对象关系映射器(Object Relational Mapper,ORM),一个术语,用来指代一种库,其中某些类对应于 SQL 数据表,这些类的实例则对应于表中的行。

Copy link
ContributorAuthor

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)` 为所有*表模型***创建表**。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

这是为什么是三个星号连着呀

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

谢谢回复!
“表模型”是斜体,“创建表”是粗体,再加上词语之间没有空格,他俩的星号就连在了一起。
不过markdown能够正确解析这个语法,目前看来没有问题。

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@alejsdevalejsdev merged commit929e844 intofastapi:masterDec 15, 2024
@alejsdev
Copy link
Member

Thanks for your contribution!@Zhongheng-Cheng 🤓
And thanks for your review@waketzheng 🚀

Zhongheng-Cheng reacted with hooray emoji

@Zhongheng-ChengZhongheng-Cheng deleted the translate/sql_databases branchDecember 17, 2024 21:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@waketzhengwaketzhengwaketzheng approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

approved-1lang-allTranslationslang-zhChinese translations

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Zhongheng-Cheng@alejsdev@waketzheng

Comments


[8]ページ先頭

©2009-2026 Movatter.jp