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

updateAttributes function doesn't update the revision number #394

Open joeltello opened 10 years ago

joeltello commented 10 years ago

This function should take care of updating the _rev property in the instance after updating the document in the DB. 2 updates in a row of the same document fails with the current implementation.