The syntax for creating a new database in MongoDB is:
use
For example, to create a new database called “mydatabase”:
use mydatabase
The syntax for creating a new database in MongoDB is:
use
For example, to create a new database called “mydatabase”:
use mydatabase