I have two tables that represent a graph structure.
Location {
id: Int!
name: String!
}
Road {
id: Int!
name: String!
loc1Id: Int!
loc2Id: Int!
}
What I would like to be able to do is have relationship that is an array of Road
on Location
that is made up of both Road
that reference a Location
via either the loc1Id
or loc2Id
fields/columns.
If I try to select both in the console in a single relationship create I get only the second selected one in the created relationship (and no error).