Changeset

6734:592f6112563e

util.sql: Expose db2uri helper function
author Matthew Wild <mwild1@gmail.com>
date Wed, 03 Jun 2015 15:55:43 +0100
parents 6733:36e2b35397b1
children 6735:b553a30620b2
files util/sql.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,