OLD | NEW |
| (Empty) |
1 | |
2 class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID
BObjectStore" { | |
3 | |
4 final List<String> indexNames; | |
5 | |
6 final String keyPath; | |
7 | |
8 final String name; | |
9 | |
10 final _IDBTransactionJs transaction; | |
11 | |
12 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native; | |
13 | |
14 _IDBRequestJs clear() native; | |
15 | |
16 _IDBRequestJs count([var key_OR_range = null]) native; | |
17 | |
18 _IDBIndexJs createIndex(String name, String keyPath) native; | |
19 | |
20 _IDBRequestJs delete(var key_OR_keyRange) native; | |
21 | |
22 void deleteIndex(String name) native; | |
23 | |
24 _IDBRequestJs getObject(_IDBKeyJs key) native '''return this.get(key);'''; | |
25 | |
26 _IDBIndexJs index(String name) native; | |
27 | |
28 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; | |
29 | |
30 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native; | |
31 } | |
OLD | NEW |