MCPcopy
hub / github.com/graphile/starter / getRootPgPool

Function getRootPgPool

@app/server/src/middleware/installDatabasePools.ts:6–8  ·  view source on GitHub ↗
(app: Express)

Source from the content-addressed store, hash-verified

4import { getShutdownActions } from "../app";
5
6export function getRootPgPool(app: Express): Pool {
7 return app.get("rootPgPool");
8}
9export function getAuthPgPool(app: Express): Pool {
10 return app.get("authPgPool");
11}

Calls

no outgoing calls

Tested by

no test coverage detected