cvsa/packages/crawler/db/init.ts
2025-03-30 07:31:24 +08:00

7 lines
192 B
TypeScript

import { Pool } from "https://deno.land/x/postgres@v0.19.3/mod.ts";
import { postgresConfig } from "@core/db/pgConfig.ts";
const pool = new Pool(postgresConfig, 12);
export const db = pool;