MongoGridFSCursor::key() returns _id instead of filename since 1.3.0

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


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327891 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeremy Mikola 2012-10-05 21:00:35 +00:00
parent 83e9d2196e
commit 07e724fa0a

View file

@ -23,9 +23,36 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The current result&apos;s filename.
The current result&apos;s _id as a string.
</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.3.0</entry>
<entry>
The document's <literal>_id</literal> is returned as a string value,
since the key should be unique. Pre-1.3.0, <literal>filename</literal>
was returned.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables: