Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4201

Support partial index specification

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2
    • Component/s: None
    • Labels:
      None

      Description

      MongoDB 3.2 and ruby mongo driver 2.2 (#RUBY-1034) have added support for partial indexes. Mongoid is lagging behind and currently throws validation error when defining partial index on a model.

      https://github.com/mongodb/mongoid/pull/4203

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: