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

How To Get Return number of effected rows and last effected row id #10

Open
jstbyte opened this issue Nov 8, 2023 · 1 comment
Open

Comments

@jstbyte
Copy link

jstbyte commented Nov 8, 2023

execute method not return the newly created or updated row id.

we often require newly created id or data to show user.

and number of effected rows to display.

todo:: return ( effected_rows: i64, last_effected_id: i64) from both execute methods

@jstbyte jstbyte changed the title How To Get Return Values or Id of Insert, Update, Delete How To Get Return number of effected rows and last effected row id Nov 8, 2023
@hoichi
Copy link

hoichi commented May 10, 2024

FWIW, the official sql plugin does support it, but it has other problems.

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

No branches or pull requests

2 participants