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 upMultiple joins between two tables are not possible #332
Comments
rnewman
referenced this issue
Feb 16, 2017
Closed
[query] Add some algebraic interface for generating SQL #273
This comment has been minimized.
bpbp-boop
commented
Oct 10, 2017
|
I just ran into this table! {
matches (id) {
id -> Integer,
date -> Nullable<Date>,
time -> Nullable<Time>,
home_team_id -> Nullable<Integer>,
away_team_id -> Nullable<Integer>,
}
}
table! {
teams (id) {
id -> Integer,
name -> Text,
}
}
joinable!(matches -> teams (home_team_id));
joinable!(matches -> teams (away_team_id));Have any workaround surfaced since this was opened? |
This comment has been minimized.
|
This is the expected behavior. Otherwise we have no clue what you mean when you say |
sgrif
closed this
Oct 10, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
weiznich commentedMay 18, 2016
Given the following two tables:
and
I want both relations to be joinable.
This is currently not possible because the joinable macro is generating a conflicting implementation of the trait JoinTo.