OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 IDBIndex { | 7 interface IDBIndex { |
8 | 8 |
9 String get keyPath(); | 9 final String keyPath; |
10 | 10 |
11 bool get multiEntry(); | 11 final bool multiEntry; |
12 | 12 |
13 String get name(); | 13 final String name; |
14 | 14 |
15 IDBObjectStore get objectStore(); | 15 final IDBObjectStore objectStore; |
16 | 16 |
17 bool get unique(); | 17 final bool unique; |
18 | 18 |
19 IDBRequest count([IDBKeyRange range]); | 19 IDBRequest count([IDBKeyRange range]); |
20 | 20 |
21 IDBRequest getObject(IDBKey key); | 21 IDBRequest getObject(IDBKey key); |
22 | 22 |
23 IDBRequest getKey(IDBKey key); | 23 IDBRequest getKey(IDBKey key); |
24 | 24 |
25 IDBRequest openCursor([IDBKeyRange range, int direction]); | 25 IDBRequest openCursor([IDBKeyRange range, int direction]); |
26 | 26 |
27 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); | 27 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); |
28 } | 28 } |
OLD | NEW |