Details
-
Task
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
Description
We have a function called db.version
If you create a collection called version you cannot query it via shell using db.version.X as the version function overloads the reference to the collection.
Most prominent when working with config.version
Workaround is to use db.getCollection("version").X
Attachments
Issue Links
- duplicates
-
SERVER-3879 Mongo allows for creation of collections named the same as functions, it's confusing
-
- Closed
-