Zack Shapiro
Zack Shapiro

Reputation: 6998

Are Parse IDs deterministic?

I know that in Mongo, when you create IDs, the IDs are created in part by a time element which can be nice for sorting without using any other keys like createdAt or updatedAt. Is the same true for IDs created in Parse?

Upvotes: 0

Views: 80

Answers (1)

flovilmart
flovilmart

Reputation: 1769

Parse-server doesn't use deterministic IDs for the object but 10 characters random strings (which can be configured on your side also if you wish to have longer objectIds)

https://github.com/parse-community/parse-server/blob/master/src/cryptoUtils.js#L39

Upvotes: 1

Related Questions