indexeddb Questions

3

I have a working sample with IndexedDB that works perfect for my Desktop Chrome. Nevertheless, my main aim is to develop for iOS devices (Chrome-Safari) and this API isn't available there yet. What...
Irfan asked 20/11, 2013 at 18:22

2

Solved

I am working on a website that will take user data from the form and show it in the table below. I am using indexedDB and everything works locally on my laptop, but when I deploy it to GitHub pages...
Ferland asked 20/11, 2022 at 11:26

10

Solved

ERROR MESSAGE IN QUESTION: While trying to resolve module idb from file C:\Users\OG\Desktop\programming\react_native\mealstogo\MealsToGo2\node_modules\@firebase\app\dist\esm\index.esm2017.js, the p...
Mandiemandingo asked 9/5, 2022 at 23:7

2

As you know, IndexedDB and Cookie are both used for persistent storage on web browser. Cookie-related security task has some aspects, which are Session Fixation or Session Hijacking. Attackers oft...
Embraceor asked 15/2, 2015 at 8:24

20

Solved

I'm working in a project which involves using IndexedDB. As I'm begining to know this technology, I need to be able to delete an indexedDB by hand so I can start over. I found the way to do it in...
Cissoid asked 21/2, 2012 at 19:48

4

Solved

I read few articles about IndexdDB, but couldn't find details about the lifetime of persisted data. I plan to use it for a session of data manipulation and upload once the user finishes. But what w...
Oyster asked 4/4, 2013 at 16:33

3

Solved

Simple question, but I haven't been able to find an answer. How can I reset an object store in IndexedDB so the auto-increment key starts at 0 (or 1) again? I am using IDBWrapper currently, but c...
Glooming asked 6/9, 2013 at 8:15

3

I have indexedDb on my app for web storage. I would like to get the store form the below code. var store = myapp.indexedDB.db.transaction(['tree_nodes'],'readwrite').objectStore('tree_nodes'); ...
Limburg asked 10/8, 2012 at 8:56

4

Solved

Using IndexedDB when my app first runs I populate it with some data, I want to ensure that when the database and tables are created that they do not already exists. Can I query the length of a tab...
Costate asked 21/5, 2012 at 14:35

0

I have an expo app and tried to add Firebase support to use their remote-config service. I am testing it in this code // Import the functions you need from the SDKs you need import { initializeApp ...

2

Solved

I've been reworking an older project and making some improvements and I can no longer seem to figure out how to load a single entry from the indexedDB. I have cleared the DB and done a fresh import...
Mitchmitchael asked 5/1, 2015 at 3:15

4

I would like to know what the correct place to close a connection to the database is. Let's say that I have the following piece of code: function addItem(dbName, versionNumber, storeName, element...
Allgood asked 21/1, 2016 at 4:46

2

Solved

I am trying to make my web application work on offline mode by using pouchDB. but the backend database server i used is PostgreSQL (NoSQL). I couldn't find a way to Sync my PouchDB data to postgreS...
Prose asked 14/7, 2016 at 10:18

4

i must admit that i am very new to indexedDB I wrote a simple code of indexedDB and it is as followed: function go() { var req = window.indexedDB.open("Uploader", 1), db; req.onerror =...
Uniformed asked 14/11, 2015 at 15:27

5

Solved

I'm looking for help with unit tests for my app, where I'm using indexedDB. Before I implemented indexedDB functionality, tests were correct. But now, for all of them I see one error: ReferenceErro...
Andromeda asked 22/12, 2017 at 0:12

10

Solved

Is there a way to check if an IndexedDB database already exists? When a program tries to open a database that does not exists the database is created. The only way that I can think of is something ...
Sacramentarian asked 4/7, 2013 at 11:19

1

I'm "happily" rebuilding some of my Chrome Extensions to MV3. But I'm stuck because I can't understand how to use IndexedDB from service workers. To be more specific, I haven't found any ...

0

Every day my iOS users get this error in Safari (IOS 15.2.1). It's a standalone PWA builded with Angular 13, using localForage for writing to Safari IndexedDB Uncaught (in promise): UnknownError: A...
Symphonist asked 25/1, 2022 at 13:1

5

I am coming from MySQL and I am used to the conventional database table scheme. I am having trouble understanding IndexedDB and some of its terminology. I looked up these definitions in the documen...
Yi asked 25/8, 2015 at 22:0

3

Solved

If a user opens multiple instances of a web app in multiple tabs, any instance can be notified of changes to localStorage that any other instance makes by registering a storage event listener. A ta...
Lillalillard asked 20/10, 2015 at 13:23

5

I want to make sure my code handles the QuotaExceededError with IndexedDB properly, I'd prefer not torturing my SSD to do so. Is there any way to set a storage limit (like to say 5 MB) in the dev...
Behnken asked 28/10, 2018 at 1:42

3

Similar to this question, is IndexedDB guaranteed to be persistent ? ie. Safari will not reclaim disk space if the device is low on memory.
Corabelle asked 11/6, 2018 at 10:16

0

I'm using the excellent https://www.npmjs.com/package/idb package to manage a simple indexedDB implementation on a web app. I'm having this error "UnknownError: Database deleted by request of ...
Allodium asked 2/10, 2021 at 14:26

2

Solved

Using the IndexedDB API we have these 2 methods: getAll() and getAllKeys() with an usage example below: let transaction = this.db.transaction(["table"]); let object_store = transaction.objectStore...
Sopping asked 21/12, 2017 at 19:29

3

Solved

I am working on making a To-Do list as a Chrome new tab extension. My html file: <head> </head> <body> <h2 id="toc-final">To Do List</h2> <ul id="todoItems...
Niemann asked 24/11, 2015 at 23:44

© 2022 - 2024 — McMap. All rights reserved.