{"action":"opened","issue":{"url":"https://api.github.com/repos/Automattic/monk/issues/124","labels_url":"https://api.github.com/repos/Automattic/monk/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/monk/issues/124/comments","events_url":"https://api.github.com/repos/Automattic/monk/issues/124/events","html_url":"https://github.com/Automattic/monk/issues/124","id":130364834,"number":124,"title":"findAndModify not working","user":{"login":"basickarl","id":10507098,"avatar_url":"https://avatars.githubusercontent.com/u/10507098?v=3","gravatar_id":"","url":"https://api.github.com/users/basickarl","html_url":"https://github.com/basickarl","followers_url":"https://api.github.com/users/basickarl/followers","following_url":"https://api.github.com/users/basickarl/following{/other_user}","gists_url":"https://api.github.com/users/basickarl/gists{/gist_id}","starred_url":"https://api.github.com/users/basickarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basickarl/subscriptions","organizations_url":"https://api.github.com/users/basickarl/orgs","repos_url":"https://api.github.com/users/basickarl/repos","events_url":"https://api.github.com/users/basickarl/events{/privacy}","received_events_url":"https://api.github.com/users/basickarl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-01T13:40:59Z","updated_at":"2016-02-01T13:40:59Z","closed_at":null,"body":"Monk lacks documentation as to implement findAndModify in the following case:\r\n```\r\n            myCollection.col.findAndModify({\r\n                query: {\r\n                    token: myVar\r\n                },\r\n                remove: true,\r\n                new: false\r\n            }, function (err, res) {\r\n                if (err)\r\n                    throw err;\r\n                console.log(JSON.stringify(res));\r\n            });\r\n```\r\nResults in: `MongoError: need remove or update`\r\n"}}