Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: update documentation on defensive flag
  • Loading branch information
louwers committed Jan 3, 2026
commit 5eec394952b71148966b44e22430f028e4eaab4e
5 changes: 4 additions & 1 deletion doc/api/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ exposed by this class execute synchronously.
<!-- YAML
added: v22.5.0
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/61266
description: Enable `defensive` by default.
- version:
- v25.1.0
- v24.12.0
Expand Down Expand Up @@ -154,7 +157,7 @@ changes:
* `defensive` {boolean} If `true`, enables the defensive flag. When the defensive flag is enabled,
language features that allow ordinary SQL to deliberately corrupt the database file are disabled.
The defensive flag can also be set using `enableDefensive()`.
**Default:** `false`.
**Default:** `true`.

Constructs a new `DatabaseSync` instance.

Expand Down
Loading