Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
← Previous Change
Wiki History
Next Change →
Changes between
Initial Version
and
Version 1
of
Pooling
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
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
{{{
4
import { Pool } from "pg";
5
import { drizzle } from "drizzle-orm/node-postgres";
6
import * as schema from "./schema";
7
8
const pool = new Pool({
9
connectionString: process.env.DATABASE_URL,
10
})
11
12
export const db = drizzle(pool, { schema });
13
}}}