| 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 /// @domName IDBObjectStore |
| 8 interface IDBObjectStore { |
| 9 |
| 10 /** @domName IDBObjectStore.autoIncrement */ |
| 11 final bool autoIncrement; |
| 12 |
| 13 /** @domName IDBObjectStore.indexNames */ |
| 14 final List<String> indexNames; |
| 15 |
| 16 /** @domName IDBObjectStore.keyPath */ |
| 17 final Dynamic keyPath; |
| 18 |
| 19 /** @domName IDBObjectStore.name */ |
| 20 final String name; |
| 21 |
| 22 /** @domName IDBObjectStore.transaction */ |
| 23 final IDBTransaction transaction; |
| 24 |
| 25 /** @domName IDBObjectStore.add */ |
| 26 IDBRequest add(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); |
| 27 |
| 28 /** @domName IDBObjectStore.clear */ |
| 29 IDBRequest clear(); |
| 30 |
| 31 /** @domName IDBObjectStore.count */ |
| 32 IDBRequest count([key_OR_range]); |
| 33 |
| 34 /** @domName IDBObjectStore.createIndex */ |
| 35 IDBIndex createIndex(String name, String keyPath, [Map options]); |
| 36 |
| 37 /** @domName IDBObjectStore.delete */ |
| 38 IDBRequest delete(key_OR_keyRange); |
| 39 |
| 40 /** @domName IDBObjectStore.deleteIndex */ |
| 41 void deleteIndex(String name); |
| 42 |
| 43 /** @domName IDBObjectStore.getObject */ |
| 44 IDBRequest getObject(key); |
| 45 |
| 46 /** @domName IDBObjectStore.index */ |
| 47 IDBIndex index(String name); |
| 48 |
| 49 /** @domName IDBObjectStore.openCursor */ |
| 50 IDBRequest openCursor([key_OR_range, direction]); |
| 51 |
| 52 /** @domName IDBObjectStore.put */ |
| 53 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); |
| 54 } |
| OLD | NEW |