From 5172a8f0a899be7d43ebd0723ec20fb6ab1bc738 Mon Sep 17 00:00:00 2001 From: RobViren Date: Tue, 14 Oct 2025 06:20:55 -0500 Subject: [PATCH] Update sqlite.md Replaced deprecated "exec" method with "run" in the example --- docs/api/sqlite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/sqlite.md b/docs/api/sqlite.md index 08e3dfd5121700..d72e4bb96bc9d6 100644 --- a/docs/api/sqlite.md +++ b/docs/api/sqlite.md @@ -182,7 +182,7 @@ SQLite supports [write-ahead log mode](https://www.sqlite.org/wal.html) (WAL) wh To enable WAL mode, run this pragma query at the beginning of your application: ```ts -db.exec("PRAGMA journal_mode = WAL;"); +db.run("PRAGMA journal_mode = WAL;"); ``` {% details summary="What is WAL mode" %}