indexeddb Questions

2

Solved

It feels like this must be a stupid question but I don't understand something fundamental about making a request in indexedDB. Why are the requests made before the event handlers are defined? For ...
Pforzheim asked 18/7, 2018 at 5:48

2

Solved

I have LevelDB (IndexedDB) file from my Google Chrome, the file is located in this folder: /home/<user>/.config/google-chrome/Default/IndexedDB/https_<site>_0.indexeddb.leveldb/ The ...
Misapprehension asked 10/12, 2018 at 11:44

3

Solved

I need to delete all my IndexedDB, currently I have: const indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; if (indexedDB.webkitGetDatabaseName...
Delfeena asked 4/9, 2017 at 15:16

5

Solved

Currently looking into various browsers indexeddb limits. Found that Chrome didn't have a hard limit but permissions needed to be given (Source), that Firefox was 50% of local storage (Source) but...
Scandent asked 18/7, 2018 at 15:20

3

Solved

Working on an app that uses the new(ish) File System Access API, and I wanted to save the fileHandles of recently loaded files, to display a "Recent Files..." menu option and let a user l...
Jennyjeno asked 27/1, 2021 at 22:54

2

Solved

I spent hours and hours searching for this one, and just by trial and error was I able to finally find the solution. Logging this in Stack Overflow for future searchers. Q: How do I create a comp...
Takeoff asked 22/11, 2015 at 7:10

4

I have this code in IndexedDB: var request = objectStore.add({ entryType: entryType, entryDate: t}); Now I want to know the key of this record that was just added in. How do I do that? I found ...
Illegitimate asked 28/12, 2012 at 10:33

4

I have a Blazor WebAssembly ASP.NET Core hosted - PWA application and want to run it offline. The database is currently built with SQLite and EF-Core. Is it possible to add offline functionality? I...

3

I am about to develop an application where employees go to service repair machines at customer premises. They need to fill up a service card using a tablet or any other mobile device. In case of no...
Sulphathiazole asked 16/8, 2013 at 13:36

3

Solved

I am using IndexedDB and I have two object stores: equip (represents different equipment, primary key tagNo) and equipParts (represents the parts of a piece of equipment and has an index which is b...
Detrain asked 4/9, 2013 at 1:24

2

In Dexie, when you need to upgrade your schemas or table architectures, you use db.version(X) method. The library will then check whether the user's browser has a previous version cached and do the...
Lycanthropy asked 19/5, 2017 at 14:11

2

Solved

My code is as follows (usually naming convention for the well-known objects): var DBOpenRequest = window.indexedDB.open("messages", 6); //... DBOpenRequest.onupgradeneeded = function(event) { co...
Forsberg asked 16/5, 2017 at 13:10

2

I'm having trouble saving blob in IndexedDB, and only with blob. If I save something else (like image as base64), everything works fine. But with blob, there is simply empty object property saved. ...
Hollishollister asked 30/5, 2015 at 14:53

7

I've been playing with IndexedDB in Firefox (Ubuntu) Is there any way to visualize IndexedDB databases contents ? Or do I have to do it programmatic-ally ?
Cysticercus asked 23/3, 2012 at 20:20

3

Solved

Overview: I am trying to avoid a race condition with accessing an IndexedDB from both a webpage and a web-worker. Setup: Webpage that is saving items to the local IndexedDB as the user works wit...
Said asked 27/1, 2012 at 18:41

3

I'm building a Chrome extension and using the db.js wrapper to utilize the indexeddb. The problem is, I've got several subdomains and I'd like to be able to share the information across them. Whe...
Kitkitchen asked 21/6, 2014 at 16:22

1

Solved

I have a function that fetch a JSON data via window.fetch and put it inside IndexedDB table via db.table.bulkPut(array_of_data). It takes more than 10 seconds to do that because of large amount of ...
Intermediary asked 26/7, 2020 at 17:31

3

Solved

I'm working on a simple web utility that makes use of IndexedDB (similar to a key-value DB) feature of HTML5. I was looking for but I was unable to know: what is the maximum size I can store in an...
Agist asked 17/4, 2011 at 9:53

2

I am building a file storage for HTML5, and I am using indexedDB as the storage, I ask the files from the server via xmlHttpRequest with the response type as arrayBuffer (for chrome) and blob (for ...
Samp asked 23/6, 2014 at 9:44

2

Can somebody suggest how to get multiple key value from IndexedDB objectstore ? I have done multiple options, but didn't work none. Created indexedDb here $provide.value('dbModel', { name: 'TestD...
Bambibambie asked 30/1, 2017 at 16:23

1

I need to keep some data in indexedDB instead on sessionStorage as amount of data is more than 5 MB. I'm confused about cleanup strategy as in case of page reload or navigation to the other page I...
Drosophila asked 15/4, 2020 at 22:14

0

I have the full code you can copy at the end so that you can check this problem. TL;DR: I'm using Safari 13.1 and after storing Blobs inside IndexedDB. If I close the browser I can only access tho...
Unwilling asked 7/4, 2020 at 22:24

2

Is it possible to use IndexedDB on a web page to store audio? Currently trying out the Cache API, but looking for something that can be a little more persistent.
Melanoid asked 30/6, 2017 at 15:58

2

Recently, I have come across the Web SQL and IndexedDB APIs that are provided by browsers. What are the use cases for Web SQL and IndexedDB and when should I use one over the other?
Jarvisjary asked 26/9, 2017 at 6:1

2

I can't understand this simply thing. I need to store data in a database so, following the ionic documentation, I did exactly what this page says: https://ionicframework.com/docs/storage/ I read ...
Qintar asked 16/4, 2018 at 17:52

© 2022 - 2024 — McMap. All rights reserved.