We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: v3.0.2
"Implicit has one" access doesn't work with correct foreign key references.
Access any table column from table linked with foreign key like this: $ticket->user->first_name
Longer notation with ref is working: $ticket->ref('user', 'author')->first_name
Implicit access should work exactly like calling method ref() as described at https://doc.nette.org/cs/3.0/database-explorer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version: v3.0.2
Bug Description
"Implicit has one" access doesn't work with correct foreign key references.
Steps To Reproduce
Access any table column from table linked with foreign key like this:
$ticket->user->first_name
Longer notation with ref is working:
$ticket->ref('user', 'author')->first_name
Expected Behavior
Implicit access should work exactly like calling method ref() as described at https://doc.nette.org/cs/3.0/database-explorer
The text was updated successfully, but these errors were encountered: