diff --git a/reference/mongodb/bson/javascript.xml b/reference/mongodb/bson/javascript.xml index c8050eba73..1e12888bab 100644 --- a/reference/mongodb/bson/javascript.xml +++ b/reference/mongodb/bson/javascript.xml @@ -17,11 +17,11 @@ should be evaluated by the server. - + This BSON type is mainly used when executing database commands that take a Javascript function as a parameter, such as mapReduce. - + diff --git a/reference/mongodb/bson/maxkey.xml b/reference/mongodb/bson/maxkey.xml index b47d77bb35..0edc562334 100644 --- a/reference/mongodb/bson/maxkey.xml +++ b/reference/mongodb/bson/maxkey.xml @@ -16,9 +16,9 @@ values. - + This is an internal MongoDB type used for indexing and sharding. - + diff --git a/reference/mongodb/bson/minkey.xml b/reference/mongodb/bson/minkey.xml index f09a24d634..70cb2fe2e1 100644 --- a/reference/mongodb/bson/minkey.xml +++ b/reference/mongodb/bson/minkey.xml @@ -16,9 +16,9 @@ values. - + This is an internal MongoDB type used for indexing and sharding. - + diff --git a/reference/mongodb/bson/persistable.xml b/reference/mongodb/bson/persistable.xml index a170449199..dc915b1bb4 100644 --- a/reference/mongodb/bson/persistable.xml +++ b/reference/mongodb/bson/persistable.xml @@ -26,11 +26,11 @@ information. - + Even if MongoDB\BSON\Serializable::bsonSerialize would return a sequential array, injection of the __pclass property will cause the object to be serialized as a BSON document. - + diff --git a/reference/mongodb/bson/regex.xml b/reference/mongodb/bson/regex.xml index c444136f7e..2c1e76064f 100644 --- a/reference/mongodb/bson/regex.xml +++ b/reference/mongodb/bson/regex.xml @@ -16,12 +16,12 @@ flags. - + This BSON type is mainly used when querying the database. Alternatively, the $regex query operator may be used. - + diff --git a/reference/mongodb/bson/regex/construct.xml b/reference/mongodb/bson/regex/construct.xml index e647208084..7621a2c58c 100644 --- a/reference/mongodb/bson/regex/construct.xml +++ b/reference/mongodb/bson/regex/construct.xml @@ -26,7 +26,9 @@ The regular expression pattern. - The pattern should not be wrapped with delimiter characters. + + The pattern should not be wrapped with delimiter characters. + diff --git a/reference/mongodb/bson/unserializable/bsonunserialize.xml b/reference/mongodb/bson/unserializable/bsonunserialize.xml index 24895f048d..8b8f16c851 100644 --- a/reference/mongodb/bson/unserializable/bsonunserialize.xml +++ b/reference/mongodb/bson/unserializable/bsonunserialize.xml @@ -22,12 +22,12 @@ from a BSON document. - + This method acts as the constructor of the object. The __construct() method will not be called after this method. - + diff --git a/reference/mongodb/mongodb/driver/manager/executecommand.xml b/reference/mongodb/mongodb/driver/manager/executecommand.xml index 7ae5f51035..747ad66575 100644 --- a/reference/mongodb/mongodb/driver/manager/executecommand.xml +++ b/reference/mongodb/mongodb/driver/manager/executecommand.xml @@ -184,20 +184,22 @@ object(stdClass)#7 (2) { &reftitle.notes; - + This method does not take a MongoDB\Driver\WriteConcern parameter. For write commands (e.g. findAndModify in MongoDB 3.2+), the write concern should be included in the command document itself. - - + + + + If a secondary readPreference is used, it is the caller's responsibility to ensure that the command can be executed on a secondary. No validation is done by the driver. - + diff --git a/reference/mongodb/mongodb/driver/manager/getservers.xml b/reference/mongodb/mongodb/driver/manager/getservers.xml index 21e49bcfa3..b5c78285af 100644 --- a/reference/mongodb/mongodb/driver/manager/getservers.xml +++ b/reference/mongodb/mongodb/driver/manager/getservers.xml @@ -18,11 +18,11 @@ instances to which this manager is connected. - + Since the driver connects to the database lazily, this method may return an empty array if called before executing an operation on the MongoDB\Driver\Manager. - + diff --git a/reference/mongodb/mongodb/driver/manager/selectserver.xml b/reference/mongodb/mongodb/driver/manager/selectserver.xml index 75c6493031..16baccf4c2 100644 --- a/reference/mongodb/mongodb/driver/manager/selectserver.xml +++ b/reference/mongodb/mongodb/driver/manager/selectserver.xml @@ -19,13 +19,13 @@ in order to perform version checking before executing an operation. - + Unlike MongoDB\Driver\Manager::getServers, this method will initialize database connections and perform server discovery if necessary. See the Server Selection Specification for additional information. - + diff --git a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getoperationid.xml b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getoperationid.xml index 7168b6adcc..a3288152cc 100644 --- a/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getoperationid.xml +++ b/reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getoperationid.xml @@ -19,13 +19,13 @@ several commands at the protocol level. - + Since multiple commands may share the same operation ID, it is not reliable to use this value to associate event objects with each other. The request ID returned by MongoDB\Driver\Monitoring\CommandFailedEvent::getRequestId should be used instead. - + diff --git a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getoperationid.xml b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getoperationid.xml index db0b9b8293..e02e357867 100644 --- a/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getoperationid.xml +++ b/reference/mongodb/mongodb/driver/monitoring/commandstartedevent/getoperationid.xml @@ -19,13 +19,13 @@ several commands at the protocol level. - + Since multiple commands may share the same operation ID, it is not reliable to use this value to associate event objects with each other. The request ID returned by MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId should be used instead. - + diff --git a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getoperationid.xml b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getoperationid.xml index b99275dc28..359050a94f 100644 --- a/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getoperationid.xml +++ b/reference/mongodb/mongodb/driver/monitoring/commandsucceededevent/getoperationid.xml @@ -19,13 +19,13 @@ several commands at the protocol level. - + Since multiple commands may share the same operation ID, it is not reliable to use this value to associate event objects with each other. The request ID returned by MongoDB\Driver\Monitoring\CommandSucceededEvent::getRequestId should be used instead. - + diff --git a/reference/mongodb/mongodb/driver/server/executecommand.xml b/reference/mongodb/mongodb/driver/server/executecommand.xml index 5ca99ca0d5..99dbb7005e 100644 --- a/reference/mongodb/mongodb/driver/server/executecommand.xml +++ b/reference/mongodb/mongodb/driver/server/executecommand.xml @@ -103,19 +103,21 @@ &reftitle.notes; - + This method does not take a MongoDB\Driver\WriteConcern parameter. For write commands (e.g. findAndModify in MongoDB 3.2+), the write concern should be included in the command document itself. - - + + + + It is the caller's responsibility to ensure that the server is capable of executing the command. For example, executing a write operation on a secondary (excluding its "local" database) will fail. - +