OLD | NEW |
1 | 1 |
2 class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" { | 2 class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" { |
3 | 3 |
4 final String keyPath; | 4 final String keyPath; |
5 | 5 |
6 final bool multiEntry; | 6 final bool multiEntry; |
7 | 7 |
8 final String name; | 8 final String name; |
9 | 9 |
10 final _IDBObjectStoreJs objectStore; | 10 final _IDBObjectStoreJs objectStore; |
11 | 11 |
12 final bool unique; | 12 final bool unique; |
13 | 13 |
14 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native; | 14 _IDBRequestJs count([_IDBKeyRangeJs range = null]) native; |
15 | 15 |
16 _IDBRequestJs getObject(_IDBKeyJs key) native; | 16 _IDBRequestJs getObject(_IDBKeyJs key) native '''return this.get(key);'''; |
17 | 17 |
18 _IDBRequestJs getKey(_IDBKeyJs key) native; | 18 _IDBRequestJs getKey(_IDBKeyJs key) native; |
19 | 19 |
20 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; | 20 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; |
21 | 21 |
22 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null
]) native; | 22 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null
]) native; |
23 } | 23 } |
OLD | NEW |