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).
Hi, I got the following error when syncing:
Uncaught TypeError: Object 2010-09-27T16:57:00Z has no method 'getTime'.
The same error occured, if I supplied a timestamp instead. The problem seemed to be that the json is only parsed in a string not a Date. So I inserted this.
But maybe there is a better place for the conversion.
Hi, I got the following error when syncing: Uncaught TypeError: Object 2010-09-27T16:57:00Z has no method 'getTime'.
The same error occured, if I supplied a timestamp instead. The problem seemed to be that the json is only parsed in a string not a Date. So I inserted this.
But maybe there is a better place for the conversion.
Regards, Robin