Index: client/dom/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart |
diff --git a/client/dom/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart b/client/dom/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart |
index c802fafb2ba3be5dfe5a5922e01e363039cf924e..bc73ddab55eb690cf8541255253dfb7a02e9ec8d 100644 |
--- a/client/dom/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart |
+++ b/client/dom/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart |
@@ -50,10 +50,18 @@ class _IDBObjectStoreWrappingImplementation extends DOMWrapperBase implements ID |
} |
static IDBIndex _createIndex(receiver, name, keyPath) native; |
- IDBRequest delete(IDBKey key) { |
- return _delete(this, key); |
+ IDBRequest delete(var key_OR_keyRange) { |
+ if (key_OR_keyRange is IDBKeyRange) { |
+ return _delete(this, key_OR_keyRange); |
+ } else { |
+ if (key_OR_keyRange is IDBKey) { |
+ return _delete_2(this, key_OR_keyRange); |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
} |
- static IDBRequest _delete(receiver, key) native; |
+ static IDBRequest _delete(receiver, key_OR_keyRange) native; |
+ static IDBRequest _delete_2(receiver, key_OR_keyRange) native; |
void deleteIndex(String name) { |
_deleteIndex(this, name); |