-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.10.1
-
Component/s: API
-
None
-
Environment:Windows XP 32-Bit
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The below method,
DBCollection com.mongodb.DB.createCollection(String arg0, DBObject arg1)
doesn't create a new empty collection using java.
However, from the mongo shell, this command creates an empty collection.