mongodb shell create database code example
Example 1: create mongodb database
db = new Mongo().getDB("EtudiantDB");
Example 2: how to create database in mongo db command
use DATABASE_NAME
db = new Mongo().getDB("EtudiantDB");
use DATABASE_NAME