Re: [go-nuts] Mongo Query from GO

2016-11-07 Thread Shawn Milochik
I don't think that's a Go question. Check the Mongo command docs: https://docs.mongodb.com/v3.2/reference/command/nav-crud/ Search for "Query and Write Operation Commands" on the page. I think you're using "set" instead of "uddate." -- You received this message because you are subscribed to th

[go-nuts] Mongo Query from GO

2016-11-07 Thread Syed Qasim Rizvi
Hi All, I am having problem while updating MongoDB using GO. I used the below format for the query :- update := bson.M{ "$set": bson.M{ "reputation": newRepOld, "smtp_send_limit": quota, "last_cron_time": currentCronTime, "plain_text": 0, "smtp_count": bson.M{ "domain_stats": domainSt