# How to use the OR clause in a SELECT statement from Supabase?

**URL:** https://community.weweb.io/t/how-to-use-the-or-clause-in-a-select-statement-from-supabase/13972
**Category:** How do I?
**Tags:** workflows, supabase
**Created:** [October 16, 2024, 7:42pm UTC](https://community.weweb.io/t/how-to-use-the-or-clause-in-a-select-statement-from-supabase/13972 "2024-10-16T19:42:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ralmtz](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@ralmtz](https://community.weweb.io/u/ralmtz)
#### Post date: [October 16, 2024, 7:42pm UTC](https://community.weweb.io/t/how-to-use-the-or-clause-in-a-select-statement-from-supabase/13972/1 "2024-10-16T19:42:23Z")

</div>

Hello, I have an input where I want users to enter either their phone number or email, and filter through a button in a collection of users. How can I implement an OR clause in the workflow?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/eb06f6db8d59e6f2b50cdd87b1e90ee0d47abe67.png)

---

<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: [October 16, 2024, 8:18pm UTC](https://community.weweb.io/t/how-to-use-the-or-clause-in-a-select-statement-from-supabase/13972/2 "2024-10-16T20:18:35Z")

</div>

![Screenshot 2024-10-16 at 22.18.23](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/d/daa7528149344fe7b16af90f0a511c814308945b.png)  
You need to use this, with these docs

> **[JavaScript: Match at least one filter | Supabase Docs](https://supabase.com/docs/reference/javascript/or)**
>
> Supabase API reference for JavaScript: Match at least one filter

---

<div class="post-metadata">

### Author: ![ralmtz](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@ralmtz](https://community.weweb.io/u/ralmtz)
#### Post date: [October 17, 2024, 3:54pm UTC](https://community.weweb.io/t/how-to-use-the-or-clause-in-a-select-statement-from-supabase/13972/3 "2024-10-17T15:54:09Z")

</div>

Thanks a lot!
