Skip to content

Commit b217f70

Browse files
authored
Apply suggestions from code review part 2
1 parent d773abf commit b217f70

File tree

1 file changed

+3
-4
lines changed
  • src/content/docs/d1/tutorials/d1-and-orange-orm

1 file changed

+3
-4
lines changed

src/content/docs/d1/tutorials/d1-and-orange-orm/index.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This example shows you how to set up and deploy a Cloudflare Worker that is acce
3131

3232
### 1. Create a Cloudflare Worker
3333

34-
Open your terminal, and run the following command to create a Cloudflare Worker using Cloudflare's [`hello-world`](https://github.com/cloudflare/workers-sdk/tree/4fdd8987772d914cf50725e9fa8cb91a82a6870d/packages/create-cloudflare/templates/hello-world) template:
34+
Open your terminal and create a Cloudflare Worker:
3535

3636
1. Create a Worker named `orange-d1-example` by running:
3737

@@ -49,7 +49,7 @@ Open your terminal, and run the following command to create a Cloudflare Worker
4949

5050
2. Change into your new project directory to start developing:
5151

52-
```sh frame="none"
52+
```sh
5353
cd orange-d1-example
5454
```
5555

@@ -211,7 +211,7 @@ const map = orange.map(x => ({
211211
export default map;
212212
```
213213

214-
2. Instantiate the orange-orm with the D1 instance. Open `src/index.ts` and replace the entire content with the following:
214+
2. Instantiate the `orange-orm` with the D1 instance, then send a query using the Orange client and return the result. To do this in the code, open `src/index.ts` and replace the entire content with the following:
215215

216216
```ts
217217
import map from './map';
@@ -228,7 +228,6 @@ export default {
228228
} satisfies ExportedHandler<Env>;
229229
```
230230

231-
3. Send a query using the orange client and return the result.
232231

233232

234233
### 6. Run the Worker locally

0 commit comments

Comments
 (0)