create and delete database in mongoo code example Example: drop database mongodb command line mongo --eval "db.dropDatabase()"