Answer the question
In order to leave comments, you need to log in
Is it possible to simplify the interaction with the relationship chain?
Hello! Is it possible to simplify the selection from $user->region->timezone
to $user->timezone
with such a table structure?
timezones
- id
- name
regions
- id
- name
- timezone_id
users
- id
- name
- email
- region_id
I did not find such a link in the documentation or could not understand that this is what I need :(
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question