I have seen the sample projects on your website for Dexie.Syncable such as sync-server and sync-client and they all seem to write to a datbase directly vs interacting with a web api. I am looking for a little help in where to get started beyond the…
I have a simple Dexie table search function that I want to return the searched item after the searching code is actually run
function ReturnItemFromTable() {
db.table1
.where('field1')
.equals('some value')
.first(function(item) {
…
I have this code (Indexeddb/Dexie)
db1.RestrictionsImport.where('idx').equals(n).toArray().then(function(x){...})
This works fine but I have an multitude of collections with "Restrictions" for which I have to perform the search(es).
If I do…
I've been searching trough dexie docs and here on stack but i can't find anything related. I'm new to dexie and it's the end of my work day, probably it's something that I didn't understand correctly (ー_ー)!!
This way it works:
DB['t_menus_' +…
I'm having trouble sorting a dexie table.
It's likely I'm just not understanding a simple conceptual difference between dexie tables vs dexie collections. So my apologies for asking what's probably a simple question.
I have this code that works…
We are building a desktop application using electron and react.
We need to store the content for application in the indexed database in the electron application. The content is stored as if it's a client application similar to a web page.
Our…
My question is focusing on the Dexie library, but I guess it could be valid for every json-like structurein javascript, so here it goes:
I have multiple tables created on the local memory by an IndexedDB library (Dexie), which uses the following…
I was redirected here after emailing the author of Dexie (David Fahlander). This is my question:
Is there a way to append to an existing Dexie entry? I need to store things that are large in dexie, but I'd like to be able to fill large entries…
I am looking to create an HTML5 Online Order app using Dexie. The back-end database is MSSQL. I would like to connect to the SQL DB, load data from one or more tables into an IndexDB and provide a order form for the user to select items to order…
I am not really a Promise Ninja and I understand that I'm doing something wrong. However I cannot find some particular/simular problem to what I am having.
The problem: I use the Dexie.js wrapper for IndexedDB which is asynchronous. I have a global…
Let's say I create a very simple datastore using the steps below:
var db = new Dexie('MyDatabase');
db.version(1).stores({ friends: 'name, age' });
db.friends.add({ name: 'Camilla', age: 25 });
Now, let’s say the user closes their browser and…
I'm very new with Dexie.js and Promises, so, bear with me.
How could I get an entity inside a Map function?
I have the following method that's responsible to do a data source lookup within my IndexedDB.
function MapData(data) {
let mappedItems…
How does the Dexie 2.0 beta work with async/await? I was reading through the source code but I am still confused how it is propagating zones without monkey patching any native functionality. Can someone give me a high level overview of how this…
I use Dexie.js (an IndexedDb wapper).
I've tried generating HTML like this:
function getList(where){
var html = [];
if($.isEmptyObject(where)) return;
db.modules.where(where).each(function(item){
html.push('