mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
83e9d2196e
commit
07e724fa0a
1 changed files with 28 additions and 1 deletions
|
@ -23,9 +23,36 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The current result's filename.
|
||||
The current result'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:
|
||||
|
|
Loading…
Reference in a new issue