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

Advanced $size quering

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor - P4
    • Resolution: Done
    • None
    • 3.6.0
    • Querying
    • Query
    • 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:
              43 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: