-
All new Columns I want make doesn't work.
if I call it without an alias like this
|
Beta Was this translation helpful? Give feedback.
Answered by
jurri
Apr 17, 2023
Replies: 1 comment 6 replies
-
Is your column definitely called "firstname" in the database? Are you eager loading the relationships? Are you using a builder approach, or the $model approach? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
composer update
php artisan optimize:clear
or
return User::query()->with('detail');
doesn't help...
but I found how get it displaying :)
I have to write in first Column::make call the title which I want use later.
It has nothing todo with the relationship. But the mistake is only on relationship-columns.
example to resolve: