Replies: 1 comment
-
Not yet, unfortunately. It would be nice but I think it could have a lot of weird edge-cases or make certain queries a bit slower since you can have multiple For example: A However, you always can create your own Express route to do exactly that by calling |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Adding a field with
unique: true
creates an Index on the collection. Is there any way to access collection items by unique indexes other than id? For example, fetchinghttps://example.com/api/pages/home
would be much better DX thanBeta Was this translation helpful? Give feedback.
All reactions