Search completed in 1.16 seconds.
IDBObjectStore.createIndex() - Web APIs
r myIDBIndex = objectStore.createIndex(indexName, keyPath, objectParameters); Parameters indexName The name of the index to create. Note that it is possible to create an index with an empty name. keyPath The key path for the index to use. Note that it is possible to create an index with an empty keyPath, and also to pass in a sequence (array) as a keyPath. objectParameters Optional An
IDBIndexParameters object, which can include the following properties: Attribute Description unique If true, the index will not allow duplicate values for a single key. multiEntry If true, the index will add an entry in the index for each array element when the keyPath resolves to an Array. If false, it will add one single entry containing the Array. ...