tauri-plugin-sqlite icon indicating copy to clipboard operation
tauri-plugin-sqlite copied to clipboard

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

Open jstbyte opened this issue 1 year ago • 1 comments

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 avatar Nov 08 '23 05:11 jstbyte

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

hoichi avatar May 10 '24 14:05 hoichi