persvr / perstore

CommonJS persistence/object storage based on W3C's object store API.
http://www.persvr.org/
96 stars 20 forks source link

Node-mysql-native to be deprecated, switching to node-mysql2 #57

Open wshager opened 10 years ago

wshager commented 10 years ago

Node-mysql-native will be deprecated soon. I propose to switch to mysql2. Please not that I have removed all original console output, as I'm not sure yet what the messages should be. I figure not all feedback should be considered a db error.

wshager commented 10 years ago

I guess the dependencies should be changed as well.

wshager commented 10 years ago

Please note that having DATE fields (as opposed to DATETIME) will give strange behavior, where the field is split into a giant object. Recursive calls are being made and it takes very long to finish. I don't know if the problem is in perstore or mysql2.

wshager commented 10 years ago

There remains the problem of retrieving boolean values from mysql. Any ideas? Please...