I want to check that if I use _id
fields that refer to documents from different collections, I will never have a duplicate _id
, i.e. used in 2 different collections inside the same database.
Using meteor (so both in minimongo and mongodb), is the _id
field unique in its collection or in the entire database?