Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Ternary relationship
  • Hi, Just started with fuelPHP and was wondering how can you model a ternary relationship the ORM way. I have three entities: User (can have many locations)
    Location (can have many users)
    Condition (a user can have many conditions specific to each location) At the moment I have modeled the User <--> Location relationship with many to many as described in the docs and it works fine. But to add the Condition I need a ternary relationship or I can make two many to many to User and Location table. So is there a way to do this with a ternary in fuelPHP or I have or break it down to manyToMany? Thanks
    Stelios

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!