persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
I think I spotted a nasty typo whilst testing syncing from server to client: changes in the columns did not get synced through into the client-columns.
I think I spotted a nasty typo whilst testing syncing from server to client: changes in the columns did not get synced through into the client-columns.
please see https://github.com/pazifikwelle/persistencejs/commit/524249b2f8a67581bcfdbcb93e1d863aa38c2c89#lib/persistence.sync.js
or check line 150 at persistence.server.js which I had to change to:
existingItems = existingItems.concat(groupOfExistingItems);