I am working on a data-table/grid web component that supports sorting, filtering, infinite scrolling etc. I am looking into replacing my existing data model with IndexedDB (using Dexie).
My initial plan was to use a single db and have a "table" for…
I am using Dexie
var db = new Dexie('name');
db.version(4)
.stores({
sentence: "&sentenceId, [sentence__authorId+sentenceChapter+sentenceNo], sentenceContent, headingContent, sentenceStarts, sentenceEnds"
)};
and I need to get the result sorted…
I'm using Dexie.js for handling indexed storage. However, it would take over exception handling on any process launched by the deferred promise. This made it very difficult to catch the bugs where they happened.
I'm trying to create a simple stock/sales application in JavaScript using Dexie.js. I'm not sure how to go about returning the Total Sales amount without writing awful recursive code that runs a query multiple times for just one product's total…
Say I have the following schema for indexed values: db.version(1).stores({friends: "++id,name"});
In addition, my friend object has a non-indexed prop called phoneNumber, so in IndexedDB each row has id, name, phoneNumber.
If I decide later that…
For this example I am using React with Dexie.js. I have a code, zanzibar, that, when run, adds a list of objects from my IndexDB to the page. I have two current things I would like to add to this.
First, there appears to be an issue with finding…
The code below lacks a proper key prop. I am using Dexie.js for this example.
Basically, I have an auto-incrementing key with ++id. Now, I would like to make sure that my var newFriend auto-increments this, but I am unsure of how to properly…
I am getting this error when running a transaction in Dexie:
name: SubTransactionError message: table _ not included in parent transaction
this only happens after I run this code:
DeleteApiToken.then (() => {
…
I am using Dexie in my offline application, and when I try to insert new Data in my Indexeddb database I get this error: TypeError: Cannot set property 'onerror' of undefined(…)
This is the code that seems to be throwing the error:
InsertApiLogs:…
I like to develop an Desktop App using nw.js (node-webkit) or Electron.
I am looking for a solution to sync between IndexedDB and MySQL Server + PHP(Laravel) on the cloud via Restful API.
PouchDB look good but that is out of option because it only…
My angular app has/needs two way data binding.
I fetch data from indexedDB using angular service, which is injected in a controller.
I need the view to be updated after the fetch from db is made.
var app =…
The issue I am trying to resolve is represented in the output displayed below:
15 06 2016 11:11:16.532:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
15 06 2016 11:11:16.532:INFO [launcher]: Starting browser PhantomJS
15 06…
Why can't I access the "inner" functions of this object? I feel like this has worked before.
var OfflineStorage = (function () {
function OfflineStorage() {
var db = new Dexie("OfflineStorage");
db.version(1).stores({
…
I have a typescript project which is using requirejs to load jquery so I know the basic concept works. I am trying to get dexie set up and I just can't get it working.
My require config looks like this:
require.config({
baseUrl: '',
paths:…
I'm struggling with amounts of 20-50k JSON object response from server which I should insert into our indexeddb datastore.
Response is repeated with foreach and every single row is added with each. Calls with response less than 10k rows are working…