How do I execute bulk operations with the new Mongocxx driver? The
driver manual is horrible. And there are no examples anywhere!!!
Relevant class: http://mongodb.github.io/mongo-cxx-driver/api/mongocxx-3.1.1/classmongocxx_1_1bulk__write.html
I can create an operation using bulk_write::bulk_write() and add queries using bulk_write::append(). But I am confused as to how to execute it.
It's terrible that they don't provide similar functions like the mongo shell. Ex: https://docs.mongodb.com/manual/reference/method/Bulk/
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c1517753-67f0-48d8-bfa1-a96f61314156%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.