createIndex
fun createIndex(name: String, keyPath: String, options: IDBIndexParameters = definedExternally): IDBIndex(source)
The createIndex()
method of the field/column defining a new data point for each database record to contain.
fun createIndex(name: String, keyPath: ReadonlyArray<JsString>, options: IDBIndexParameters = definedExternally): IDBIndex(source)