LearnBoost/mongoose — pull request #648 by ilkovich (2011-12-13 18:27:46+00:00)
Title: Allow adding criteria when saving a document to ensure that the document has not been updated since retrieval.

When saving a document it is sometimes necessary to ensure that the
in memory document is the same as the document in the repository. This
update allows the user to add criteria to the save command.