.Net 2.0 driver: InsertManyAsync and InsertManyOptions

171 views
Skip to first unread message

Henk

unread,
Apr 25, 2015, 1:58:11 AM4/25/15
to mongod...@googlegroups.com
Can somebody please point me to documentation of InsertManyAsync and InsertManyOptions or otherwise provide examples?

Just passing an IEnumerable to InsertManyAsync works fine but I am wondering about the possibilities InsertManyOptions offer.


Robert Stam

unread,
May 26, 2015, 6:06:43 PM5/26/15
to mongod...@googlegroups.com
The documentation for InsertManyAsync is here:

http://mongodb.github.io/mongo-csharp-driver/2.0/reference/driver/crud/writing/#insert

Detailed API documentation (including documentation for InsertManyOptions) is here:


Currently the only option configurable in InsertManyOptions is the IsOrdered property. When IsOrdered is true the server will execute the inserts in order and stop at the first error. When IsOrdered is false the server is allowed to execute the inserts out of order and does not stop at errors (but it will report the errors).

On Sat, Apr 25, 2015 at 1:58 AM, Henk <xy5...@gmail.com> wrote:
Can somebody please point me to documentation of InsertManyAsync and InsertManyOptions or otherwise provide examples?

Just passing an IEnumerable to InsertManyAsync works fine but I am wondering about the possibilities InsertManyOptions offer.


--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/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...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/3ae2fe0f-c732-4c68-b215-16aa9b17fd9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages