Open sirian opened 9 years ago
@sirian: I have certainly thought about this. At this point, it may make more sense to just wait until we can port ODM over to the next-gen driver/extension, which also has a BulkWrite API.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
@malarzm: While 2.0 is using ext-mongodb
, I don't think it's taking advantage of bulk writes for flush operations. Are you aware of any ticket for that? If not, perhaps we can repurpose this.
@jmikola repurposing this ticket is a good idea 👍
Is there any plans to use MongoWriteBatch classes for updates/inserts? http://php.net/manual/ru/mongo.batch.php
It would be awesome
Edit from @jmikola: This issue was originally opened when ODM was using the legacy driver. The equivalent request for ODM 2.x will be to use
MongoDB\Driver\BulkWrite
.