What is * db. !!!!.
$ mongo *
MongoDB shell version: 2.0.0
connecting to: *
> show collections
> db.stats()
{
"db" : "*",
"collections" : 0,
"objects" : 0,
"avgObjSize" : 0,
"dataSize" : 0,
"storageSize" : 0,
"numExtents" : 0,
"indexes" : 0,
"indexSize" : 0,
"fileSize" : 0,
"nsSizeMB" : 0,
"ok" : 1
}
> show dbs
- (empty)
admin 0.203125GB
.....
>
- duplicates
-
SERVER-4113 shell should validate database name passed in command line
- Closed