Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-21

The description for $in does not mention that it can be used with arrays nor does it explain the behavior when it is

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The documentation states that "The $in operator is analogous to the SQL IN modifier, allowing you to specify an array of possible matches."

      But it appears to also work when applied to an array in the database. The documentation should define exactly what $in means when both argument and database are arrays.

      The behavior appears to be any element in the database array field is $in the query array.

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            ianmercer Ian Mercer
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 27 weeks, 4 days ago