Replies: 2 comments 2 replies
-
I think I like kebab-case the most, because URLs make more sense:
It also establishes a visual hierarchy with Payload collections. For example, in |
Beta Was this translation helpful? Give feedback.
-
I just found out about an issue in MongoDB shell:
This can't be quite annoying. @jmikrut @DanRibbens perhaps that's a reason to avoid underscores both as a user and internally in Payload? For example, I have issues querying my The prefix could simply be |
Beta Was this translation helpful? Give feedback.
-
I wonder how to name collections that consist of multiple words, e.g. "blog posts". Here's a relevant question on Stack Overflow about naming conventions for MongoDB collections.
I can see that Payload appears to use underscores internally, judging by the system generated
_*_versions
collection, where*
is the slug of your collection.23 votes ·
Beta Was this translation helpful? Give feedback.
All reactions