Questions tagged [dexie]
Dexie.js is a minimalistic wrapper for IndexedDB
dexie
375
questions
0
votes
0
answers
23
views
How to Re-encrypt an Existing Dexie-encrypted Database with a New Key
I am using Dexie.js with the dexie-encrypted library to encrypt my IndexedDB database in a web application. The encryption key is derived from a user token that changes every hour or so, requiring me ...
0
votes
2
answers
47
views
Indexed db, localStorage and sessionStorage data stores at which path in Tauri
I have created a Windows desktop Application using Tauri and ReactJs, I am storing user data in the DB index using Dexie, but I am unable to find the data storage location (Where these data are being ...
1
vote
0
answers
23
views
Dexie returns duplicated object after manually deleting the database and re-populate it. It only happens when you do not refresh the page
I have a feature on my website to allow users to delete Dexie database manually. I just found that after the database is deleted and gets re-populated without refreshing the page, it will return ...
1
vote
2
answers
129
views
Why does Dexie give me "The operation failed because the requested database object could not be found"?
I have the following very basic Dexie app:
$(document).ready(function(){
let demo = { ...
0
votes
0
answers
10
views
Dexie.js: observe only one field
Is there a way to observe only a single field in a Dexie.js liveQuery, so that it does not get re-rendered every time an unrelated field is modified in the same object? Ideally, I'd like to observe a ...
0
votes
0
answers
31
views
dexie cloud db entries with image blob disapear
Hy there
I have been using some db entries containing small image blobs.
It works fine with dexie js.
But with dexie cloud, these db entries that contain image blobs, disapear somehow.
Just after ...
0
votes
2
answers
38
views
Can't import typescript type?
I can't find how to import the type ExportProgress from dexie-export-import:
If I do:
import "dexie-export-import";
function progressCallback ({totalRows, completedRows, ...restProps} : ...
0
votes
0
answers
18
views
Breaking up a dexie query into individual statements
How can I build up a dexie query in individual parts, rather than all in one line?
In particular, I only want to apply .reverse() if some condition is set, and of course I need to apply that after the ...
0
votes
1
answer
57
views
Error "Version increment needed to allow dexie-cloud change tracking" with dexie-cloud add-on
I'm trying to add the dexie-cloud add-on to my local Dexie database. It works fine if there's no pre-existing dexie data in the browser. However, if I try to run the app in a browser where previous ...
0
votes
0
answers
47
views
logic for sync in Dexie JS
In the docs, we see
each user maintains a copy of the part of the database that is accessible for that user
Is it possible to create more granular logic for how the DB is synced? For example, lets ...
0
votes
1
answer
25
views
Can a record be in multiple "realms" in Dexie?
In this example, we see updating a record with a key realmId
// Move todo-list into the realm (if not already there):
db.todoLists.update(todoList.id, { realmId });
Is it possible for a record to be ...
0
votes
1
answer
63
views
How to subscribe to changes in Dexie.js + vanilla JS
This is client side code. I see there are examples for React, but I am not using React. I am using preact + @preact/signals for client side state.
What is an API for subscriptions to a query in ...
0
votes
0
answers
20
views
How to validate client side obtained token with dexie cloud from our server
After user logs in to Dexie Cloud first time, we would want to create a customer with Stripe. How can our backend validate a Dexie Cloud user token for authenticity when receiving a request to check ...
0
votes
1
answer
65
views
Dexie doesn't return Class type on query, when using mapToClass
I am experimenting with using Dexie for a project, and I am trying to use both Typescript and the .mapToClass functionality in tandem. When trying to implement the example at Dexie: Typescript, I am ...
0
votes
0
answers
61
views
How to use StorageManager in Angular with dexie to prevent accidentally deletion of indexeddb
In my Angular project I have used dexie to handle indexeddb. But somehow all data gets deleted accidentally (you can say indexeddb crash). I want to use StorageManger in Angular with dexie so that I ...