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

Comment on: "manual/reference/operator/query/in.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual, Server

    Description

      Hello,
      In the example:

      { field:

      { $in: [<value1>, <value2>, ... <valueN> ] }

      }

      Does the $in operator always start comparing the array values starting from the first element (index 0, i.e. value1 above) and stops as soon as the first match is found?
      That is an important assumption to make: could you please add a note to clarify that?
      Thank you in advance. Regards

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 14 weeks, 1 day ago