Skip to content

How are option ID's generated? #329

Answered by ericingram
JoeMatkin asked this question in Help
Discussion options

You must be logged in to vote

@JoeMatkin we use Mongo Object IDs (data type is objectid in models)

You can use this npm library to generate them: https://www.npmjs.com/package/bson-objectid. Note creating any record or object will always accept a custom object ID if supplied in the request

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@JoeMatkin
Comment options

@JoeMatkin
Comment options

@ericingram
Comment options

@JoeMatkin
Comment options

@ericingram
Comment options

Answer selected by JoeMatkin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants