Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bdarfler
· 15y ago · 0 comments
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.
Comments
[–]
FooBarWidget
15y ago
It isn't just the _id field, it's
any
indexed field.