Skip to content

Commit

Permalink
Update get-started.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgauvin authored Dec 12, 2024
1 parent 808f4ef commit ccd1e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/hyperdrive/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ To connect to your database, you will need a database driver which allows you to

To install `postgres`, ensure you are in the `hyperdrive-tutorial` directory. Open your terminal and run the following command:

<PackageManagers pkg="postgres" comment="This should install v3.4.4 or later" />
<PackageManagers pkg="postgres" comment="This should install v3.4.5 or later" />

With the driver installed, you can now create a Worker script that queries your database.

Expand All @@ -190,7 +190,7 @@ The `index.ts` file is where you configure your Worker's interactions with Hyper
Populate your `index.ts` file with the following code:

```typescript
// Postgres.js 3.4.4 or later is recommended
// Postgres.js 3.4.5 or later is recommended
import postgres from "postgres";

export interface Env {
Expand Down

0 comments on commit ccd1e21

Please sign in to comment.