anlutro / laravel-settings

Persistent settings in Laravel
MIT License
940 stars 112 forks source link

Usage with Filament Table builder #183

Closed andrezanna closed 7 months ago

andrezanna commented 7 months ago

Hello, since we developed our new dashboard with Filament I would need to get the settings with a query builder. This is Filament default query attempt, but it is not available in the package.

    public static function getEloquentQuery(): Builder
    {
        return Setting::query();
    }

Is there a way to get the builder or create it?

Thanks

andrezanna commented 7 months ago

Well i solved it by creating a model pointing to the database.