How do you retrieve multiple data in sqlite database using select * ... where ?1 in vector variable? #12553
Unanswered
LeafWarrior
asked this question in
Q&A
Replies: 1 comment
-
Same as #12567 ? 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys. I've been trying to retrieve multiple data from sqlite database based on user selection. The javascript is fine but I'm not very familiar with rust. Obviously, my syntax is not correct.
Any help would be much appreciated.
How do you use "in" with sqlite rust? How should I bind my vector variable?
`async fn get_customer(state: tauri::State<'_, AppState>, cid : Vec) -> Result<(), String> {
let db = &state.db;
}
`
Beta Was this translation helpful? Give feedback.
All reactions