Skip to content Skip to sidebar Skip to footer
Showing posts with the label Indexeddb

Why Is My Onupgradeneeded Callback Never Called When Connecting To Indexeddb?

I'm trying to get some data stored locally using IndexedDB. Below I'm I have a simple examp… Read more Why Is My Onupgradeneeded Callback Never Called When Connecting To Indexeddb?

When Can I Tell That I Have Opened A Connection In Indexeddb?

In the getCursor_ function below, please explain how I could determine if IndexedDb has opened and … Read more When Can I Tell That I Have Opened A Connection In Indexeddb?

Async Operations Inside Indexeddb Cursor

I'm using indexedDB Promised library to convert the indexedDB API to promises. Looks like by t… Read more Async Operations Inside Indexeddb Cursor

How Do I Make The Data Of A Web App "persistent" As Opposed To "best-effort"? I Want To Avoid The Data Being Cleared When There Is Not Enough Space

According to https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist you can mark a… Read more How Do I Make The Data Of A Web App "persistent" As Opposed To "best-effort"? I Want To Avoid The Data Being Cleared When There Is Not Enough Space

Optimized Bulk (chunk) Upload Of Objects Into Indexeddb

I want to add objects into some table in IndexedDB in one transaction: _that.bulkSet = function(dat… Read more Optimized Bulk (chunk) Upload Of Objects Into Indexeddb

Html5 How To Tell When Indexeddb Cursor Is At End

I am iterating thru an indexedDB data store, adding data to a JavaScript array. How can I tell whe… Read more Html5 How To Tell When Indexeddb Cursor Is At End

Indexeddb And Many-to-many Relationships

How are you all handling many-to-many relationships in IndexedDB? For example, say I have a Blog ob… Read more Indexeddb And Many-to-many Relationships

Most Efficient Way To Populate/distribute Indexeddb [datastore] With 350000 Records

So, I have a main indexedDB objectstore with around 30.000 records on which I have to run full text… Read more Most Efficient Way To Populate/distribute Indexeddb [datastore] With 350000 Records