lib/mongoid/contextual/map_reduce.rb
# Get the raw output from the map/reduce operation.
#
# @example Get the raw output.
#   map_reduce.raw
#
# @return [ Hash ] The raw output.
Get the raw output from the map/reduce operation.
Get the raw output from the map / reduce operation .
def raw
        validate_out!
        cmd = command
        opts = { read: criteria.options.fetch(:read) } if criteria.options[:read]
        @map_reduce.database.command(cmd, (opts || {}).merge(session: _session)).first
      end
def raw validate_out! cmd = command opts = { read : criteria . options . fetch ( :read ) } if criteria . options [ :read ] @map_reduce . database . command ( cmd , ( opts || { } ) . merge ( session : _session ) ) . first end
Get the raw output from the map/reduce operation.
Get the raw output from the map / reduce operation .
The raw output.
The raw output .
 Hash 
example
Get the raw output. map_reduce.raw
Get the raw output . map_reduce . raw