MCPcopy
hub / github.com/prisma/prisma / main

Function main

sandbox/driver-adapters/src/pg.ts:5–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { smokeTest } from './test'
4
5async function main() {
6 const connectionString = `${process.env.JS_PG_DATABASE_URL as string}`
7
8 const pool = new Pool({ connectionString })
9 const adapters = new PrismaPg(pool)
10
11 await smokeTest(adapters)
12}
13
14main().catch((e) => {
15 console.error(e)

Callers 1

pg.tsFile · 0.70

Calls 1

smokeTestFunction · 0.90

Tested by

no test coverage detected