Skip to content

Commit

Permalink
chore: add withPgClient import in docs (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie authored May 10, 2024
2 parents 69b3d0e + f5d2ddd commit 91a2ab6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ for it to return, and then release the client again, ultimately resolving to
the return result of your callback.

```ts
// import withPgClient step
import { withPgClient } from "@dataplan/pg";

// Grab executor from any resource
const { executor } = usersResource;

Expand Down

0 comments on commit 91a2ab6

Please sign in to comment.