{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/4142","labels_url":"https://api.github.com/repos/meteor/meteor/issues/4142/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/4142/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/4142/events","html_url":"https://github.com/meteor/meteor/issues/4142","id":66726159,"number":4142,"title":"Minimongo: $eq not recognized? (Mongo 3.0 feature with Meteor 1.1.0.2)","user":{"login":"iboxgithub","id":5391993,"avatar_url":"https://avatars.githubusercontent.com/u/5391993?v=3","gravatar_id":"","url":"https://api.github.com/users/iboxgithub","html_url":"https://github.com/iboxgithub","followers_url":"https://api.github.com/users/iboxgithub/followers","following_url":"https://api.github.com/users/iboxgithub/following{/other_user}","gists_url":"https://api.github.com/users/iboxgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/iboxgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iboxgithub/subscriptions","organizations_url":"https://api.github.com/users/iboxgithub/orgs","repos_url":"https://api.github.com/users/iboxgithub/repos","events_url":"https://api.github.com/users/iboxgithub/events{/privacy}","received_events_url":"https://api.github.com/users/iboxgithub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Minimongo","name":"Project:Minimongo","color":"006b75"},{"url":"https://api.github.com/repos/meteor/meteor/labels/pull-requests-encouraged","name":"pull-requests-encouraged","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-06T23:02:58Z","updated_at":"2015-06-16T15:37:33Z","closed_at":null,"body":"Hi, \r\n\r\nI get this message\r\nError: Unrecognized operator: $eq\r\nwhen trying to make the following request on minimongo\r\nvar transactions = Transactions.find({status:{$eq:'done'}});\r\n\r\nWhereas this one works\r\nvar transactions = Transactions.find({status:{$ne:'done'}});\r\n\r\nIt is from 3.0 Mongo version and I have Meteor 1.1.0.2\r\nhttp://docs.mongodb.org/manual/reference/operator/query/eq/\r\n\r\nSo am I missing something or is it normal?\r\n\r\nThanks for your help!"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/112473896","html_url":"https://github.com/meteor/meteor/issues/4142#issuecomment-112473896","issue_url":"https://api.github.com/repos/meteor/meteor/issues/4142","id":112473896,"user":{"login":"udiedrichsen","id":4386398,"avatar_url":"https://avatars.githubusercontent.com/u/4386398?v=3","gravatar_id":"","url":"https://api.github.com/users/udiedrichsen","html_url":"https://github.com/udiedrichsen","followers_url":"https://api.github.com/users/udiedrichsen/followers","following_url":"https://api.github.com/users/udiedrichsen/following{/other_user}","gists_url":"https://api.github.com/users/udiedrichsen/gists{/gist_id}","starred_url":"https://api.github.com/users/udiedrichsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udiedrichsen/subscriptions","organizations_url":"https://api.github.com/users/udiedrichsen/orgs","repos_url":"https://api.github.com/users/udiedrichsen/repos","events_url":"https://api.github.com/users/udiedrichsen/events{/privacy}","received_events_url":"https://api.github.com/users/udiedrichsen/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T15:37:33Z","updated_at":"2015-06-16T15:37:33Z","body":"I use as a workaround for this missing feature $not -> $ne\r\n\r\nThis one here don't work:\r\n    {\r\n      username: {\r\n        $eq: Meteor.user().username\r\n      }\r\n    }\r\n\r\nThis one here works:\r\n    {\r\n      username: {\r\n        $not: {$ne: Meteor.user().username}\r\n      }\r\n    }\r\n\r\nWould be great to have $eq :+1: "}}