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 found that I couldn't set the id to "1" (i.e. a stringified version of the numeral one) as the primary key for an entity. Every operation that I tried would result in it seemingly being ignored.
I found that I couldn't set the id to "1" (i.e. a stringified version of the numeral one) as the primary key for an entity. Every operation that I tried would result in it seemingly being ignored.