We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca6708 commit 5fd1e8eCopy full SHA for 5fd1e8e
backend/common/model.py
@@ -28,6 +28,7 @@
28
29
30
# 雪花算法 Mapped 类型主键,使用方法与 id_key 相同
31
+# 详情:https://fastapi-practices.github.io/fastapi_best_architecture_docs/backend/reference/pk.html
32
snowflake_id_key = Annotated[
33
int,
34
mapped_column(
0 commit comments