Supabase column filter and !inner in query
I have some join tables in my supabase database let say "devices" and "locations" defined like this :
with a foreign key location_id in devices pointing to locations. This foreign key is defined only is the assigned flag is true.
I'm using refine useTable component defined as this :
and my page defined like this :
The problem is when I use the location filter, it doesn't filter the device record until I make my useTable select as
Is there a way to manage that easily or I need to manage filter manually by myself inside the filter property of useTable ?
with a foreign key location_id in devices pointing to locations. This foreign key is defined only is the assigned flag is true.
I'm using refine useTable component defined as this :
and my page defined like this :
The problem is when I use the location filter, it doesn't filter the device record until I make my useTable select as
"*, locations!inner(id, name)" but then if I'm doing that, I won't see anymore devices with no location_id and assigned flag to false.Is there a way to manage that easily or I need to manage filter manually by myself inside the filter property of useTable ?
