Ok, so I have a members collection and a pet members collection, now i understand the basic workings on how the IDs are generated, but is there a chance that a id that gets assigned to the pets collection could be the same as the members collection?
The reason I ask, is we are improving a social networking site, that uses MongoDB at its core. now while this social site does give each pet an ID ( this is only the case if the owner buys an id ) we use the "_id" or '$id'
as the main id which we look for in our database.
So my question is simply is it possible that even knowing they are two totally separate collections could they end up with the same id as each other? - This is what we don't want.