I'm trying to make a storage in javascript using IndexedDB to store blobs. Here is my code var Storage = (function () { function Storage(callback) { var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB || window.OIndexedDB || window.msIndexedDB, IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction || window.OIDBTransaction || window.msIDBTransaction, dbVersion = 1.0; [...] read more
I have an index in my object store, created like this: objStore.createIndex("pinned", "pinned"); I want to store values of boolean type there. And unfortunately I can't get only records with "pinned" field set to "true". Why does this happen? Is this my database design mistake? IDBKeyRange.only(true) Firefox: [Exception... "Data provided [...] read more