mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Use reverse chronological order for Mongo changelogs
https://jira.mongodb.org/browse/PHP-499 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327889 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6d998932b6
commit
2983ed9c50
31 changed files with 234 additions and 266 deletions
|
@ -181,39 +181,49 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db
|
|||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
<para>
|
||||
Removed the persist option, as all connections are now persistent. It
|
||||
can still be used, but it doesn't affect anything.
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>"persist"</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
If the connection should be persistent. If set, the connection will
|
||||
be persistent. The string representation of the value is used as an
|
||||
id for the connection, so two instances of
|
||||
<classname>Mongo</classname> that are initialized with
|
||||
<literal>array("persist" => "foobar")</literal> will share the same
|
||||
database connection, whereas an instance initialized with
|
||||
<literal>array("persist" => "barbaz")</literal> will use a different
|
||||
database connection.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
Added the <literal>"username"</literal> and
|
||||
<literal>"password"</literal> options.
|
||||
</para>
|
||||
<para>
|
||||
The "replicaSet" parameter now takes a string, not a boolean (although
|
||||
boolean is still accepted).
|
||||
Removed the <literal>"persist"</literal> option, as all connections are
|
||||
now persistent. It can still be used, but it doesn't affect anything.
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>"persist"</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
If the connection should be persistent. If set, the connection will
|
||||
be persistent. The string representation of the value is used as an
|
||||
ID for the connection, so two instances of
|
||||
<classname>Mongo</classname> that are initialized with
|
||||
<literal>array("persist" => "foobar")</literal> will share the same
|
||||
database connection, whereas an instance initialized with
|
||||
<literal>array("persist" => "barbaz")</literal> will use a different
|
||||
database connection.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<para>
|
||||
The <literal>"replicaSet"</literal> option now takes a string, not a
|
||||
boolean (although boolean is still accepted).
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>Added the <literal>"replicaSet"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.2</entry>
|
||||
<entry>
|
||||
Changed constructor to take an array of options. Pre-1.0.2, the
|
||||
constructor took the following parameters:
|
||||
<para>
|
||||
Changed constructor to take an array of options. Pre-1.0.2, the
|
||||
constructor took the following parameters:
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
|
@ -259,19 +269,6 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db
|
|||
</variablelist>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
Added the <literal>replicaSet</literal> option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Added the <literal>username</literal> and <literal>password</literal>
|
||||
options.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
Returns the current pool size.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
|
@ -48,9 +49,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
@ -95,7 +94,7 @@ var_dump(Mongo::poolDebug());
|
|||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso"><!-- {{{ -->
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
|
@ -104,7 +103,7 @@ var_dump(Mongo::poolDebug());
|
|||
<member>The <link linkend="mongo.connecting">connection</link> documentation.</member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1><!-- }}} -->
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
|
|
@ -65,9 +65,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
@ -75,7 +73,6 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
|
@ -46,9 +46,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -111,9 +111,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -60,9 +60,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -73,9 +73,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -78,9 +78,9 @@
|
|||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when the 2nd argument is not
|
||||
used. The default value for <parameter>type</parameter> may change in
|
||||
the near future.
|
||||
Emits <constant>E_DEPRECATED</constant> when the second argument is not
|
||||
used. The default value for <parameter>type</parameter> may change in
|
||||
the near future.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -123,23 +123,24 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>
|
||||
Added "options" parameter.
|
||||
</entry>
|
||||
<entry>1.2.7</entry>
|
||||
<entry>Added <literal>"continueOnError"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
Added ability to pass integers to "safe" options (only accepted booleans
|
||||
before) and added "fsync" option.
|
||||
<para>
|
||||
Added ability to pass integers to the <literal>"safe"</literal> option,
|
||||
which previously only accepted booleans.
|
||||
</para>
|
||||
<para>
|
||||
Added <literal>"fsync"</literal> option.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.7</entry>
|
||||
<entry>
|
||||
The <literal>continueOnError</literal> flag has been added.
|
||||
</entry>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>Added <parameter>options</parameter> parameter.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -77,7 +77,8 @@
|
|||
<row>
|
||||
<entry>1.0.7</entry>
|
||||
<entry>
|
||||
Added <literal>limit</literal> and <literal>skip</literal> parameters.
|
||||
Added <parameter>limit</parameter> and <parameter>skip</parameter>
|
||||
parameters.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -195,44 +195,43 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.0.2</entry>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>
|
||||
Changed "options" parameter from boolean to array. Pre-1.0.2, the
|
||||
second parameter was an optional boolean value specifying a unique
|
||||
index.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
"safe" will trigger master failover, if necessary.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
<classname>MongoException</classname> will be thrown if index name
|
||||
(either generated or set) is longer than 128 bytes.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Added timeout option.
|
||||
The <parameter>options</parameter> parameter no longer accepts a boolean
|
||||
to signify a unique index. Instead, this now has to be done with
|
||||
<literal>array('unique' => true)</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when <parameter>options</parameter> is <type>scalar</type>.
|
||||
Emits <constant>E_DEPRECATED</constant> when
|
||||
<parameter>options</parameter> is <type>scalar</type>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>Added <literal>"timeout"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> parameter does no longer accept
|
||||
just a boolean to signify a unique index. Instead, this now has to be done
|
||||
with <literal>array('unique' => true)</literal>.
|
||||
<para>
|
||||
The <literal>"safe"</literal> option will trigger a master failover, if
|
||||
necessary.
|
||||
</para>
|
||||
<para>
|
||||
<classname>MongoException</classname> will be thrown if the index name
|
||||
(either generated or set) is longer than 128 bytes.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.2</entry>
|
||||
<entry>
|
||||
Changed <parameter>options</parameter> parameter from boolean to array.
|
||||
Pre-1.0.2, the second parameter was an optional boolean value specifying
|
||||
a unique index.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -46,9 +46,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -114,7 +114,8 @@
|
|||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when <parameter>options</parameter> is <type>scalar</type>.
|
||||
Emits <constant>E_DEPRECATED</constant> when
|
||||
<parameter>options</parameter> is <type>scalar</type>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -258,45 +258,46 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>
|
||||
Changed second parameter to an array of options. Pre-1.0.5, the
|
||||
second parameter was a boolean indicating the "safe" option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
Added ability to pass integers to "safe" options (only accepted booleans
|
||||
before) and added "fsync" option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
The return type was changed to be an array containing error
|
||||
information if the "safe" option is used, otherwise it is a boolean as
|
||||
before.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
Disconnects on "not master" errors if "safe" is set.
|
||||
The <parameter>options</parameter> parameter no longer accepts a boolean
|
||||
to signify a safe insert. Instead, this now has to be done with
|
||||
<literal>array('safe' => true)</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>Added <literal>"timeout"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
Added timeout option.
|
||||
Disconnects on "not master" errors if <literal>"safe"</literal> is set.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> parameter does no longer accept
|
||||
just a boolean to signify a safe insert. Instead, this now has to be done
|
||||
with <literal>array('safe' => true)</literal>.
|
||||
<para>
|
||||
Added ability to pass integers to the <literal>"safe"</literal> option,
|
||||
which previously only accepted booleans.
|
||||
</para>
|
||||
<para>
|
||||
Added <literal>"fsync"</literal> option.
|
||||
</para>
|
||||
<para>
|
||||
The return type was changed to be an array containing error information
|
||||
if the <literal>"safe"</literal> option is used. Otherwise, a boolean
|
||||
is returned as before.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>
|
||||
Changed second parameter to be an array of options. Pre-1.0.5, the
|
||||
second parameter was a boolean indicating the <literal>"safe"</literal>
|
||||
option.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -144,52 +144,53 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>
|
||||
Changed second parameter to an array of options. Pre-1.0.5, the
|
||||
second parameter was a boolean indicating the "justOne" option and
|
||||
there was no safe option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
Added ability to pass integers to "safe" options (only accepted booleans
|
||||
before) and added "fsync" option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
The return type was changed to be an array containing error
|
||||
information if the "safe" option is used, otherwise it is a boolean as
|
||||
before.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
Disconnects on "not master" errors if "safe" is set.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Added timeout option.
|
||||
The <parameter>options</parameter> parameter no longer accepts a boolean
|
||||
to signify <literal>"justOne"</literal>. Instead, this now has to be
|
||||
done with <literal>array('justOne' => true)</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when <parameter>options</parameter> is <type>scalar</type>.
|
||||
Emits <constant>E_DEPRECATED</constant> when
|
||||
<parameter>options</parameter> is <type>scalar</type>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>Added <literal>"timeout"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> parameter does no longer accept
|
||||
just a boolean to signify "justOne". Instead, this now has to be done
|
||||
with <literal>array('justOne' => true)</literal>.
|
||||
Disconnects on "not master" errors if <literal>"safe"</literal> is set.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
<para>
|
||||
Added ability to pass integers to the <literal>"safe"</literal> option,
|
||||
which previously only accepted booleans.
|
||||
</para>
|
||||
<para>
|
||||
Added <literal>"fsync"</literal> option.
|
||||
</para>
|
||||
<para>
|
||||
The return type was changed to be an array containing error information
|
||||
if the <literal>"safe"</literal> option is used. Otherwise, a boolean
|
||||
is returned as before.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>
|
||||
Changed second parameter to be an array of options. Pre-1.0.5, the
|
||||
second parameter was a boolean indicating the <literal>"safe"</literal>
|
||||
option.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -138,29 +138,30 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>Added <literal>"timeout"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
Added "options" parameter.
|
||||
Disconnects on "not master" errors if <literal>"safe"</literal> is set.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
Added ability to pass integers to "safe" options (only accepted booleans
|
||||
before) and added "fsync" option.
|
||||
<para>
|
||||
Added ability to pass integers to the <literal>"safe"</literal> option,
|
||||
which previously only accepted booleans.
|
||||
</para>
|
||||
<para>
|
||||
Added <literal>"fsync"</literal> option.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
Disconnects on "not master" errors if "safe" is set.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Added timeout option.
|
||||
</entry>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>Added <parameter>options</parameter> parameter.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -61,9 +61,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -173,57 +173,57 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.0.1</entry>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>
|
||||
Changed "options" parameter from boolean to array. Pre-1.0.1, the
|
||||
second parameter was an optional boolean value specifying an upsert.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>
|
||||
Added "safe" option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
Added ability to pass integers to "safe" options (only accepted booleans
|
||||
before) and added "fsync" option.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
The return type was changed to be an array containing error
|
||||
information if the "safe" option is used, otherwise it is a boolean as
|
||||
before.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
Disconnects on "not master" errors if "safe" is set.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Added timeout option.
|
||||
The <parameter>options</parameter> parameter no longer accepts a boolean
|
||||
to signify an upsert. Instead, this now has to be done with
|
||||
<literal>array('upsert' => true)</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when <parameter>options</parameter> is <type>scalar</type>.
|
||||
Emits <constant>E_DEPRECATED</constant> when
|
||||
<parameter>options</parameter> is <type>scalar</type>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>Added <literal>"timeout"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.11</entry>
|
||||
<entry>
|
||||
The <parameter>options</parameter> parameter does no longer accept
|
||||
just a boolean to signify an upsert. Instead, this now has to be done
|
||||
with <literal>array('upsert' => true)</literal>.
|
||||
Disconnects on "not master" errors if <literal>"safe"</literal> is set.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.9</entry>
|
||||
<entry>
|
||||
<para>
|
||||
Added ability to pass integers to the <literal>"safe"</literal> option,
|
||||
which previously only accepted booleans.
|
||||
</para>
|
||||
<para>
|
||||
Added <literal>"fsync"</literal> option.
|
||||
</para>
|
||||
<para>
|
||||
The return type was changed to be an array containing error information
|
||||
if the <literal>"safe"</literal> option is used. Otherwise, a boolean
|
||||
is returned as before.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.5</entry>
|
||||
<entry>Added <literal>"safe"</literal> option.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.0.1</entry>
|
||||
<entry>
|
||||
Changed <parameter>options</parameter> parameter from boolean to array.
|
||||
Pre-1.0.1, the second parameter was an optional boolean value specifying
|
||||
an upsert.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -60,9 +60,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -42,13 +42,6 @@
|
|||
</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>
|
||||
|
@ -61,6 +54,13 @@
|
|||
<function>MongoCursor::slaveOkay</function>).
|
||||
</entry>
|
||||
</row>
|
||||
<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>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
|
|
@ -136,8 +136,8 @@ array("ok" => 0, "errmsg" => "auth fails");
|
|||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
Please pass in the authentication details to the constructor.
|
||||
Emits <constant>E_DEPRECATED</constant> when used. Please pass in the
|
||||
authentication details to the constructor.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -93,7 +93,7 @@ public function command($data) {
|
|||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Added <literal>options</literal> parameter with a single option:
|
||||
<literal>timeout</literal>.
|
||||
<literal>"timeout"</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -60,9 +60,7 @@ public function forceError() {
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -46,9 +46,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -46,9 +46,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -60,9 +60,7 @@ public function resetError() {
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -60,9 +60,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -93,7 +93,7 @@ $grid->storeUpload("pic", array("username" => "joe"));
|
|||
<row>
|
||||
<entry>1.2.5</entry>
|
||||
<entry>
|
||||
Changed second parameter to an array of metadata. Pre-1.2.5, the
|
||||
Changed second parameter to an array of metadata. Pre-1.2.5, the
|
||||
second parameter was an optional string overriding the filename.
|
||||
</entry>
|
||||
</row>
|
||||
|
|
|
@ -40,9 +40,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -129,9 +129,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
|
@ -60,9 +60,7 @@
|
|||
<tbody>
|
||||
<row>
|
||||
<entry>1.2.11</entry>
|
||||
<entry>
|
||||
Emits <constant>E_DEPRECATED</constant> when used.
|
||||
</entry>
|
||||
<entry>Emits <constant>E_DEPRECATED</constant> when used.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
|
|
Loading…
Reference in a new issue