I am attempting to set a property to the value of a model's async, hasMany relationship. But I'm not able to return any value within the then function.  App.Athlete = DS.Model.extend({     name: DS.attr('string'),     age: DS.attr(...
I saw sync-promise posted on Reddit and got into a discussion with the author. We noticed some weird inconsistencies in the relationship between IndexedDB transactions and promises.  IndexedDB transactions auto-commit when all the onsuccess events fi...
I am experimenting with indexeddb, and have some data added to ObjectStore which should have 90 rows.   But I can see only 50 rows in Chrome development tools.   Is it Chrome that limits the rows, or my code is not adding more than 50 rows? For examp...
I have the following code on a (HTML/javascript) Windows Store app  var reqOpen = window.indexedDB.open(that.dbName, that.dbVersion);   The thing is, when I wanted to use that exact code on a (HTML/javascript) Windows Phone 8.1 app I get undefined on...
A quick overview of what I have, and the problems that are associated with it. I have a HTML5 app that I am going to run as a native app using PhoneGap. It is a small data collection application for the local field research station.   The problem wit...
I want to basic count the number of records in my indexedDB database.   Currently my code looks like   Javascript  var transaction = db.transaction(["data"], "readonly"); var objectStore = transaction.objectStore("data"); var...
I am having trouble with IndexedDB. On Firefox 18, when I create a new database, the onsuccess method is called at the same time has onupgradeneeded. On Chrome 24 (this is the behavior I'd like to get), the onsuccess method is only called after t...
So, I have a main indexedDB objectstore with around 30.000 records on which I have to run full text search queries. Doing this with the ydn fts plugin this generates a second objectstore with around 300.000 records. Now, as generating this 'index...
The following code throws an error in Chrome 35 (but not Firefox 29) if I set buggy to true.  Since I'm pretty new in indexedDB I wanted to ask whether this ought to work or not.  If I delete the database and open it again with version=1, shouldn...
In the following code,  Promise.allSettled( [ entry_save(), save_state(), get_HTML() ] ).then( ... );   promises entry_save and save_state are both readwrite database transactions and get_HTML is readonly. The two readwrite transactions could be comb...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.