Yashashree Jadhav
2018-07-24 10:15:47 UTC
Hello,
I want to parse data from ncursor. Is any one have experience with this.
mongocxx::cursor ncursor = collectionpddl.find({});
for(auto doc : ncursor)
{
if( bsoncxx::to_json(doc) == "_id")
{
std::cout << "parse" << "\n";
}
}
Kindly help me out.
Thank you and Regards.
I want to parse data from ncursor. Is any one have experience with this.
mongocxx::cursor ncursor = collectionpddl.find({});
for(auto doc : ncursor)
{
if( bsoncxx::to_json(doc) == "_id")
{
std::cout << "parse" << "\n";
}
}
Kindly help me out.
Thank you and Regards.
--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/992d1bdf-bbee-4abc-83ec-beb564f8b014%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-dev+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-dev/992d1bdf-bbee-4abc-83ec-beb564f8b014%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.