Skip to content

Conversation

RobViren
Copy link
Contributor

Replaced deprecated "exec" method with "run" in the example

What does this PR do?

Fixes documentation where a deprecated method was used

How did you verify your code works?

It is documentation and uses the appropriate preferred methods indicated in the other documentation.

Replaced deprecated "exec" method with "run" in the example
Copy link
Contributor

coderabbitai bot commented Oct 14, 2025

Walkthrough

Updated documentation example in docs/api/sqlite.md to use db.run("PRAGMA journal_mode = WAL;") instead of db.exec(...). No API changes; exec remains an alias of run.

Changes

Cohort / File(s) Summary of Changes
Docs update
docs/api/sqlite.md
Replaced WAL mode example call from db.exec("PRAGMA journal_mode = WAL;") to db.run("PRAGMA journal_mode = WAL;"); no public API modifications.

Pre-merge checks

✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed The PR description uses the required template headings and clearly explains what the change does and how it was verified, fulfilling the repository’s documentation standards.
Title Check ✅ Passed The title clearly indicates that the sqlite.md example has been updated to replace a deprecated method, which directly reflects the change in the pull request. It succinctly describes the primary documentation adjustment without extraneous details. The phrasing is concise, specific to the affected file, and communicates the intent of the update.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@RobViren RobViren changed the title Update sqlite.md Updated sqlite.md example to use non-deprecated method Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant