dexie Questions

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

1

If the input of a field must be equal to a global state, I usually do something like this (here in dexie.js, but I have similar issues with redux as well): export const Friend = memo(({id}) => {...
Endanger asked 3/11, 2023 at 16:29

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

2

I am using Dexie to access IndexedDB on a flash card maker project. I can manipulate the database as expected, and it stays in the database if I close and reopen the browser, but often when I open ...
Toot asked 30/10, 2020 at 22:18

2

Solved

In dexie.js, is there a way to obtain all records from a table? Currently I am using: dbTable.filter(() => true).then( ... ) It works but I am not sure, whether it's the right way.
Maggie asked 6/2, 2019 at 10:12

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

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

1

Solved

I want to do something like, myTable.update({ location: 'Paris'}, { location: '' } and have all the objects in myTable that have a location of 'Paris' get changed to have location set to empty stri...
Vigilance asked 4/2, 2020 at 22:16

1

Solved

How can I write a where condition like the following using Dexie.js? field1=0 AND field2!='test' AND field3 IN(1,2,3,4) I tried this one but I got an error.... .where('field1').equals(0).and('f...
Stronghold asked 22/9, 2019 at 15:0

1

Solved

I am working with React 16.3.2, Redux 4 and Dexie 2.0.3. when I am going to store data second time it throws this error message. Error: ConstraintError: Key already exists in the object store. ...
Macilroy asked 17/5, 2018 at 18:25

2

I'm currently using Dexie.js to store data locally. I have 3 different tables, that are joined with each other by using foreign keys. I managed to setup the schema and insert the corresponding data...
Sorrows asked 13/4, 2016 at 9:28

1

Solved

Can any one tell me what happen here when i call count() function of dexie.js: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the argumen...
Gisborne asked 3/12, 2017 at 3:59

2

i'm just starting out with Dexie, and I seem to be coming unstuck. I have a small database (less than 1000 rows), and i'm trying to delete each row one-by-one once I know that the row has been se...
Wolverhampton asked 29/9, 2017 at 21:29

2

I have an offline React web app where all data is stored locally in indexedDB. There is no server other than the file hosting for static assets. I am getting to the point where I am starting to loo...
Resistless asked 6/7, 2017 at 23:54

0

I try to update a field named "Type" in indexedDB with Dexie var db = new Dexie("Commande"); db.version(1).stores({ commande: "++id,idClient,nomClient,idInterne,statut,Type" }); db.command...
Repair asked 15/1, 2017 at 13:54

1

I´m starting with IndexedDB and to not reinvent the wheel I´m using Dexie.js https://github.com/dfahlander/Dexie.js I created the database, I added data and now I´m creating a generic function tha...
Sueannsuede asked 17/8, 2016 at 15:31

1

I'm developing Firefox add-on which has some content scripts to save data to IndexedDB. Same code works perfectly fine in Chrome extension, but not in Firefox extension. On Firefox everything works...
Acnode asked 20/2, 2016 at 14:11
1

© 2022 - 2024 — McMap. All rights reserved.