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 upFeature : derive(Insertable) into multiple tables #1314
Comments
This comment has been minimized.
|
Ironically this used to work, but was removed when Since this is not a feature that will require a breaking change, it is on hold until after 1.0. |
sgrif
added
accepted
discussion desired
mentoring available
labels
Nov 28, 2017
This comment has been minimized.
Zsarl
commented
Nov 29, 2017
|
Thanks for the response. #[derive(Insertable)] |
Zsarl commentedNov 28, 2017
I'm currently trying to use the same struct in many tables and was looking for something like this:
#[derive(Insertable)]
#[table_name="table1", "table2"]
instead of having to make separate structs for each table. Keep up the good work!