Thinking harder about the forget sea-orm, feed sea-query into sqlx" approach described here
https://www.reddit.com/r/rust/comments/1e8ld5d/my_take_on_databases_with_rust_seaorm_vs_diesel/
Looking at it I'm suddenly understanding I… don't understand the return type of a sqlx "query" call. In much of the "sample" code https://github.com/launchbadge/sqlx it seems to be mapping return values to structs but I don't understand how it knows which one. Is this magic with generics or is the sample code omitting setups on the types. Why is "bind" required sometimes but not other times.