coresmart / persistencejs

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).
http://persistencejs.org
1.73k stars 240 forks source link

Changed mysql persistance store to handle disconnects #128

Closed SaikiranDaripelli closed 10 years ago

SaikiranDaripelli commented 10 years ago

Adding Connection lost handling, which is pretty common in mysql. As described in https://github.com/felixge/node-mysql#server-disconnects