| OLD | NEW |
| (Empty) |
| 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 | |
| 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 String get keyPath(); | |
| 10 | |
| 11 String get name(); | |
| 12 | |
| 13 IDBTransaction get transaction(); | |
| 14 | |
| 15 IDBRequest add(String value, [IDBKey key]); | |
| 16 | |
| 17 IDBRequest clear(); | |
| 18 | |
| 19 IDBIndex createIndex(String name, String keyPath); | |
| 20 | |
| 21 IDBRequest delete(IDBKey key); | |
| 22 | |
| 23 void deleteIndex(String name); | |
| 24 | |
| 25 IDBRequest getObject(IDBKey key); | |
| 26 | |
| 27 IDBIndex index(String name); | |
| 28 | |
| 29 IDBRequest openCursor([IDBKeyRange range, int direction]); | |
| 30 | |
| 31 IDBRequest put(String value, [IDBKey key]); | |
| 32 } | |
| OLD | NEW |