$in and $all don't work together

XMLWordPrintableJSON

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

      db.tags_test.insert(

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

      );
      db.tags_test.find({ tags:

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

      });

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

                Created:
                Updated:
                Resolved: