Changes between Initial Version and Version 1 of Pooling


Ignore:
Timestamp:
01/29/26 02:03:16 (11 days ago)
Author:
233051
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Pooling

    v1 v1  
     1== Pooling ==
     2
     3{{{
     4import { Pool } from "pg";
     5import { drizzle } from "drizzle-orm/node-postgres";
     6import * as schema from "./schema";
     7
     8const pool = new Pool({
     9    connectionString: process.env.DATABASE_URL,
     10})
     11
     12export const db = drizzle(pool, { schema });
     13}}}