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

$in and $all don't work together

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.1
    • Component/s: Querying
    • Labels:
      None
    • Operating System:
      ALL

      Description

      db.tags_test.insert(

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

      );
      db.tags_test.find({ tags:

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

      });

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: