the trait bound `uuid::Uuid: ToSql<uuid::Uuid, _>` is not satisfied – Postgresql
I am issuing a raw sql in diesel. Without parameters the code compiles. But when I add parameters to the sql_query using bind the code won't compile. pub fn find(session_id: Uuid) -> Result<Vec<Summary>, CustomError> { let q = "select product,…