export const withDb = pool => { return async (c, next) => { const client = await pool.connect(); c.set('client', client); try { await next(); } finally { client.release(); } }; }; //# sourceMappingURL=withDb.js.map