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