Show Users with role as User only
So I made a default User and I just added a few users, and my table in Database has a field called role in it and I only want to show the users that have that role field as User, I am not sure how I would do it.
Basically is there a way to run this query in Filament
"SELECT * FROM users WHERE role='User'"
Basically is there a way to run this query in Filament
"SELECT * FROM users WHERE role='User'"
Solution
so you can start with
there is other options too, like using filters and more
check this for more
https://filamentphp.com/docs/3.x/panels/resources/listing-records
there is other options too, like using filters and more
check this for more
https://filamentphp.com/docs/3.x/panels/resources/listing-records