Skip to content

Matching by _id isn't workingΒ #39

@SimonVuong

Description

@SimonVuong

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions