Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching by _id isn't working #39

Open
SimonVuong opened this issue Dec 13, 2016 · 1 comment
Open

Matching by _id isn't working #39

SimonVuong opened this issue Dec 13, 2016 · 1 comment

Comments

@SimonVuong
Copy link

I'm not sure if this is me but for some reason aggregate matching by _id isn't working.

I saw this issue:

#6

and am using the following code but it isn't working? Thoughts?

      let res = collection.aggregate([
        {$match: {'_id': new Mongo.ObjectID('bea1bce7e3276818dd06a34f')}}
      ]);
      console.log(res);
@MohammedEssehemy
Copy link

you might check this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants