How does Absurd-SQL.js access data from the browser IndexedDB?

I am trying to familiarize myself with a new-to-me library called Absurd-SQL.js.

https://www.npmjs.com/package/absurd-sql

The point of this library is to create an in memory sqlite db using webassembly, use it for queries, but also store its data in the browser IndexedDB for persistent storage.

I am able to create an in-memory SQLite database, and execute queries on it. I can see that it stores persistent data in the browser IndexedDB as an array buffer.

When the page is refreshed, the in-memory sqlite db is gone, as expected, and needs to be recreated.

The problem I’m having is that I don’t know how to get the data from the IndexedDB… is there a function call to do this from the Absurd-SQL library? I could not find anything in the documentation or examples unless I’ve missed something.

I want the in-memory sqlite db to be recreated from the data stored in the IndexedDB on page reload, but there does not seem to be any way to retrieve the data from the IDB using Absurd-SQL. It may be something simple I’ve just missed, would appreciate any feedback on this.