You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throws Uncaught DataError: Failed to execute 'continue' on 'IDBCursor': The parameter is less than or equal to this cursor's position.
The problem since to lay in this piece of code, which seems to asume the first case scenario:
if(bounds&&options.conditions[index.keyPath]){cursor.continue(options.conditions[index.keyPath][1]+1);/* We need to 'terminate' the cursor cleany, by moving to the end */
The following seems to fix the problem:
if(bounds&&options.conditions[index.keyPath]&&_.isArray(options.conditions[index.keyPath])){cursor.continue(options.conditions[index.keyPath][1]+1);/* We need to 'terminate' the cursor cleany, by moving to the end */
Please let me know what do you think.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I found that triggering
abort
on a fetch operation with a range condition works fine:However when specifying a single value condition error is thrown upon
abort
invocation:throws
Uncaught DataError: Failed to execute 'continue' on 'IDBCursor': The parameter is less than or equal to this cursor's position.
The problem since to lay in this piece of code, which seems to asume the first case scenario:
The following seems to fix the problem:
Please let me know what do you think.
Thanks!
The text was updated successfully, but these errors were encountered: