diff options
author | 2023-02-25 11:45:27 +0100 | |
---|---|---|
committer | 2023-02-25 02:45:27 -0800 | |
commit | 9b66e03a9bdd04a9cda4df20586808eafcef8ef8 (patch) | |
tree | 9b3a0d6d127de60cdf559bb0ffc4fc1c9a272e06 /docs/api | |
parent | 31627530b975cba7d002e937a62a5fe3a41f29bc (diff) | |
download | bun-9b66e03a9bdd04a9cda4df20586808eafcef8ef8.tar.gz bun-9b66e03a9bdd04a9cda4df20586808eafcef8ef8.tar.zst bun-9b66e03a9bdd04a9cda4df20586808eafcef8ef8.zip |
Fix sqlite.md `.serialize` typo (#2178)
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/sqlite.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/sqlite.md b/docs/api/sqlite.md index 9e1668bf6..67debe05b 100644 --- a/docs/api/sqlite.md +++ b/docs/api/sqlite.md @@ -75,7 +75,7 @@ Note: `close()` is called automatically when the database is garbage collected. ```ts const olddb = new Database("mydb.sqlite"); const contents = db.serialize(); // => Uint8Array -const newdb = new Database(copy); +const newdb = new Database(contents); ``` Internally, `.serialize()` calls [`sqlite3_serialize`](https://www.sqlite.org/c3ref/serialize.html). |