OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface IDBObjectStore { | 7 interface IDBObjectStore { |
8 | 8 |
9 final List<String> indexNames; | 9 final List<String> indexNames; |
10 | 10 |
11 final String keyPath; | 11 final String keyPath; |
12 | 12 |
13 final String name; | 13 final String name; |
14 | 14 |
15 final IDBTransaction transaction; | 15 final IDBTransaction transaction; |
16 | 16 |
17 IDBRequest add(Dynamic value, [IDBKey key]); | 17 IDBRequest add(Dynamic value, [IDBKey key]); |
18 | 18 |
19 IDBRequest clear(); | 19 IDBRequest clear(); |
20 | 20 |
21 IDBRequest count([IDBKeyRange range]); | 21 IDBRequest count([var key_OR_range]); |
22 | 22 |
23 IDBIndex createIndex(String name, String keyPath); | 23 IDBIndex createIndex(String name, String keyPath); |
24 | 24 |
25 IDBRequest delete(var key_OR_keyRange); | 25 IDBRequest delete(var key_OR_keyRange); |
26 | 26 |
27 void deleteIndex(String name); | 27 void deleteIndex(String name); |
28 | 28 |
29 IDBRequest getObject(IDBKey key); | 29 IDBRequest getObject(IDBKey key); |
30 | 30 |
31 IDBIndex index(String name); | 31 IDBIndex index(String name); |
32 | 32 |
33 IDBRequest openCursor([IDBKeyRange range, int direction]); | 33 IDBRequest openCursor([IDBKeyRange range, int direction]); |
34 | 34 |
35 IDBRequest put(Dynamic value, [IDBKey key]); | 35 IDBRequest put(Dynamic value, [IDBKey key]); |
36 } | 36 } |
OLD | NEW |