mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
0ceae24271
commit
95d482af34
1 changed files with 38 additions and 2 deletions
|
@ -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—useful in conjunction with
|
||||
<function>MongoCursor::slaveOkay</function>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue