package js.html.idb
Available on js
IDBIndex
interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.Documentation IDBIndex by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only keyPath:Dynamic
The key path of this index. If null, this index is not auto-populated.
read only multiEntry:Bool
Affects how the index behaves when the result of evaluating the index's key path yields an array. If true
, there is one record in the index for each item in an array of keys. If false
, then there is one record for each key that is an array.
read only name:String
The name of this index.
read only objectStore:ObjectStore
The name of the object store referenced by this index.
read only unique:Bool
If true
, this index does not allow duplicate values for a key.
count (?key:Dynamic):Request
Throws:
null |
DOMError |
---|
get (key:Dynamic):Request
Throws:
null |
DOMError |
---|
getAll (?key:Dynamic, ?limit:Int):Request
Throws:
null |
DOMError |
---|
getAllKeys (?key:Dynamic, ?limit:Int):Request
Throws:
null |
DOMError |
---|
getKey (key:Dynamic):Request
Throws:
null |
DOMError |
---|
openCursor (?range:Dynamic, direction:CursorDirection = "next"):Request
Throws:
null |
DOMError |
---|
openKeyCursor (?range:Dynamic, direction:CursorDirection = "next"):Request
Throws:
null |
DOMError |
---|
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/idb/$Index.html