Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Nov 25, 2024
1 parent 79a766a commit ddcb079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/markUnsafe.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ You can pass strings, objects, and arrays to `markUnsafe`. Zen will track the ma
BAD:

```js
Zen.markUnsafe("SELECT * FROM users WHERE id = '1'");
Zen.markUnsafe("SELECT * FROM users WHERE id = ' OR 1=1 -- '");

await db.query("SELECT * FROM users WHERE id = '1'");
await db.query("SELECT * FROM users WHERE id = ' OR 1=1 -- '");
```

GOOD:
Expand Down

0 comments on commit ddcb079

Please sign in to comment.