Reputation: 55273
This is the exact steps that I followed:
User@User-PC MINGW64 /
$ mongo
2016-02-22T10:02:33.474+0800 I CONTROL [main] Hotfix KB2731284 or later update is not installed, will zero-out data files
MongoDB shell version: 3.2.3
connecting to: test
use dev
switched to db dev
show collections
Building
_SCHEMA
db.building.find()
After doing db.building.find
nothing outputs; no error, nothing.
Maybe I'm trying to fetch the collection in the wrong way?
Upvotes: 0
Views: 613
Reputation: 48396
The collection name is Building
, so please try
db.Building.find({})
rather than
db.building.find()
Upvotes: 2