When insert a doc which the _id already exist in db, how should I know it? In the shell there is a error output said duplicate key. What about c++ driver's insert?and the insert function has thrid parameter: int flag=0. What is this used for? The api reference is very simple, I can not find any description more, sorry
--
--
You received this message because you are subscribed to the Google
Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
See also the IRC channel -- freenode.net#mongodb
---
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.
For more options, visit https://groups.google.com/groups/opt_out.