Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upConsider `#[derive(QueryAll)]` #1435
Comments
sgrif
added
the
discussion desired
label
Dec 23, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sgrif commentedDec 23, 2017
Not sold on the name. We should come up with a better one.
A question that periodically comes up is "my
Queryablestruct uses all but one column from my table. How do I do this?"In crates.io we have the following:
This seems like a reasonable pattern to derive in Diesel. I'd want to pull this into a trait though so the type and constant can become an associated type and associated constant. I think I'd also want to call them
UsedColumns.