Fork me on GitHub
#duct
<
2018-03-10
>
firstclassfunc14:03:03

I am unclear how to pass user credentials into :duct.module/sql

blackawa15:03:01

@firstclassfunc You can pass option map {:database-url "xxx"} or use JDBC_DATABASE_URL or DATABASE_URL environment variable. https://github.com/duct-framework/module.sql/blob/master/src/duct/module/sql.clj#L8-L10 How to pass user credentials to database url depends on database product. You can google it. https://goo.gl/Gek3Ce