Issue description
Summary
Statement.run() and Database.run() currently return undefined, but should return a Changes object to match bun.
The docs are confusing as hell though - since their examples still say they return undefined (they don't)
// Example:
const result = db.run('INSERT INTO users (name) VALUES (?)', ['Alice']);
// => undefined
// Should be: { changes: 1, lastInsertRowid: 1 }
This'll help with showing some more valuable info for db studio.
Issue description
Summary
Statement.run()andDatabase.run()currently returnundefined, but should return aChangesobject to matchbun.The docs are confusing as hell though - since their examples still say they return
undefined(they don't)This'll help with showing some more valuable info for
db studio.