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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.1.3
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: