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

Comments

📝 Update example source files for SQL databases with SQLAlchemy#9508

Merged
tiangolo merged 2 commits intofastapi:masterfrom
s-mustafa:master
Jan 9, 2024
Merged

📝 Update example source files for SQL databases with SQLAlchemy#9508
tiangolo merged 2 commits intofastapi:masterfrom
s-mustafa:master

Conversation

@s-mustafa
Copy link
Contributor

Adding a secondary index to a primary key is not necessary.

@s-mustafas-mustafa changed the titleUpdate docs_src to remove useless index📝 Update docs_src to remove useless indexMay 9, 2023
@github-actions
Copy link
Contributor

📝 Docs preview for commitdba9733 at:https://645a09454c03c83c4b2f2175--fastapi.netlify.app

Copy link

@RyandaydevRyandaydev left a comment

Choose a reason for hiding this comment

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

This change makes intuitive sense, and I verified SQLAlchemy doco does not include the index=true for its examples of defining primary keys.

Tests also pass.

s-mustafa reacted with hooray emoji
@tiangolo
Copy link
Member

📝 Docs preview for commit077a31f at:https://64b6f023ad95e206b42d3dc0--fastapi.netlify.app

s-mustafa reacted with rocket emoji

@tiangolotiangolo added the docsDocumentation about how to use FastAPI labelOct 2, 2023
@tiangolotiangolo changed the title📝 Update docs_src to remove useless index📝 Update example source files for SQL databases with SQLAlchemyJan 9, 2024
@tiangolo
Copy link
Member

Thank you! ☕ 🍰

s-mustafa reacted with heart emoji

@tiangolotiangolo merged commit4491ea6 intofastapi:masterJan 9, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@KludexKludexKludex approved these changes

+1 more reviewer

@RyandaydevRyandaydevRyandaydev approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

docsDocumentation about how to use FastAPI

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@s-mustafa@tiangolo@Ryandaydev@Kludex

[8]ページ先頭

©2009-2026 Movatter.jp