© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Using eager loaded relationships in custom table column views - Filament
F
Filament
•
3y ago
•
6 replies
Raj Siva-Rajah
Using eager loaded relationships in custom table column views
Hi all
I have a custom table column that needs to use relationship data
. I can access data using
$getRecord()->user()->name
$getRecord()->user()->name
. The problem is this isn
't eager loaded so I get an extra query for every table row
.
Any ideas how I can solve that
?
Cheers
Solution
I mean you add the dot with the relation I think all the record will be available
! havent tested that case actually
you can always override the query and add
with()
with()
Jump to solution
Filament
Join
A powerful open-source UI framework for Laravel • Build and ship apps & admin panels fast with Livewire
20,181
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Eager loaded relationships filter
F
Filament / ❓┊help
2y ago
Eager loading relationships in table
F
Filament / ❓┊help
2y ago
Eager loading relationships in table
F
Filament / ❓┊help
3y ago
Problem: Exporter Not Working with Eager-Loaded Relationships
F
Filament / ❓┊help
15mo ago