Sharaal/sql-pg

Refactor library initialization to allow different settings

Sharaal opened this issue · 1 comments

Currently the require('sql-pg') directly returns the sql tag. But with all the default options coming in it makes sense to be able to have different sql tag objects with different options. So the require('sql-pg') should return an initialization function setting all default options by passing them as params.

PR: #25