Closed
Description
This issue was originally filed by @seaneagan
In IDBCursor, I think this...
static final int NEXT = 0;
static final int NEXT_NO_DUPLICATE = 1;
static final int PREV = 2;
static final int PREV_NO_DUPLICATE = 3;
final int direction;
...should be replaced by:
final bool isForward;
final bool isDuplicative;
and then in IDBIndex and IDBObjectStore:
IDBRequest openCursor([IDBKeyRange range, bool isForward = true, isDuplicative = true]);
IDBRequest openKeyCursor([IDBKeyRange range, bool isForward = true, isDuplicative = true]);