Skip to content

Instantly share code, notes, and snippets.

@jryans
Created January 7, 2019 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jryans/ccd99c0f41e2b5e8f2daad5d716c9d16 to your computer and use it in GitHub Desktop.
Save jryans/ccd99c0f41e2b5e8f2daad5d716c9d16 to your computer and use it in GitHub Desktop.
var req = indexedDB.open("matrix-js-sdk:crypto", 7);
req.onerror = console.error;
req.onsuccess = e => {
const db = e.target.result;
db.transaction("inbound_group_sessions").objectStore("inbound_group_sessions")
.count().onsuccess = e => console.log(e.target.result);
db.close();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment