Skip to content

Commit 21ac188

Browse files
Fix SQLite documentation example. (#1750)
* Fix SQLite documentation example. * avoid duplicate imports * revert yarn.lock change --------- Co-authored-by: Mike Bostock <[email protected]>
1 parent 05707b3 commit 21ac188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/lib/sqlite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
[SQLite](https://sqlite.org/) is “a small, fast, self-contained, high-reliability, full-featured, SQL database engine” and “the most used database engine in the world.” Observable provides a ESM-compatible distribution of [sql.js](https://sql.js.org), a WASM-based distribution of SQLite. It is available by default as `SQLite` in Markdown, but you can import it like so:
44

5-
```js echo
5+
```js run=false
66
import SQLite from "npm:@observablehq/sqlite";
77
```
88

99
We also provide `SQLiteDatabaseClient`, a [`DatabaseClient`](https://observablehq.com/@observablehq/database-client-specification) implementation.
1010

11-
```js echo
11+
```js run=false
1212
import {SQLiteDatabaseClient} from "npm:@observablehq/sqlite";
1313
```
1414

0 commit comments

Comments
 (0)