Commit 7dc53b8e authored by Jeremy Mikola's avatar Jeremy Mikola

Fix method refs in Upgrade article

parent faafeece
...@@ -254,12 +254,12 @@ userland. As such, it is no longer done in the new driver and library. ...@@ -254,12 +254,12 @@ userland. As such, it is no longer done in the new driver and library.
IDs of inserted documents (whether generated or not) may be accessed IDs of inserted documents (whether generated or not) may be accessed
through the result objects returned by the write methods: through the result objects returned by the write methods:
- ``MongoDB\InsertOneResult::getInsertedId()`` for - :phpmethod:`MongoDB\\InsertOneResult::getInsertedId()` for
:phpmethod:`MongoDB\\Collection::insertOne` :phpmethod:`MongoDB\\Collection::insertOne()`
- ``MongoDB\InsertManyResult::getInsertedIds()`` for - :phpmethod:`MongoDB\\InsertManyResult::getInsertedIds()` for
:phpmethod:`MongoDB\\Collection::insertMany` :phpmethod:`MongoDB\\Collection::insertMany()`
- ``MongoDB\BulkWriteResult::getInsertedIds()`` for - :phpmethod:`MongoDB\\BulkWriteResult::getInsertedIds()` for
:phpmethod:`MongoDB\\Collection::bulkWrite` :phpmethod:`MongoDB\\Collection::bulkWrite()`
``MongoWriteBatch`` ``MongoWriteBatch``
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
......
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