Commit 4232d894 authored by Romain Courteaud's avatar Romain Courteaud

idb: reuse prefix

parent 24d05a1d
......@@ -298,7 +298,7 @@
key = "_id";
if (options.subquery) {
query = parseStringToObject(options.subquery);
key = "doc." + query.key;
key = INDEX_PREFIX + query.key;
value = IDBKeyRange.only(query.value);
}
if (options.include_docs === true) {
......
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