[13:56:23] <w6equj5> Hi all, is there a way to look for a document in ANY MongoDB collection? Say I have a DB with two collections ('user', and 'item') and before creating a new user I want to make sure that no other user OR item has the same name. Do I have to make a user.findOne() AND a item.findOne() call? Or is there a syntax that allows me to findOne on both collections?
[19:17:09] <johndoe231> Can I replace insertion of some array of data using insertMany() or bulkwrite, with an iterator that inserts each element without any significant performance penalty?