I'm trying to use a compound index of 3 attributes to filter out a range of entries using the between() function.
For example:
db.version(1).stores ({
apps: "id,age,shoeSize,height,[age+shoeSize+height]"
});
db.table
…
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 string.
location is not a primary key, so there may be…
Im using DexieJS for using IndexedDB - However, on IOS Safari, im sometimes getting the error: Error: indexedDB, error preparing Blob/File to be stored in object store
It's not consistently, which is pretty weird... Im trying to store "File Objects"…
I am using an dexie.js to interact with an IndexedDB table on a users local system when offline. This table will sync back to the server MariaDB table when the user is online. I am having an issue after the data has been pushed to the server, there…
I am working on a web application (vue built with webpack) in which two different web workers are running. One is handling incoming data the other one is handling outgoing data.
In both workers reading and writing operations need to get…
is it possible to import Dexie in service worker?
importScripts("https://unpkg.com/dexie@latest/dist/dexie.js");
resulted in :
The script resource is behind a redirect, which is disallowed.
I've to import it locally to the worker by saving the code…
Scenario:
User opens a Dexie webapp in Firefox.
User writes some Dexie data and closes Firefox.
User opens same webapp in Chrome.
User is able to see the Dexie data that had been added previously in Firefox.
Can Dexie do this?
If Dexie always…
I have the following table schema:
db.version(1).stores({
sales: "[item_id+date],sales"
});
Where the combination of date and item_id must be unique. How can I get all the records for a given item_id using the where clause (disregarding the…
I want to search some data stored in IndexedDb using dexie. I looked the doc. for anything like LIKE in sql for dexie. is there any function for this purpose ?
I have a parent-child relationship table in my database (tree system), and each child has a parent and each parent has some children.
My back-end is PHP and my database is MySql, I get all rows of my table (categories) then insert all of them in…
I'm working with indexedDB for local data storage, with Dexie.js which is pretty nice as a wrapper, especially because of the advanced queries.
Actually, I would like to create to create several datastore by script, which seem complicated.
To create…
I have an application that uses vanilla javascript to show an openlayers map, people tap on a location and can add pictures. I'm using Dexie JS to store the data between pages until the user is ready to send everything. After everyting is uploaded,…
I want to display a loader while a UseLiveQuery is not finished and display a "not found component" if the UseLiveQuery has returned an empty array.
Is there a simple way to do that?
Thank you very much.
I have an application where I try to save a user's favorites in the indexedDB through the use of the dexie.js wrapper. I have little experience with the indexedDB, but the performance I'm seeing seems to be... not very good.
My table…
I am saving a value to my Dexie (IndexedDB) database, using put(), and I immediately need to know what the key of that new entry is. How do I go about doing that?
The below is my code. I wasn't able to find a solution searching with Google. …