Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 033ae99

Browse files
Update docs/guides/nodejs/nitric-and-pgsql.mdx
Co-authored-by: Ryan Cartwright <[email protected]>
1 parent 4913ca4 commit 033ae99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/nodejs/nitric-and-pgsql.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ npm install pg
4141

4242
## Create a Nitric SQL Database and Connect to it
4343

44-
Use Nitric’s `sql` feature to create a new SQL database, then use connection string and the `pg` library to connect to it.
44+
Use Nitric’s `sql` feature to create a new SQL database, then use `.connectionString()` and the `pg` library to connect to it.
4545

4646
```ts title: resources/db.ts
4747
import { sql } from '@nitric/sdk'

0 commit comments

Comments
 (0)