-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.1.2
-
Component/s: None
-
None
The default for behavior for findAndModify is to return a document, but in the Ruby driver, the "find_one_and_" commands don't return a document unless called specifically using the :return_document option. This differs from, say, the Python driver (I believe), and it's cumbersome when implementing into the code.