From 119a7f907bc359d7ebbf1fef8d2d8df93d7b4cf5 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 13 Mar 2015 00:27:37 +0000 Subject: [PATCH] Fix code and link to eval command for MongoDB::execute() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336070 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongodb/execute.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/reference/mongo/mongodb/execute.xml b/reference/mongo/mongodb/execute.xml index a12088068e..c2dab25269 100644 --- a/reference/mongo/mongodb/execute.xml +++ b/reference/mongo/mongodb/execute.xml @@ -25,13 +25,15 @@ other operations. Make sure you consider this before running a long script. - This is a wrapper for a database command. This method is basically: + This is a wrapper for the + eval database + command. This method is basically: command(array('$eval' => $code, 'args' => $args)); + return $this->command(array('eval' => $code, 'args' => $args)); } ?> @@ -195,6 +197,13 @@ Goodbye, Joe, says Fred + + + &reftitle.seealso; + + The MongoDB eval command docs + +