Skip to content

Conversation

@WilcoKruijer
Copy link

@WilcoKruijer WilcoKruijer commented Nov 21, 2025

Hi, thanks for the great project!

I moved a part of my project from better-sqlite3/Kysely to SQLocal/Kysely since I find it more convenient to work with a WASM blob rather than having to build a binary. In the process I noticed that I was no longer getting the numAffectedRows from Kysely's executeQuery call. This PR implement that.

To do this, I had to expose execSql method on the SQLocal/client class. Please let me know if this is not the way. It also adds a lastAffectedRows field to the transaction field.

Tests were added as well.

Cheers

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