Skip to content

Commit 4f3cc44

Browse files
committed
doc: fix missing snippet
1 parent e73c46b commit 4f3cc44

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎doc/api/sqlite.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,8 @@ sqlTagStore.get`SELECT ${value}`;
711711
is equivalent to:
712712

713713
```js
714-
db.prepare('SELECT ?').get(value);
714+
using statement = db.prepare('SELECT ?');
715+
statement.get(value);
715716
```
716717

717718
However, in the first example, the tag store will cache the underlying prepared

0 commit comments

Comments
 (0)