Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

postgres.ts

10 lines200 Bytes

1import postgres from 'postgres'
2​
3// Create a postgres instance
4export const sql = postgres({
5 host: `localhost`,
6 port: 54322,
7 user: `postgres`,
8 password: `postgres`,
9 database: `todo_app`,
10})