Commit fab180d6 authored by Romain Courteaud's avatar Romain Courteaud

IndexedDB: use KeyRange

parent d8228f3f
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
if (options.subquery) { if (options.subquery) {
query = parseStringToObject(options.subquery); query = parseStringToObject(options.subquery);
key = query.key; key = query.key;
value = query.value; value = IDBKeyRange.only(query.value);
} }
if (options.include_docs === true) { if (options.include_docs === true) {
return waitForAllSynchronousCursor( return waitForAllSynchronousCursor(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment