0
Why I am getting the dbname here ?
>db.getName() sampledb >db.dropDatabase() {"ok":1} >db.getName() sampledb I am new to Mongodb!!! My question is after deleting the database, why am I still getting the database name when I try to get the current database. It must have shown some kind of error rgt !!?
1 Answer
+ 1
Restart the console because you are accessing the same thing with same element
To learn go to
Codewithharry youtube