1 -- Enables SQL query logging
3 -- luacheck: ignore 213/uri
7 local engines
= module
:shared("/*/sql/connections");
9 for uri
, engine
in pairs(engines
) do
13 setmetatable(engines
, {
14 __newindex
= function (t
, uri
, engine
)
16 rawset(t
, uri
, engine
);
20 function module
.unload()
21 setmetatable(engines
, nil);
22 for uri
, engine
in pairs(engines
) do