MongoDB should I create my own ID key column? -


in mongodb there seems default _id column, stores object id. should making own auto-incrementing id column reference across collections foreign keys?

the default _id column primary key of document. , stores an objectid, can contain else, it's you.

there reason why mongo developers use default primary key (it's more performant if multiple processes insert simultaneously) , if don't understand reasons better not experiment else.

it foreign key.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -