This post talks about how you can convert an entire database to a specific collection.