minor: docs

This commit is contained in:
Kyle Banker 2010-06-05 22:45:37 -04:00
parent e1bcee7638
commit 0335937b3c
1 changed files with 1 additions and 1 deletions

View File

@ -434,8 +434,8 @@ module Mongo
# Atomically update and return a document using MongoDB's findAndModify command. (MongoDB > 1.3.0)
#
# @option opts [Hash] :update (nil) the update operation to perform on the matched document.
# @option opts [Hash] :query ({}) a query selector document for matching the desired document.
# @option opts [Hash] :update (nil) the update operation to perform on the matched document.
# @option opts [Array, String, OrderedHash] :sort ({}) specify a sort option for the query using any
# of the sort options available for Cursor#sort. Sort order is important if the query will be matching
# multiple documents since only the first matching document will be updated and returned.