Mention that eval command is deprecated in MongoDB 3.0+

https://jira.mongodb.org/browse/PHP-1409


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336071 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2015-03-13 00:28:17 +00:00
parent 119a7f907b
commit 30eb8053bc

View file

@ -14,6 +14,12 @@
<methodparam><type>mixed</type><parameter>code</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>args</parameter><initializer>array()</initializer></methodparam>
</methodsynopsis>
<warning>
<para>
The <link xlink:href="&url.mongodb.docs.command;eval/">eval</link> command,
which this method invokes, is deprecated in MongoDB 3.0+.
</para>
</warning>
<para>
The Mongo database server runs a JavaScript engine. This method allows you
to run arbitary JavaScript on the database. This can be useful if you want