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

Validate index option values

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Validate that index option values are valid (e.g. true, false, 1, 0)...

      db.indextest.createIndex(

      {c:1}

      ,

      {sparse : "abc"}

      )
      should produce an error.

      Related to/dupe of SERVER-769...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              steve.briskin Steve Briskin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: