ltonetwork / mongodb-rest

JSON REST server for MongoDB (using node.js)
MIT License
405 stars 143 forks source link

Added ability to update multiple records #20

Closed adomado closed 12 years ago

adomado commented 13 years ago

Hi,

I've added the functionality to update multiple records at once. The PUT call now accepts "/:db/:collection/:id/:query" where :query is the JSON string which will be parsed to form the update call.

Note, when using :query, the :id should be 0

Awaiting review.

Thanks, Mayank