Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Return a BelongsToMany in getTableQuery() - Filament
F
Filament
•
3y ago
•
13 replies
Veur
Return a BelongsToMany in getTableQuery()
I have a Livewire component with a
Client $client
Client $client
model property
. In that component I
'd like to render a table with the users of that client
, which I can access with
$client->users()
$client->users()
(BelongsToMany
)
Is there a way to use
$client->users()
$client->users()
inside
getTableQuery()
getTableQuery()
, instead of writing the Eloquent query
?
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
show content in table only when getTableQuery() return data
F
Filament / ❓┊help
3y ago
GetTableQuery
F
Filament / ❓┊help
3y ago
getTableQuery
F
Filament / ❓┊help
3y ago
GetTableQuery in simple resource
F
Filament / ❓┊help
3y ago