note 108935 added to mongodb.execute
| From: | nodkzatmailru | Date: | Wed, 06 Jun 2012 14:14:25 +0000 |
| Subject: | note 108935 added to mongodb.execute | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188422@lists.php.net to get a copy of this message | ||
In 1.7.2, a nolock option was added to eval. To use nolock you have to use the command interface
directly:
db.runCommand({$eval: function() {return 42;}, nolock: true})
or with args
db.runCommand({$eval: function(x,y) {return x*y;}, args: [6,7], nolock: true})
----
Server IP: 69.147.83.197
Probable Submitter: 195.93.152.1
----
Manual Page -- http://www.php.net/manual/en/mongodb.execute.php
Edit -- https://master.php.net/note/edit/108935
Del: integrated -- https://master.php.net/note/delete/108935/integrated
Del: useless -- https://master.php.net/note/delete/108935/useless
Del: bad code -- https://master.php.net/note/delete/108935/bad+code
Del: spam -- https://master.php.net/note/delete/108935/spam
Del: non-english -- https://master.php.net/note/delete/108935/non-english
Del: in docs -- https://master.php.net/note/delete/108935/in+docs
Del: other reasons-- https://master.php.net/note/delete/108935
Reject -- https://master.php.net/note/reject/108935
Search -- https://master.php.net/manage/user-notes.php