svn: /phpdoc/en/trunk/reference/mongo/mongocursor/ info.xml
| From: | Kristina Chodorow | Date: | Tue, 25 Jan 2011 23:33:27 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongocursor/ info.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7673@lists.php.net to get a copy of this message | ||
kristina Tue, 25 Jan 2011 23:33:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307743
Log:
added updated info fields
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongocursor/info.xml
Modified: phpdoc/en/trunk/reference/mongo/mongocursor/info.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongocursor/info.xml 2011-01-25 22:57:37 UTC (rev 307742)
+++ phpdoc/en/trunk/reference/mongo/mongocursor/info.xml 2011-01-25 23:33:27 UTC (rev 307743)
@@ -26,11 +26,47 @@
<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>
+
<refsect1 role="examples">
&reftitle.examples;
<example>