I have a database inside indexedDB filled using an Emberjs adapter. I have set the keypath like this:
this.addModel(App.Device, { keyPath: \'key\' });
Here's an IDB pattern for the last entry:
"0"
should do it since keys are lexicographically ordered.) (Original answer linked to question https://stackoverflow.com/a/22812410/317937 which has now been removed)prev
" or "prevunique
" direction depending on your needs)skip()
or continue()
either should work)