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

Validate index option values

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                steve.briskin Steve Briskin
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: