© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
ilyosjon

Using DB facade inside a Table Widget

I wanted to show some data not related to a single Eloquent modes in a Table Widget and provided my query using DB facade inside Table Widget's query() method but it turns out that the query method only accepts \Illuminate\Database\Eloquent\Builder. Is it possible to pass base query builder object?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Using Table within a custom widget
FilamentFFilament / ❓┊help
3y ago
add widget inside the table view
FilamentFFilament / ❓┊help
2y ago
filters inside a widget
FilamentFFilament / ❓┊help
3y ago
Get the selected records in table inside a Widget
FilamentFFilament / ❓┊help
3y ago