Database.MongoDB.Query doesn't expose the full power of mongo's update call. Here are a couple specific issues (not intended as a comprehensive list):
- There's no way to make a call with both the
MultiUpdate and Upsert flags.
- There's no (semantic) way to make a
modify call that only modifies one document or that does an upsert (or both, see previous).
The rest of the module does a good job of mirroring mongo's query API without restricting its use. So the update functions seem out of place, in that they sacrifice "advanced" usage in favor of several predetermined modes of operation.
I haven't dug into this very much, but it seems like you could just expose update (a private function in the Query module). The convenience functions (save, replace, repsert, etc.) could remain as such or be deprecated.