# HG changeset patch # User Matthew Wild # Date 1433343343 -3600 # Node ID 592f6112563eca22b9fd55a0441f217986a5fc62 # Parent 36e2b35397b1778615d0adbcf57829ebc1d29160 util.sql: Expose db2uri helper function diff -r 36e2b35397b1 -r 592f6112563e util/sql.lua --- a/util/sql.lua Wed Jun 03 15:54:52 2015 +0100 +++ b/util/sql.lua Wed Jun 03 15:55:43 2015 +0100 @@ -273,7 +273,7 @@ end local engine_mt = { __index = engine }; -local function db2uri(params) +function db2uri(params) return build_url{ scheme = params.driver, user = params.username,