Hi Chandra,
Indeed it doesn't allow setting individual flags, as that would prevent the driver from implementing the same semantics in different ways, but I'm happy to add support for any flags you need via a proper API.
So you want to insert documents in bulk mode without stopping on errors, right? I'll see how to integrate that nicely in a way that fits with the new 2.6 command mechanism.
gustavo @ http://niemeyer.net
--
You received this message because you are subscribed to the Google Groups "mgo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mgo-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Okay, the new API was pushed, although it's not yet released. If you manually update your branch, you'll see a new Bulk method on Collection. This enables the functionality you want (via the Unordered method) and is also the beginnings of the 2.6+ Bulk API support.
Please let me know if you find a moment to test it. This will be in the upcoming release.
gustavo @ http://niemeyer.net