-
Notifications
You must be signed in to change notification settings - Fork 3.6k
docs(sqlite): fix .run() return value documentation
#25060
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
docs(sqlite): fix .run() return value documentation
#25060
Conversation
WalkthroughDocumentation and JSDoc updates: Database.run() and Statement.run() are described as returning a Changes object (containing Changes
Suggested reviewers
Pre-merge checks✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (2)test/**/*.{js,ts,jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/writing-tests.mdc)
Files:
test/**/*.test.{ts,js,jsx,tsx,mjs,cjs}📄 CodeRabbit inference engine (test/CLAUDE.md)
Files:
🧠 Learnings (9)📓 Common learnings📚 Learning: 2025-11-24T18:36:59.706ZApplied to files:
📚 Learning: 2025-11-24T18:36:33.069ZApplied to files:
📚 Learning: 2025-11-24T18:36:59.706ZApplied to files:
📚 Learning: 2025-11-24T18:35:50.422ZApplied to files:
📚 Learning: 2025-11-24T18:36:33.069ZApplied to files:
📚 Learning: 2025-11-24T18:37:47.899ZApplied to files:
📚 Learning: 2025-11-24T18:35:39.205ZApplied to files:
📚 Learning: 2025-10-03T18:29:20.173ZApplied to files:
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. Comment |
369c3c8 to
a8321ca
Compare
What does this PR do?
Fixes incorrect documentation for the
.run()method return value in thebun:sqlitetype definitions, as well as the SQLite docs.Both
Database.run()andStatement.run()return aChangesobject withchangesandlastInsertRowidproperties, notundefinedor aDatabaseinstance as previously documented.How did you verify your code works?
This is simply a docs update, no changes to the
bunruntime have been made.