Can a LEFT JOIN in Diesel use default values instead of `Option`?
I have two tables that I want to retrieve values from using a LEFT JOIN
. Diesel wants to handle any values from the joined table as nullable (which is sensible, given that there may or may not be a record), and it surfaces this in Rust using Option<T>
.