© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•13mo ago•
22 replies
M3TAGH0ST

Table Query Builder with Constraints

Hello everyone,
I'm working on a resource with aggregated columns ( SUM() ) where date between I've created a from date -> to date filter which works fine but now I wanted to use the QueryBuilder constraints llike NumberConstraint and I have created a new Operator which should apply a having('column_name', '>', value) but in the final query the having clause is not applied if I were to dump the query for the operator it always shows a simple query without the aggregated columns even if I overriden the getEloquentQuery method and also using query() method on the table with the exact same query. Any advice on how to handle the having and have it applied on the final query ?

Thanks you for your help.
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

Filament table builder with union query
FilamentFFilament / ❓┊help
15mo ago
hitting some limitations with Filament table builder only acceping query builder
FilamentFFilament / ❓┊help
2y ago
Filament table builder using union query
FilamentFFilament / ❓┊help
2y ago
Table Builder
FilamentFFilament / ❓┊help
2y ago