New documents inserted with _id as an ObjectID instead of String
diakonos opened this issue · comments
Is there a reason documents are inserted with _id as strings right now? My existing data, uses ObjectID which, to my knowledge, is the MongoDB default and recommendation. It is guaranteed to be unique across machines. Can new documents be inserted with _id as ObjectID instead of String?
Never mind, I was able to configure the collection's idGeneration to be MONGO.