Sequential objectId

Hello, is there a way to configure Parse/Mongo to generate objectIds for new objects in sequential binary format?

Instead of random string:

"objectId": "2ntvSpRGIK"

I would like to have:

"objectId": 00000000001

and next document would be saved with

"objectId": 00000000002

and so on…

The reason is that it could play nicely with ElasticSearch integration and RoaringBitmap skip-list that I integrated.

Thank you!

There is no but-in feature for this but maybe you could try to generate those sequential ids from cloud code using custom object ids options on your Parse Server.