Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2165

$in and $all don't work together

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.1
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • ALL

      db.tags_test.insert(

      { tags: [1, 2, 3, 4] }

      );
      db.tags_test.find({ tags:

      { $all:[1], $in:[2] }

      });

            Assignee:
            aaron Aaron Staple
            Reporter:
            eliot Eliot Horowitz (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: