- From: Joshua Bell <notifications@github.com>
- Date: Mon, 23 Sep 2019 17:23:51 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 24 September 2019 00:24:33 UTC
inexorabletash commented on this pull request. > request.onupgradeneeded = function() { // The database did not previously exist, so create object stores and indexes. - var db = request.result; - var store = db.createObjectStore("books", {keyPath: "isbn"}); - var titleIndex = store.createIndex("by_title", "title", {unique: true}); - var authorIndex = store.createIndex("by_author", "author"); + const db = request.result; Oh, crud, that should have been in another branch. I screwed up my branch history. Let me minimize the diff. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/pull/299#discussion_r327383108
Received on Tuesday, 24 September 2019 00:24:33 UTC