Skip to content

为什么 Create Collection参数的命名规则,同时使用了下划线和驼峰规则? #39589

Discussion options

You must be logged in to vote

如果你不定义schema或者fields,auto_id会起作用,这是快速建表方式。
如果你定义了schema或者fields,就必须用autoID。
为什么可以同时使用,有一定的历史原因, it is what it is。
我个人推荐使用schema定义。
文档可能需要更新一下。

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@SunnyPai0413
Comment options

@xiaofan-luan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SunnyPai0413
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants