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

Advanced $size quering

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.6.0
    • Querying
    • Fully Compatible

    Description

      Now we can query only by "array.$size == N" : { array :

      { $size : 123 }

      }

      It can be useful to query by "array.$size > N", etc.
      Something like
      { array : { $size :

      { $gt : 123 }

      } }
      { array : { $size :

      { $in : [ 5, 6 ] }

      } }

      Attachments

        Issue Links

          Activity

            People

              Votes:
              77 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: