diff --git a/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml b/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml
index 304f5d92fdf2..83fb6ef00137 100644
--- a/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml
+++ b/reference/mongodb/mongodb/driver/exception/bulkwriteexception.xml
@@ -42,7 +42,8 @@
&Properties;
- protected
+ public
+ readonly
MongoDB\Driver\WriteResult
writeResult
@@ -96,6 +97,13 @@
+
+ PECL mongodb 2.3.0
+
+ The writeResult property is now
+ public readonly.
+
+
PECL mongodb 2.0.0
diff --git a/reference/mongodb/mongodb/driver/exception/commandexception.xml b/reference/mongodb/mongodb/driver/exception/commandexception.xml
index 70aa40255a3e..d4cb242c6869 100644
--- a/reference/mongodb/mongodb/driver/exception/commandexception.xml
+++ b/reference/mongodb/mongodb/driver/exception/commandexception.xml
@@ -42,7 +42,8 @@
&Properties;
- protected
+ public
+ readonly
object
resultDocument
@@ -84,6 +85,31 @@
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ The resultDocument property is now
+ public readonly.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.exception.entities.commandexception;
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent.xml
index 20231164b9c3..ab5afa1452a6 100644
--- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent.xml
@@ -33,7 +33,75 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ string
+ commandName
+
+
+ public
+ readonly
+ string
+ databaseName
+
+
+ public
+ readonly
+ int
+ duration
+
+
+ public
+ readonly
+ Exception
+ error
+
+
+ public
+ readonly
+ object
+ reply
+
+
+ public
+ readonly
+ string
+ operationId
+
+
+ public
+ readonly
+ string
+ requestId
+
+
+ public
+ readonly
+ MongoDB\BSON\ObjectIdnull
+ serviceId
+
+
+ public
+ readonly
+ intnull
+ serverConnectionId
+
+
&Methods;
@@ -41,6 +109,123 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server that executed the command.
+
+
+
+ port
+
+ The port of the server that executed the command.
+
+
+
+ commandName
+
+ The command name.
+
+
+
+ databaseName
+
+ The database name.
+
+
+
+ duration
+
+
+ The duration of the command in microseconds. The duration is a
+ calculated value that includes the time to send the message and
+ receive the response from the server.
+
+
+
+
+ error
+
+ The exception that was thrown when the command failed.
+
+
+
+ reply
+
+ The failure reply document returned by the server.
+
+
+
+ operationId
+
+
+ The operation ID. This may be used to link events together such as
+ bulk writes, which may dispatch multiple commands.
+
+
+
+
+ requestId
+
+
+ The request ID. This may be used to associate this
+ MongoDB\Driver\Monitoring\CommandFailedEvent
+ with a corresponding
+ MongoDB\Driver\Monitoring\CommandStartedEvent.
+
+
+
+
+ serviceId
+
+
+ The service ID, or &null; if the server does not support it (i.e.
+ not using load-balanced mode).
+
+
+
+
+ serverConnectionId
+
+
+ The server connection ID, or &null; if not available.
+
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties. The
+ duration property replaces the
+ getDurationMicros method.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.commandfailedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent.xml
index 24ba5cf6a60f..ad1b3ae4387a 100644
--- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent.xml
@@ -33,7 +33,63 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ string
+ commandName
+
+
+ public
+ readonly
+ string
+ databaseName
+
+
+ public
+ readonly
+ object
+ command
+
+
+ public
+ readonly
+ string
+ operationId
+
+
+ public
+ readonly
+ string
+ requestId
+
+
+ public
+ readonly
+ MongoDB\BSON\ObjectIdnull
+ serviceId
+
+
+ public
+ readonly
+ intnull
+ serverConnectionId
+
+
&Methods;
@@ -41,6 +97,105 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server that executed the command.
+
+
+
+ port
+
+ The port of the server that executed the command.
+
+
+
+ commandName
+
+ The command name.
+
+
+
+ databaseName
+
+ The database name.
+
+
+
+ command
+
+ The command document.
+
+
+
+ operationId
+
+
+ The operation ID. This may be used to link events together such as
+ bulk writes, which may dispatch multiple commands.
+
+
+
+
+ requestId
+
+
+ The request ID. This may be used to associate this
+ MongoDB\Driver\Monitoring\CommandStartedEvent
+ with a corresponding
+ MongoDB\Driver\Monitoring\CommandSucceededEvent
+ or
+ MongoDB\Driver\Monitoring\CommandFailedEvent.
+
+
+
+
+ serviceId
+
+
+ The service ID, or &null; if the server does not support it (i.e.
+ not using load-balanced mode).
+
+
+
+
+ serverConnectionId
+
+ The server connection ID, or &null; if not available.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.commandstartedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent.xml
index 6590e3ea5c2b..882ee9eae1dd 100644
--- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent.xml
@@ -33,7 +33,69 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ string
+ commandName
+
+
+ public
+ readonly
+ string
+ databaseName
+
+
+ public
+ readonly
+ int
+ duration
+
+
+ public
+ readonly
+ object
+ reply
+
+
+ public
+ readonly
+ string
+ operationId
+
+
+ public
+ readonly
+ string
+ requestId
+
+
+ public
+ readonly
+ MongoDB\BSON\ObjectIdnull
+ serviceId
+
+
+ public
+ readonly
+ intnull
+ serverConnectionId
+
+
&Methods;
@@ -41,6 +103,115 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server that executed the command.
+
+
+
+ port
+
+ The port of the server that executed the command.
+
+
+
+ commandName
+
+ The command name.
+
+
+
+ databaseName
+
+ The database name.
+
+
+
+ duration
+
+
+ The duration of the command in microseconds. The duration is a
+ calculated value that includes the time to send the message and
+ receive the response from the server.
+
+
+
+
+ reply
+
+ The reply document returned by the server.
+
+
+
+ operationId
+
+
+ The operation ID. This may be used to link events together such as
+ bulk writes, which may dispatch multiple commands.
+
+
+
+
+ requestId
+
+
+ The request ID. This may be used to associate this
+ MongoDB\Driver\Monitoring\CommandSucceededEvent
+ with a corresponding
+ MongoDB\Driver\Monitoring\CommandStartedEvent.
+
+
+
+
+ serviceId
+
+
+ The service ID, or &null; if the server does not support it (i.e.
+ not using load-balanced mode).
+
+
+
+
+ serverConnectionId
+
+ The server connection ID, or &null; if not available.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties. The
+ duration property replaces the
+ getDurationMicros method.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.commandsucceededevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent.xml
index 16eda2fddce6..a867f8771e9c 100644
--- a/reference/mongodb/mongodb/driver/monitoring/serverchangedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/serverchangedevent.xml
@@ -35,7 +35,39 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ MongoDB\BSON\ObjectId
+ topologyId
+
+
+ public
+ readonly
+ MongoDB\Driver\ServerDescription
+ newDescription
+
+
+ public
+ readonly
+ MongoDB\Driver\ServerDescription
+ previousDescription
+
+
&Methods;
@@ -43,6 +75,68 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server.
+
+
+
+ port
+
+ The port of the server.
+
+
+
+ topologyId
+
+ The topology ID.
+
+
+
+ newDescription
+
+ The new server description.
+
+
+
+ previousDescription
+
+ The previous server description.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.serverchangedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverclosedevent.xml
index 36fb1d6698ee..333ce102d787 100644
--- a/reference/mongodb/mongodb/driver/monitoring/serverclosedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/serverclosedevent.xml
@@ -34,7 +34,27 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ MongoDB\BSON\ObjectId
+ topologyId
+
+
&Methods;
@@ -42,6 +62,56 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server.
+
+
+
+ port
+
+ The port of the server.
+
+
+
+ topologyId
+
+ The topology ID.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.serverclosedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent.xml
index 5bd93ea8c215..af803ce5d98c 100644
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatfailedevent.xml
@@ -1,5 +1,5 @@
-
+
@@ -36,7 +36,39 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ bool
+ awaited
+
+
+ public
+ readonly
+ int
+ duration
+
+
+ public
+ readonly
+ Exception
+ error
+
+
&Methods;
@@ -44,6 +76,78 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server.
+
+
+
+ port
+
+ The port of the server.
+
+
+
+ awaited
+
+
+ Whether the heartbeat used a streaming protocol. The extension does
+ not use the streaming protocol for monitoring, so this method will always
+ return &false;.
+
+
+
+
+ duration
+
+
+ The duration of the heartbeat in microseconds. The duration is a
+ calculated value that includes the time to send the message and
+ receive the response from the server.
+
+
+
+
+ error
+
+ The exception that was thrown when the heartbeat failed.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties. The
+ duration property replaces the
+ getDurationMicros method.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.serverheartbeatfailedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent.xml
index b9eec2c03baf..8cfd5b28694b 100644
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent.xml
@@ -1,5 +1,5 @@
-
+
@@ -36,7 +36,27 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ bool
+ awaited
+
+
&Methods;
@@ -44,6 +64,60 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server.
+
+
+
+ port
+
+ The port of the server.
+
+
+
+ awaited
+
+
+ Whether the heartbeat used a streaming protocol. The extension does
+ not use the streaming protocol for monitoring, so this method will always
+ return &false;.
+
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.serverheartbeatstartedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent.xml b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent.xml
index d9b07cc59b9b..eafa89acd16c 100644
--- a/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/serverheartbeatsucceededevent.xml
@@ -1,5 +1,5 @@
-
+
@@ -36,7 +36,39 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ bool
+ awaited
+
+
+ public
+ readonly
+ int
+ duration
+
+
+ public
+ readonly
+ object
+ reply
+
+
&Methods;
@@ -44,6 +76,78 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server.
+
+
+
+ port
+
+ The port of the server.
+
+
+
+ awaited
+
+
+ Whether the heartbeat used a streaming protocol. The extension does
+ not use the streaming protocol for monitoring, so this method will always
+ return &false;.
+
+
+
+
+ duration
+
+
+ The duration of the heartbeat in microseconds. The duration is a
+ calculated value that includes the time to send the message and
+ receive the response from the server.
+
+
+
+
+ reply
+
+ The reply document returned by the server.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties. The
+ duration property replaces the
+ getDurationMicros method.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.serverheartbeatsucceededevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent.xml b/reference/mongodb/mongodb/driver/monitoring/serveropeningevent.xml
index c334906cca38..56c0719388aa 100644
--- a/reference/mongodb/mongodb/driver/monitoring/serveropeningevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/serveropeningevent.xml
@@ -34,7 +34,27 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ host
+
+
+ public
+ readonly
+ int
+ port
+
+
+ public
+ readonly
+ MongoDB\BSON\ObjectId
+ topologyId
+
+
&Methods;
@@ -42,6 +62,56 @@
+
+
+ &reftitle.properties;
+
+
+ host
+
+ The hostname of the server.
+
+
+
+ port
+
+ The port of the server.
+
+
+
+ topologyId
+
+ The topology ID.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.serveropeningevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent.xml b/reference/mongodb/mongodb/driver/monitoring/topologychangedevent.xml
index 49c9d86c25ff..f9eb5fe7df57 100644
--- a/reference/mongodb/mongodb/driver/monitoring/topologychangedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/topologychangedevent.xml
@@ -35,7 +35,27 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ MongoDB\BSON\ObjectId
+ topologyId
+
+
+ public
+ readonly
+ MongoDB\Driver\TopologyDescription
+ newDescription
+
+
+ public
+ readonly
+ MongoDB\Driver\TopologyDescription
+ previousDescription
+
+
&Methods;
@@ -43,6 +63,56 @@
+
+
+ &reftitle.properties;
+
+
+ topologyId
+
+ The topology ID.
+
+
+
+ newDescription
+
+ The new topology description.
+
+
+
+ previousDescription
+
+ The previous topology description.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.topologychangedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent.xml b/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent.xml
index 540e9379c1e7..3779eeeb3061 100644
--- a/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/topologyclosedevent.xml
@@ -43,7 +43,15 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ MongoDB\BSON\ObjectId
+ topologyId
+
+
&Methods;
@@ -51,6 +59,44 @@
+
+
+ &reftitle.properties;
+
+
+ topologyId
+
+ The topology ID.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.topologyclosedevent;
diff --git a/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent.xml b/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent.xml
index 3a7a52d6100f..f37d97274de1 100644
--- a/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent.xml
+++ b/reference/mongodb/mongodb/driver/monitoring/topologyopeningevent.xml
@@ -42,7 +42,15 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ MongoDB\BSON\ObjectId
+ topologyId
+
+
&Methods;
@@ -50,6 +58,44 @@
+
+
+ &reftitle.properties;
+
+
+ topologyId
+
+ The topology ID.
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.monitoring.entities.topologyopeningevent;
diff --git a/reference/mongodb/mongodb/driver/readconcern.xml b/reference/mongodb/mongodb/driver/readconcern.xml
index 71e28f29a7ab..d5e3f787d919 100644
--- a/reference/mongodb/mongodb/driver/readconcern.xml
+++ b/reference/mongodb/mongodb/driver/readconcern.xml
@@ -42,6 +42,14 @@
+ &Properties;
+
+ public
+ readonly
+ stringnull
+ level
+
+
&Constants;
const
@@ -81,6 +89,22 @@
+
+
+ &reftitle.properties;
+
+
+ level
+
+
+ The read concern level. &null; if no level was specified.
+
+
+
+
+
+
+
&reftitle.constants;
@@ -237,6 +261,12 @@
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
PECL mongodb 1.11.0
diff --git a/reference/mongodb/mongodb/driver/readpreference.xml b/reference/mongodb/mongodb/driver/readpreference.xml
index f3ea3b76eff5..3dcbc19b8903 100644
--- a/reference/mongodb/mongodb/driver/readpreference.xml
+++ b/reference/mongodb/mongodb/driver/readpreference.xml
@@ -40,6 +40,32 @@
+ &Properties;
+
+ public
+ readonly
+ string
+ mode
+
+
+ public
+ readonly
+ arraynull
+ tags
+
+
+ public
+ readonly
+ int
+ maxStalenessSeconds
+
+
+ public
+ readonly
+ objectnull
+ hedge
+
+
&Constants;
const
@@ -91,6 +117,57 @@
+
+
+ &reftitle.properties;
+
+
+ mode
+
+
+ The read preference mode as a string (e.g.
+ "primary", "secondary").
+
+
+
+
+ tags
+
+
+ The tag set list used by the read preference, or &null; if no tag
+ sets were specified.
+
+
+
+
+ maxStalenessSeconds
+
+
+ The maximum staleness in seconds for reads, or
+ MongoDB\Driver\ReadPreference::NO_MAX_STALENESS
+ if no maximum staleness was specified.
+
+
+
+
+ hedge
+
+
+ A document specifying the hedge options for the read preference, or
+ &null; if no hedge options were specified.
+
+
+
+ This property is deprecated as hedged reads are deprecated in
+ MongoDB 8.0.
+
+
+
+
+
+
+
+
&reftitle.constants;
@@ -187,6 +264,12 @@
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
PECL mongodb 2.0.0
diff --git a/reference/mongodb/mongodb/driver/writeconcern.xml b/reference/mongodb/mongodb/driver/writeconcern.xml
index 8dd1e6e7699a..6a01d76a5a4e 100644
--- a/reference/mongodb/mongodb/driver/writeconcern.xml
+++ b/reference/mongodb/mongodb/driver/writeconcern.xml
@@ -52,6 +52,26 @@
"majority"
+ &Properties;
+
+ public
+ readonly
+ stringintnull
+ w
+
+
+ public
+ readonly
+ boolnull
+ j
+
+
+ public
+ readonly
+ int
+ wtimeout
+
+
&Methods;
@@ -59,6 +79,42 @@
+
+
+ &reftitle.properties;
+
+
+ w
+
+
+ The write concern value (integer number of nodes, the string
+ "majority", or a custom write concern tag name),
+ or &null; if not set.
+
+
+
+
+ j
+
+
+ Whether write operations must be committed to the journal before
+ acknowledged, or &null; if not specified.
+
+
+
+
+ wtimeout
+
+
+ The timeout in milliseconds to wait for write concern acknowledgement.
+ A value of 0 means to wait indefinitely.
+
+
+
+
+
+
+
&reftitle.constants;
@@ -91,6 +147,12 @@
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
PECL mongodb 1.7.0
diff --git a/reference/mongodb/mongodb/driver/writeconcernerror.xml b/reference/mongodb/mongodb/driver/writeconcernerror.xml
index 5ebd09f0ab37..47ee2ad734ab 100644
--- a/reference/mongodb/mongodb/driver/writeconcernerror.xml
+++ b/reference/mongodb/mongodb/driver/writeconcernerror.xml
@@ -34,7 +34,27 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ message
+
+
+ public
+ readonly
+ int
+ code
+
+
+ public
+ readonly
+ objectnull
+ info
+
+
&Methods;
@@ -42,6 +62,58 @@
+
+
+ &reftitle.properties;
+
+
+ message
+
+ The error message.
+
+
+
+ code
+
+ The error code.
+
+
+
+ info
+
+
+ Additional information for the error, or &null; if not available.
+
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.entities.writeconcernerror;
diff --git a/reference/mongodb/mongodb/driver/writeerror.xml b/reference/mongodb/mongodb/driver/writeerror.xml
index 93d60347ecc2..42c7fc85ea1d 100644
--- a/reference/mongodb/mongodb/driver/writeerror.xml
+++ b/reference/mongodb/mongodb/driver/writeerror.xml
@@ -34,7 +34,33 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ string
+ message
+
+
+ public
+ readonly
+ int
+ code
+
+
+ public
+ readonly
+ int
+ index
+
+
+ public
+ readonly
+ objectnull
+ info
+
+
&Methods;
@@ -42,6 +68,67 @@
+
+
+ &reftitle.properties;
+
+
+ message
+
+ The error message.
+
+
+
+ code
+
+ The error code.
+
+
+
+ index
+
+
+ The index of the write operation within the
+ MongoDB\Driver\BulkWrite that caused the error.
+
+
+
+
+ info
+
+
+ Additional information for the error, or &null; if not available.
+
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.entities.writeerror;
diff --git a/reference/mongodb/mongodb/driver/writeresult.xml b/reference/mongodb/mongodb/driver/writeresult.xml
index 253abd8b88e0..88b4fb528a62 100644
--- a/reference/mongodb/mongodb/driver/writeresult.xml
+++ b/reference/mongodb/mongodb/driver/writeresult.xml
@@ -36,7 +36,75 @@
-
+
+ &Properties;
+
+ public
+ readonly
+ intnull
+ insertedCount
+
+
+ public
+ readonly
+ intnull
+ matchedCount
+
+
+ public
+ readonly
+ intnull
+ modifiedCount
+
+
+ public
+ readonly
+ intnull
+ deletedCount
+
+
+ public
+ readonly
+ intnull
+ upsertedCount
+
+
+ public
+ readonly
+ MongoDB\Driver\Server
+ server
+
+
+ public
+ readonly
+ array
+ upsertedIds
+
+
+ public
+ readonly
+ array
+ writeErrors
+
+
+ public
+ readonly
+ MongoDB\Driver\WriteConcernErrornull
+ writeConcernError
+
+
+ public
+ readonly
+ MongoDB\Driver\WriteConcernnull
+ writeConcern
+
+
+ public
+ readonly
+ array
+ errorReplies
+
+
&Methods;
@@ -44,6 +112,137 @@
+
+
+ &reftitle.properties;
+
+
+ insertedCount
+
+
+ The number of documents inserted (excluding upserts), or &null; if
+ the write concern did not request acknowledgement.
+
+
+
+
+ matchedCount
+
+
+ The number of documents matched by update and replace operations, or
+ &null; if the write concern did not request acknowledgement.
+
+
+
+
+ modifiedCount
+
+
+ The number of documents modified by update and replace operations, or
+ &null; if the write concern did not request acknowledgement or if the
+ server did not report this information.
+
+
+
+
+ deletedCount
+
+
+ The number of documents deleted, or &null; if the write concern did
+ not request acknowledgement.
+
+
+
+
+ upsertedCount
+
+
+ The number of documents upserted, or &null; if the write concern did
+ not request acknowledgement.
+
+
+
+
+ server
+
+
+ The server that executed the bulk write.
+
+
+
+
+ upsertedIds
+
+
+ An array of _id values for upserted documents.
+ Array keys will correspond to the index of the write operation from
+ MongoDB\Driver\BulkWrite.
+
+
+
+
+ writeErrors
+
+
+ An array of MongoDB\Driver\WriteErrors for any
+ write errors that occurred during execution.
+
+
+
+
+ writeConcernError
+
+
+ The MongoDB\Driver\WriteConcernError that
+ occurred, or &null; if no write concern error occurred.
+
+
+
+
+ writeConcern
+
+
+ The MongoDB\Driver\WriteConcern used for the
+ bulk write, or &null; if not available.
+
+
+
+
+ errorReplies
+
+
+ An array of error reply documents from the server.
+
+
+
+
+
+
+
+
+ &reftitle.changelog;
+
+
+
+
+
+ &Version;
+ &Description;
+
+
+
+
+ PECL mongodb 2.3.0
+
+ Added public readonly properties.
+
+
+
+
+
+
+
+
&reference.mongodb.mongodb.driver.entities.writeresult;