daleharvey/pouchdb — pull request #1257 by nolanlawson (2014-01-25 23:08:58+00:00)
Title: (#1257) - Escape _id in bulkDocs for WebSQL

Before this fix, quotes in doc ids inserted using
bulkDocs would crash WebSQL, since we were just
wrapping quotes around the id string.

I also went ahead and ensured that the WebSQL
adapter properly reports SQLError objects, since
before it would only give an unhelpful 500 with
no message.