In Dexie.js you can create a store with an auto-incrementing key      let db = new Dexie("nav_api");     db.version(1).stores({         jobs: '++id, json'     });   So to test, I created 14 objects in the db via db.jobs.put({json: ...
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. However, when I want to retrieve the data, I fa...
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 that get a CSV and populate the database in anothers...
I'm using DexieJS to fetch data from an IndexedDB. I've done the following tests both with v. 1.1.0 and 1.2.0.  It is working great for simple queries, but unfortunately I am unable to chain multiple where clauses.  First, I've tried this...
I am trying to automate running some queries with dexiejs but i can get them to work when i create a JavaScript function.  The queries simply don't run...  if i want to update i get:     Promise.js:840 Unhandled rejection: TypeError: Cannot read...
I have web application which uses Dexie wrapper for indexedDB, for some reason i need to rename existing Database with no glitch, i couldn't find renaming on Dexie documentation....
I am working on a simple application to build a tree out of nodes. I have the following hooks setup so that when a node is deleted from a tree, all of the child nodes are deleted and also all associations for those nodes are deleted. I am using the f...
I have the following code where the modifying the db item base on an inner promise is not working.      $('input[type=checkbox][name=checklist]:checked').each(function()     {         var collection=db.items.where("name").equals(check...
Is there a built-in solution to prevent duplicate Blob objects within different records in IndexedDB?  Say I have this schema for a music store: id, title, album, artwork, and I wanted to add 2 songs from the same album to this store (so they most li...
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.commande.where("i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.