# Selection action in Supbase

**URL:** <https://community.weweb.io/t/selection-action-in-supbase/5183>\
**Category:** How do I?\
**Created:** [November 3, 2023, 7:31am UTC](https://community.weweb.io/t/selection-action-in-supbase/5183 "2023-11-03T07:31:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hongchuan](https://avatars.discourse-cdn.com/v4/letter/h/258eb7/32.png) [@hongchuan](https://community.weweb.io/u/hongchuan)\
**Post date:** [November 3, 2023, 7:31am UTC](https://community.weweb.io/t/selection-action-in-supbase/5183/1 "2023-11-03T07:31:58Z")

</div>

How do I select a specific record from a table in Supabase?  
Am I missing something or the select action doesn’t let me specific the fields that I want to search from

 ![Screenshot 2023-11-03 at 3.30.47 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/bbb337707b261ccba788cba11635adc84f075388.png)

Can anyone help?

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [November 3, 2023, 9:05am UTC](https://community.weweb.io/t/selection-action-in-supbase/5183/2 "2023-11-03T09:05:01Z")

</div>

Hi, you’re not missing anything. We are currently reworking the supabase plugins to implement many improvements, including filters on this action.

In the meantime you can either =\>

- Use a collection with filters as a way to fetch your data instead of an action.
- Use javascript and make the request yourself using the sdk through `wwLib.wwPlugins.supabase.instance`

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 3, 2023, 9:35am UTC](https://community.weweb.io/t/selection-action-in-supbase/5183/3 "2023-11-03T09:35:36Z")

</div>

Actually, if you’re using RLS, you need to use `wwLib.wwPlugins.supabaseAuth.publicInstance`, isn’t it Alexis? This one has the authentificated session i think?

---

<div class="post-metadata">

**Author:** ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)\
**Post date:** [November 3, 2023, 9:36am UTC](https://community.weweb.io/t/selection-action-in-supbase/5183/4 "2023-11-03T09:36:48Z")

</div>

`wwLib.wwPlugins.supabase.instance` and `wwLib.wwPlugins.supabaseAuth.publicInstance` share the same instance

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 3, 2023, 9:39am UTC](https://community.weweb.io/t/selection-action-in-supbase/5183/5 "2023-11-03T09:39:39Z")

</div>

I see, then I have no clue why I’m using the auth one, thanks for the clarification anyway)

---

<div class="post-metadata">

**Author:** ![hongchuan](https://avatars.discourse-cdn.com/v4/letter/h/258eb7/32.png) [@hongchuan](https://community.weweb.io/u/hongchuan)\
**Post date:** [November 7, 2023, 8:03am UTC](https://community.weweb.io/t/selection-action-in-supbase/5183/6 "2023-11-07T08:03:26Z")

</div>

ic. Thanks Alexis!
