Skip to content

Commit 91ea986

Browse files
authored
Apply suggestions from code review
1 parent 7b7eb9f commit 91ea986

File tree

1 file changed

+3
-2
lines changed
  • src/content/docs/d1/tutorials/d1-and-prisma-orm

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,15 @@ npx wrangler d1 execute prisma-demo-db --command "INSERT INTO \"User\" (\"email
224224
('[email protected]', 'Jane Doe (Remote)');" --remote
225225
```
226226

227-
If you're getting an error like `Unknown arguments: (\email\,, \name\)...`, you may need to escape the double quotes with `\``.
227+
:::note
228+
If you receive an error to the effect of `Unknown arguments: (\email\,, \name\)...`, you may need to escape the double quotes with `\``.
228229

229230
```sh
230231
# Escape with ` instead of \
231232
npx wrangler d1 execute prisma-demo-db --command "INSERT INTO `"User`" (`"email`", `"name`") VALUES
232233
('[email protected]', 'Jane Doe (Local)');" --local
233234
```
234-
235+
:::
235236
### 5. Query your database from the Worker
236237
237238
To query your database from the Worker using Prisma ORM, you need to:

0 commit comments

Comments
 (0)