Skip to content

Commit 55444b8

Browse files
committed
Merge pull request #349 from estolfo/MONGOID-4240-pluck
MONGOID-4240 Update documentation for Criteria#pluck behavior
2 parents 1501411 + d5e4895 commit 55444b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/tutorial/mongoid-queries.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ methods on criteria.
220220

221221
* - ``Criteria#pluck``
222222

223-
*Get all the non nil values for the provided field.*
223+
*Get all the values for the provided field.
224+
Returns nil for unset fields and for non-existent fields.*
224225

225226
-
226227
.. code-block:: ruby

0 commit comments

Comments
 (0)