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).
Adding events for persistence.add() introduced duplicate events to be triggered for QueryCollection.prototype.add(). There's even tests failing because of that, unfortunately I had forgotten to run them.
I'm very sorry for the premature pull request. I reverted the commit for now and will be back with a proper fix later.
Adding events for persistence.add() introduced duplicate events to be triggered for QueryCollection.prototype.add(). There's even tests failing because of that, unfortunately I had forgotten to run them.
I'm very sorry for the premature pull request. I reverted the commit for now and will be back with a proper fix later.