Skip to content
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

libsql/core: Fix Statement::execute() signature #255

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

penberg
Copy link
Collaborator

@penberg penberg commented Aug 8, 2023

The JavaScript language bindings, for example, need a function for executing a SQL statement and getting the number of changed rows back. The rusqlite execute() function does just that so let's fix our function signature to be compatible.

Fixes #246

The JavaScript language bindings, for example, need a function for
executing a SQL statement and getting the number of changed rows back.
The rusqlite `execute()` function does just that so let's fix our
function signature to be compatible.

Fixes tursodatabase#246
@penberg penberg force-pushed the fix-execute-signature branch from 8303a85 to 90431a2 Compare August 8, 2023 09:33
@penberg penberg added this pull request to the merge queue Aug 8, 2023
Merged via the queue into tursodatabase:main with commit 616a62d Aug 8, 2023
@penberg penberg deleted the fix-execute-signature branch August 8, 2023 11:07
MarinPostma pushed a commit that referenced this pull request Oct 17, 2023
255: packages: nuke packages/rust/libsql-client r=penberg a=psarna

It lives under libsql/libsql-client-rs repo now.

Co-authored-by: Piotr Sarna <[email protected]>
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.

Fix Statement::execute() to return number of changed rows
3 participants