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

support {$regex:'foo', $options:'bar'} syntax in queries

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 1.1.3
    • None
    • Querying
    • None

    Description

      It is silly to compile regexen in a driver language only to deconstruct them for mongo. This also makes it easier to represent a query in pure json (useful in my app). Please make $options optional.

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: