added updated info fields

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307743 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kristina Chodorow 2011-01-25 23:33:27 +00:00
parent 0ceae24271
commit 95d482af34

View file

@ -26,8 +26,44 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the namespace, limit, skip, query, and fields for this cursor. In
version 1.0.10+, it also returns whether the cursor is pre- or post-query.
Returns the namespace, limit, skip, query, and fields for this cursor.
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>1.0.10</entry>
<entry>
Added <literal>started_iterating</literal> field, a boolean indicating
if cursor is pre- or post-query.
</entry>
</row>
<row>
<entry>1.1.0</entry>
<entry>
Added a number of other fields, including <literal>id</literal> (the
cursor id), <literal>at</literal> (the driver's counter of which
document is current), <literal>numReturned</literal> (the number
returned by the server in the current batch), and
<literal>server</literal> (which server the query was sent
to&mdash;useful in conjunction with
<function>MongoCursor::slaveOkay</function>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>