Issue findone on database

Is there a way to perform a query across all collections in a database?

a little more info, this is for node.js using the mongodb driver. I have a situation where my backend is creating some collections and I am wanting my front end to add some data to those collections but it will not know the name of those collections.