mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.sql: Expose db2uri helper function
This commit is contained in:
parent
15e84d4ec5
commit
41996240ed
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ function engine:set_encoding() -- to UTF-8
|
|||
end
|
||||
local engine_mt = { __index = engine };
|
||||
|
||||
local function db2uri(params)
|
||||
function db2uri(params)
|
||||
return build_url{
|
||||
scheme = params.driver,
|
||||
user = params.username,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue