pub fn register_with(
lua: &Lua,
conn: Arc<Mutex<Connection>>,
interrupt: Arc<InterruptHandle>,
cfg: SqlConfig,
) -> LuaResult<()>Expand description
Register std.sql with caller-provided SqlConfig.
The config is stored in lua.app_data. std.kv (registered via
crate::kv::register_with) shares the same SqlConfig slot, so
calling either register_with after the other replaces the previous
config — pass identical configs from the host or only set it once.