Clearing model cache of Laravel Filament?

Hello, I have this weird bug so I'm using filament's resource and relation managers. Though in the relation manager I've modified the query to based on the owner record's relation query ($owner->relation()->where()->getQuery()). So now it works properly, it fetches the data I want. However whenever I delete a record, for example record #1. It still persist on the filament side but in the database side it no longer exists. Even on checking the modified query result, it's the same with the database I've tried clearing view cache, config cache, cache clear, filament:clear-cached-components, and even restarting my server setup.
1 Reply
Null Keso
Null Keso2mo ago
Nmv I fixed it, I just updated the query!
Want results from more Discord servers?
Add your server