MarrLiss/backbone-websql — pull request #8 by prust (2013-03-26 20:19:36+00:00)
Title: Added UPDATE error check

Added a sanity check on `UPDATE` that the `rowsAffected` is 1. With the `UNIQUE` constraint, it shouldn't be possible for it to be greater than 1, but it will be 0 if a model already has an `id` but is not yet in the database.