hiddentao / robe

MongoDB ODM for Node.js using ES6 generators. Supports schema validation, raw querying, oplog tailing, etc.
http://hiddentao.github.io/robe
MIT License
177 stars 12 forks source link

Collection.ensureIndexes() doesn't work for MongoDB 3 #11

Open hiddentao opened 9 years ago

hiddentao commented 9 years ago

This is due to the method having been deprecated, see http://docs.mongodb.org/master/reference/method/db.collection.ensureIndex/.

We need monk to support this new call (createIndex()) in order to use it.

hiddentao commented 8 years ago

Just released v2 with updated dependencies. Hopefully this works now.