Runs handler as a request's success handler: an exception out of it would abort the transaction too.
handler
The migration step, as the log names it.
The success handler to run.
The handler to assign to onsuccess — it never throws.
onsuccess
request.onsuccess = guarded("v7 repair", () => { store.put(request.result);}); Copy
request.onsuccess = guarded("v7 repair", () => { store.put(request.result);});
Runs
handleras a request's success handler: an exception out of it would abort the transaction too.