In the examples, it looks like you invoke insert_book().bind(&transaction, &"The Great Gatsby") multiple times. Doesn't this call prepare statement every query?
Would it be preferred to do something like this to reuse the prepared statement?
let stmt = insert_book();
stmt.bind(&transaction, &"The Great Gatsby").await.unwrap();
stmt.bind(&transaction, &String::from("Moby Dick")).await.unwrap();
Wondering what the best approach is. Should I cache insert_book(), invoke every time or cache once on db connection?