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

Use mysql.createConnection if createClient not present. #112

Closed revpriest closed 11 years ago

revpriest commented 11 years ago

Fixes this: https://github.com/zefhemel/persistencejs/issues/109

Which i came upon starting a new project this weekend to see how node.js works.

Thanks for the ORM.