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