tghounsell
Member
I have lists of boats, members and docks. I have the three lists joined in a separate list of members_boats_docks. However, I want to make a list of docks that are not currently occupied, and therefore, not currently listed in the members_boats_docks list.
One way to do this would be to simply put the database joins in the docks table and eliminate the members_boats_docks list. However, there are other times where members have boats and no docks, so keeping this relationship in the docks table doesn't really make sense. I could also put a member join in boats and a boats join in docks, but there are other times where I would like to list data from all three lists. So, I'm not sure of the best way to configure the relationships between the tables or how, with the current configuration, I can show a list of docks that have no boat relationship.
Suggestions much appreciated.
One way to do this would be to simply put the database joins in the docks table and eliminate the members_boats_docks list. However, there are other times where members have boats and no docks, so keeping this relationship in the docks table doesn't really make sense. I could also put a member join in boats and a boats join in docks, but there are other times where I would like to list data from all three lists. So, I'm not sure of the best way to configure the relationships between the tables or how, with the current configuration, I can show a list of docks that have no boat relationship.
Suggestions much appreciated.