note 124844 rejected from set.mongodb by cmb
| From: | cmb@php.net | Date: | Mon, 23 Mar 2020 17:17:26 +0000 |
| Subject: | note 124844 rejected from set.mongodb by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214365@lists.php.net to get a copy of this message | ||
Note Submitter: abduljabbar dot dumrai at gmail dot com
----
It will be really appreciating if someone could tell why the this new release of Mongo Driver has
1) Changed Legacy/Official implementation of functions like db.collections() etc?
2) Removed the functionality to perform single CRUD operations like InsertOne, Update or Delete?
Now we have to use BulkWrite for even one single write operation.
3) Because of only BulkWrite function to write something to database, we have to call the whole
function for every new Collection.
4) As there is only BulkWrite option to write to database, we have to use this in our Transactions
as well. This is a very high resource intensive task to combine BulkWrite with Transactions.