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 + +