Commit 7fc11646 authored by Derick Rethans's avatar Derick Rethans Committed by Jeremy Mikola

Fixed documentation to point to the right BSON namespace for ObjectID

parent d9aee1d9
...@@ -69,8 +69,7 @@ class BulkWriteResult ...@@ -69,8 +69,7 @@ class BulkWriteResult
* The index of each ID in the map corresponds to the document's position in * The index of each ID in the map corresponds to the document's position in
* the bulk operation. If the document had an ID prior to insertion (i.e. * the bulk operation. If the document had an ID prior to insertion (i.e.
* the driver did not generate an ID), this will contain its "_id" field * the driver did not generate an ID), this will contain its "_id" field
* value. Any driver-generated ID will be an MongoDB\Driver\ObjectID * value. Any driver-generated ID will be an MongoDB\BSON\ObjectID instance.
* instance.
* *
* @return mixed[] * @return mixed[]
*/ */
...@@ -142,7 +141,7 @@ class BulkWriteResult ...@@ -142,7 +141,7 @@ class BulkWriteResult
* The index of each ID in the map corresponds to the document's position * The index of each ID in the map corresponds to the document's position
* in bulk operation. If the document had an ID prior to upserting (i.e. the * in bulk operation. If the document had an ID prior to upserting (i.e. the
* server did not need to generate an ID), this will contain its "_id". Any * server did not need to generate an ID), this will contain its "_id". Any
* server-generated ID will be an MongoDB\Driver\ObjectID instance. * server-generated ID will be an MongoDB\BSON\ObjectID instance.
* *
* This method should only be called if the write was acknowledged. * This method should only be called if the write was acknowledged.
* *
......
...@@ -51,8 +51,7 @@ class InsertManyResult ...@@ -51,8 +51,7 @@ class InsertManyResult
* The index of each ID in the map corresponds to the document's position in * The index of each ID in the map corresponds to the document's position in
* the bulk operation. If the document had an ID prior to insertion (i.e. * the bulk operation. If the document had an ID prior to insertion (i.e.
* the driver did not generate an ID), this will contain its "_id" field * the driver did not generate an ID), this will contain its "_id" field
* value. Any driver-generated ID will be an MongoDB\Driver\ObjectID * value. Any driver-generated ID will be an MongoDB\BSON\ObjectID instance.
* instance.
* *
* @return mixed[] * @return mixed[]
*/ */
......
...@@ -50,7 +50,7 @@ class InsertOneResult ...@@ -50,7 +50,7 @@ class InsertOneResult
* *
* If the document already an ID prior to insertion (i.e. the driver did not * If the document already an ID prior to insertion (i.e. the driver did not
* need to generate an ID), this will contain its "_id". Any * need to generate an ID), this will contain its "_id". Any
* driver-generated ID will be an MongoDB\Driver\ObjectID instance. * driver-generated ID will be an MongoDB\BSON\ObjectID instance.
* *
* @return mixed * @return mixed
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment