Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
DOC-2022-S5, DOC-2022-S6, DOC-2022-S7, DOC-2022-S8, DOC-2022-S9, DOC-2022-S10, DOC-2022-S11, DOC-2022-S12, DOC-2022-S13, DOC-2022-S16, DOC-2022-S17, DOC-2022-S18
-
1
Description
https://github.com/couchbaselabs/node-ottoman/issues/640
Questions around "how to generate UUID for a field " pop up quite often.
It's difficult to infer this information from the current documentation.
We should add a section in the documentation which is searchable and at the same time has example around it.
As an example for a field _id to use UUID it's as simple as attributing it as auto : 'uuid'
_id: { type: String, required: true, auto: ‘uuid’ } |
Maybe we could add this in the Ottoman Getting Started page? This is for the ottoman documentation, not our docs site.