Connect on query
This release breaks the API, please upgrade carefully. In particular, the sworm.db(config)
return is no longer a promise, but a db
instance.
- Previously
sworm.db(config)
returned a promise, now it returns a newdb
instance. The firstdb.query()
or the firstdb.connect()
will connect to the database. - Now supporting
setupSession
to setup session properties before querying.