I would uhhhh... just do yourself a favor and not use tauri-plugin-sql. In my experience, the lack of control on the actual rust-side sqlx calls always become an issue. If you look up sql in #1047150269156294677 , you will see a lot of examples using other various methods. I personally use diesel/sqlite via a custom plugin (albeit my method has a little more overhead than some others, because it's a plugin and uses an orm, so a #1047150269156294677 search will def give lighter solutions): https://github.com/bpevs/tauri_diesel_sqlite_example
Some other threads: