olivierphi / Node-DBI

A SQL database abstraction layer strongly inspired by the PHP Zend Framework Zend_Db API, with support of multiple Node.js database engines
https://github.com/DrBenton/Node-DBI
93 stars 22 forks source link

SSL declaration should be available through configuration key #25

Open rhysp opened 10 years ago

rhysp commented 10 years ago

Using .DBWrapper('pg', [config object]), I thought ssl: true would be valid, as it is in the pg module itself.

This isn't the case, but a current solution is to append ?ssl=1 onto the database key. It would be useful if the former option was available.