1602 / jugglingdb

Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
http://1602.github.io/jugglingdb/
2.05k stars 241 forks source link

Memory adapter fromDb function is coercing boolean as object after save() #376

Closed pocesar closed 10 years ago

pocesar commented 10 years ago

It makes the value of the Boolean to come out as an empty object {}, because it's using val = new Boolean(val). instead, it should be val = Boolean(val)

anatoliychakkaev commented 10 years ago

Can you fix?

On 12 February 2014 15:18, Paulo Cesar notifications@github.com wrote:

It makes the value of the Boolean to come out as an empty object {}, because it's using new Boolean(val). instead, it should be val = Boolean(val)

Reply to this email directly or view it on GitHubhttps://github.com/1602/jugglingdb/issues/376 .

pocesar commented 10 years ago

sure, in a moment