Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IDBObjectStore

Index

Methods

Methods

createIndex

  • Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.

    Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.

    Parameters

    Returns IDBIndex

Generated using TypeDoc