svn: /phpdoc/en/trunk/reference/mongo/ mongoclient.xml
| From: | Jeremy Mikola | Date: | Thu, 03 Jul 2014 17:19:23 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/ mongoclient.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12564@lists.php.net to get a copy of this message | ||
jmikola Thu, 03 Jul 2014 17:19:23 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334102
Log:
Document deprecated MongoClient properties
https://jira.mongodb.org/browse/PHP-840
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongoclient.xml
Modified: phpdoc/en/trunk/reference/mongo/mongoclient.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongoclient.xml 2014-07-03 14:40:20 UTC (rev 334101)
+++ phpdoc/en/trunk/reference/mongo/mongoclient.xml 2014-07-03 17:19:23 UTC (rev 334102)
@@ -228,23 +228,30 @@
<varlistentry xml:id="mongoclient.props.connected">
<term><varname>connected</varname></term>
<listitem>
- <simpara>
- This property will be set to &true; if we have a open connection
- the database based on the ReadPreference and tagsets (for ReplicaSet
- connections), &false; otherwise. This property does not take
+ <para>
+ This property will be set to &true; if we have a open connection to
+ the database, &false; otherwise. If the connection is to a replica set,
+ this property will only be &true; if the driver has a connection to a
+ node matching the current read preference. This property does not take
authentication into account.
- </simpara>
+ </para>
+ <para>
+ This property is <emphasis>deprecated</emphasis> since version 1.5.0.
+ </para>
</listitem>
</varlistentry>
<varlistentry xml:id="mongoclient.props.status">
<term><varname>status</varname></term>
<listitem>
- <simpara>
+ <para>
This property is no longer used and will be set to &null; In driver
versions 1.1.x and earlier, this may be set to a string value (e.g.
<literal>"recycled"</literal>,
<literal>"new"</literal>) when persistent
connections are used.
- </simpara>
+ </para>
+ <para>
+ This property is <emphasis>deprecated</emphasis> since version 1.5.0.
+ </para>
</listitem>
</varlistentry>
</variablelist>