db.defaultDB evaluates to the collection "test.defaultDB" (assuming db is the "test" DB) whereas what was intended in this line and the one above was the get whatever value "defaultDB" evaluated to.
Use db.getMongo().defaultDB instead of db.defaultDB
- Assignee:
-
Vishnu Kaushik
- Reporter:
-
Vishnu Kaushik
- Votes:
-
0 Vote for this issue - Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: