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

$in and $all don't work together

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.9.1
    • None
    • Querying
    • None
    • ALL

    Description

      db.tags_test.insert(

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

      );
      db.tags_test.find({ tags:

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

      });

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: