Skip to content

Commit 28676b2

Browse files
committed
Specifying product when rendering partials
1 parent 9297e73 commit 28676b2

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/content/docs/hyperdrive/examples/connect-to-mysql/mysql-drivers-and-libraries/drizzle-orm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ npm i -D drizzle-kit tsx @types/node
2929

3030
Add the required Node.js compatibility flags and Hyperdrive binding to your `wrangler.jsonc` file:
3131

32-
<Render file="hyperdrive-node-compatibility-requirement" />
32+
<Render file="hyperdrive-node-compatibility-requirement" product="hyperdrive"/>
3333

3434
## 2. Configure Drizzle
3535

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/drizzle-orm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ npm i -D drizzle-kit tsx @types/node
2727

2828
Add the required Node.js compatibility flags and Hyperdrive binding to your `wrangler.jsonc` file:
2929

30-
<Render file="hyperdrive-node-compatibility-requirement" />
30+
<Render file="hyperdrive-node-compatibility-requirement" product="hyperdrive"/>
3131

3232
## 2. Configure Drizzle
3333

src/content/docs/hyperdrive/examples/connect-to-postgres/postgres-drivers-and-libraries/prisma-orm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ npm install prisma @types/pg --save-dev
2626

2727
Add the required Node.js compatibility flags and Hyperdrive binding to your `wrangler.jsonc` file:
2828

29-
<Render file="hyperdrive-node-compatibility-requirement" />
29+
<Render file="hyperdrive-node-compatibility-requirement" product="hyperdrive"/>
3030

3131
## 2. Configure Prisma
3232

src/content/partials/hyperdrive/use-mysql-to-make-query.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ npm install mysql
1212

1313
Add the required Node.js compatibility flags and Hyperdrive binding to your `wrangler.jsonc` file:
1414

15-
<Render file="hyperdrive-node-compatibility-requirement" />
15+
<Render file="hyperdrive-node-compatibility-requirement" product="hyperdrive"/>
1616

1717
Create a new connection and pass the Hyperdrive parameters:
1818

src/content/partials/hyperdrive/use-mysql2-to-make-query.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install mysql2
1313

1414
Add the required Node.js compatibility flags and Hyperdrive binding to your `wrangler.jsonc` file:
1515

16-
<Render file="hyperdrive-node-compatibility-requirement" />
16+
<Render file="hyperdrive-node-compatibility-requirement" product="hyperdrive"/>
1717

1818
Create a new `connection` instance and pass the Hyperdrive parameters:
1919

src/content/partials/hyperdrive/use-node-postgres-to-make-query.mdx

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

1313
Add the required Node.js compatibility flags and Hyperdrive binding to your `wrangler.jsonc` file:
1414

15-
<Render file="hyperdrive-node-compatibility-requirement" />
15+
<Render file="hyperdrive-node-compatibility-requirement" product="hyperdrive"/>
1616

1717
Create a new `Client` instance and pass the Hyperdrive `connectionString`:
1818

src/content/partials/hyperdrive/use-postgres-js-to-make-query.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install postgres
1313

1414
Add the required Node.js compatibility flags and Hyperdrive binding to your `wrangler.jsonc` file:
1515

16-
<Render file="hyperdrive-node-compatibility-requirement" />
16+
<Render file="hyperdrive-node-compatibility-requirement" product="hyperdrive"/>
1717

1818
Create a Worker that connects to your PostgreSQL database via Hyperdrive:
1919

0 commit comments

Comments
 (0)