note 103502 added to mongodb.command

From: Date: Sat, 16 Apr 2011 09:07:08 +0000
Subject: note 103502 added to mongodb.command
Groups: php.notes 
Request: Send a blank email to php-notes+get-178909@lists.php.net to get a copy of this message
I tried to write MapReduce. Unfortunately, out => array('replace' => 'collName') did not work for me. Instead, the below code works $mongo->command(array( 'mapreduce' => 'events', 'map' => $map, 'reduce' => $reduce, 'out' => 'mapReduceEventStats' )); ---- Server IP: 69.147.83.197 Probable Submitter: 90.195.196.144 ---- Manual Page -- http://www.php.net/manual/en/mongodb.command.php Edit -- https://master.php.net/note/edit/103502 Del: integrated -- https://master.php.net/note/delete/103502/integrated Del: useless -- https://master.php.net/note/delete/103502/useless Del: bad code -- https://master.php.net/note/delete/103502/bad+code Del: spam -- https://master.php.net/note/delete/103502/spam Del: non-english -- https://master.php.net/note/delete/103502/non-english Del: in docs -- https://master.php.net/note/delete/103502/in+docs Del: other reasons-- https://master.php.net/note/delete/103502 Reject -- https://master.php.net/note/reject/103502 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178909) next »