OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface IDBObjectStore { | |
8 | |
9 final List<String> indexNames; | |
10 | |
11 final String keyPath; | |
12 | |
13 final String name; | |
14 | |
15 final IDBTransaction transaction; | |
16 | |
17 IDBRequest add(Dynamic value, [IDBKey key]); | |
18 | |
19 IDBRequest clear(); | |
20 | |
21 IDBRequest count([var key_OR_range]); | |
22 | |
23 IDBIndex createIndex(String name, String keyPath); | |
24 | |
25 IDBRequest delete(var key_OR_keyRange); | |
26 | |
27 void deleteIndex(String name); | |
28 | |
29 IDBRequest getObject(IDBKey key); | |
30 | |
31 IDBIndex index(String name); | |
32 | |
33 IDBRequest openCursor([IDBKeyRange range, int direction]); | |
34 | |
35 IDBRequest put(Dynamic value, [IDBKey key]); | |
36 } | |
OLD | NEW |