There is no CREATE DATABASE statement in MongoDB like there is in SQL. To create a database in MongoDB, simply switch to a non-existent database, then insert data into it. Start with MongoDB 3.0, If the database does not contain any collection, the database will be deleted.
In NoSQLBooster Creating an empty database node that is equivalent to a "use <db>" operation, and you need to add a collection to the database to actually create the database.
Replies have been locked on this page!