indexeddb Questions

4

The indexedDB has a spec saying that you can access an indexed database synchronously, but it hasn't been implemented yet. I was just wondering if there is a way to make it synchronous manually, ...
Morganica asked 9/2, 2012 at 22:39

2

I have issue since Aug 2020 and i still don't know how to reproduce, I am using dfahlander/Dexie.js to use browser indexedDB. This is sample of how i am using dexie:- import db from "./db&quot...
Excerpt asked 11/2, 2021 at 13:38

4

Another problem that I am getting with Indexed DB for HTML5, using Desktop Chrome, is that I can not delete a record from an object store. The onsuccess event is triggered but the record is still t...
Nyctaginaceous asked 19/11, 2013 at 18:3

5

Solved

I want to save some ~35000 objects in my IndexedDB's objectstore. I am using below code to insert. AddListings = function (x2j_list_new, callback) { var transaction = db.transaction(["listings"]...
Intricacy asked 6/5, 2012 at 15:30

11

I'm trying to open my newly installed Postman when an error occurs which says something like this: **Could not open Postman** Error: Migration: IndexedDB schema migration failed. IndexedDb was not ...
Monolithic asked 22/5, 2020 at 14:21

3

Is it possible to store data locally in IndexedDB using Pinia ? I tried using Pinia persisted state and it stores data locally in LocalStorage as default. I just want to try if it will work with In...
Narvaez asked 12/12, 2022 at 20:55

3

Solved

Suppose I have an instance of an indexedDB object. Is there a simple way of detecting if the object is currently in the 'open' state? I've tried database.closePending and looking at other properti...
Varion asked 29/10, 2017 at 3:32

2

A chrome based APP which I am supporting gives us this error. I tried to find out more about the error but was unsuccessful. Can someone kindly explain me on what could be the cause of this. The E...
Mullock asked 14/6, 2016 at 14:33

3

Solved

I don't know if I'm right or wrong. But as I know I can't create a version change transaction manually. The only way to invoke this is by changing the version number when opening the indexed DB con...
Excide asked 20/11, 2013 at 13:46

6

Solved

This question was asked on GitHub, with the answer being "Hey, have you heard of this website Stack Overflow? You should ask the question there!". So here I am, asking a question! Does React Nat...
Adulthood asked 20/4, 2018 at 18:30

2

why do I have a error ? My code: var idb = window.indexedDB || // Use the standard DB API window.mozIndexedDB || // Or Firefox's early version of it window.webkitIndexedDB; // Or Chrome's early...
Cilurzo asked 24/6, 2014 at 8:44

2

I have an Epub annotation plugin where user can annotate the Epub, but the annotated text is stored in the browser in browser's indexeddb database, want to export those annotated text to an file an...
Endometriosis asked 22/7, 2013 at 9:14

2

Solved

I have a class where some properties shouldn't be stored to the indexedDB store. It works when I clone the object and remove the properties afterwards, however that solution I didn't like so much. ...
Cressida asked 25/1, 2021 at 12:22

4

Solved

I am using IndexedDB as local storage and it is working well. For reasons that are too detailed to get into here, I often create just a single database and consume it, but in some instances I need ...
Boot asked 31/8, 2015 at 20:45

2

I was watching this video from Steve Sanderson which demonstrates using SQLite with Blazor Web Assembly and I am contemplating using it in one of my projects. I am just trying to understand what th...
Scrubber asked 2/1, 2022 at 1:23

5

I need to build an offline HTML5 web app for a iPad/tablet device where the user can download a dataset (table of data) from the server and store it on the device. The user could then disconnect fr...
Thalia asked 2/10, 2011 at 22:50

3

I am getting this error logs in public environment, quite consistently for around 0.1% of the sessions. I am using Dexie. https://dexie.org/ class DexieDB extends Dexie { cacheData!: Table<Cach...
Strata asked 26/10, 2022 at 11:32

5

Solved

Is it possible to create an index on a Boolean type field? Lets say the schema of the records I want to store is: { id:1, name:"Kris", _dirty:true } I created normal not unique index (onupgr...
Fathead asked 2/12, 2012 at 19:28

4

I'm trying to evaluate using IndexedDB to solve the offline issue. It would be populated with data currently stored in a MongoDB database (as is). Once data is stored in IndexedDB, it may be chang...
Maryrose asked 23/8, 2012 at 8:46

3

Solved

I'm just learning about indexedDB, and this is my understanding of setting up a database. You call .open(dbName) to get a DB instance. If no database of this name exists on the user's computer (for...
Psychobiology asked 15/12, 2015 at 21:56

5

Solved

I was wondering if it is possible to perform a search on an indexeddb object store using wildcards. It would be handy to find all object with a key beginning with '555' for example
Lysander asked 20/3, 2012 at 16:47

3

Solved

IndexedDB allows you to make indexes on multiple properties. Like if you have objects like {a: 0, b: 0} you can make an index on a and b. The behavior of compound indexes is pretty weird, but appa...
Puppy asked 5/10, 2014 at 13:38

3

Solved

I want to use Google Chrome's IndexedDB to persist data on the client-side. Idea is to access the IndexedDB outside of chrome, via Node.JS, later on. The background is the idea to track usage be...
Perichondrium asked 29/1, 2016 at 0:12

3

Solved

I am fairly new to writing code, but I played around with some chrome apps which use WebSQL for DB. I decided to learn IndexedDB, but needed something more visual, to help me out. WebSQL database e...
Containerize asked 21/3, 2012 at 10:55

3

Solved

I am new at using inxededdb and am trying to get data out of a store. The store contains data, but for some reason the code stops after trying to set the var tx. If I am missing anything please let...
Subtangent asked 3/3, 2014 at 13:40

© 2022 - 2024 — McMap. All rights reserved.