co-mongo icon indicating copy to clipboard operation
co-mongo copied to clipboard

collection.remove is deprecated

Open freegink opened this issue 10 years ago • 2 comments

Cause collection.remove is deprecated, can we please map "deleteOne" and "deleteMany"?

freegink avatar Dec 15 '14 01:12 freegink

Good spot, would be happy to review a PR

thomseddon avatar Dec 15 '14 16:12 thomseddon

co-mongo is currently using mongodb 1.3.23 in which "remove" is not deprecated and "deleteOne' and "deleteMany" don't exist yet. I'm not sure if you want to switch to mongodb 2.0?

freegink avatar Dec 16 '14 00:12 freegink