5 ms·
As mathias_10gen points out below this is the default behavior of ObjectId. You just have to be carful if you decide to override the _id field.
by bdarfler 15y ago
As mathias_10gen points out below this is the default behavior of ObjectId. You just have to be carful if you decide to override the _id field.
- FooBarWidget 15y agoIt isn't just the _id field, it's any indexed field.