Changes

Jump to navigation Jump to search
1 byte added ,  12:32, 25 February 2016
Line 27: Line 27:  
== Show databases ==
 
== Show databases ==
 
  show dbs
 
  show dbs
 +
db.adminCommand('listDatabases')
 +
db.getMongo().getDBNames()
 +
 
* To view databases they must have data<br />
 
* To view databases they must have data<br />
 
To show the current database type:
 
To show the current database type:
 
  db
 
  db
db.adminCommand('listDatabases')
  −
db.getMongo().getDBNames()
      
== Insert ==
 
== Insert ==

Navigation menu