IndexedDB.ObjectStoreIndex

Object store index.

{
  "id": "ObjectStoreIndex",
  "type": "object",
  "description": "Object store index.",
  "properties": [
    {
      "name": "name",
      "type": "string",
      "description": "Index name."
    },
    {
      "name": "keyPath",
      "$ref": "KeyPath",
      "description": "Index key path."
    },
    {
      "name": "unique",
      "type": "boolean",
      "description": "If true, index is unique."
    },
    {
      "name": "multiEntry",
      "type": "boolean",
      "description": "If true, index allows multiple entries for a key."
    }
  ]
}