Skip to content

Commit

Permalink
Update the documentation of unwind pipeline method.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzww committed Jun 14, 2017
1 parent 9bff40d commit dc47d13
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/mongoid/criteria/queryable/pipeline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ def project(entry)
# pipeline.unwind(:field)
# pipeline.unwind(document)
#
# @see https://docs.mongodb.com/manual/reference/operator/aggregation/unwind/
#
# @param [ String, Symbol ] field The name of the field.
# @param [ Hash ] document.
# @param [ String, Symbol, Hash ] field_or_doc The name of the field or a document.
#
# @return [ Pipeline ] The pipeline.
#
Expand Down

0 comments on commit dc47d13

Please sign in to comment.