Skip to content

Added Supabase Like filter info #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/ff-integrations/database/supabase/database-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,17 @@ Let's see how to filter the Supabase table to display only desired items:
- Find the **Value** property and set it to an appropriate value and click Confirm.

:::tip
You could choose a Filter relation based on your requirements. For example, to show only completed assignments, set the Field Name to the column that holds completed status, e.g., is_done, set the Relation to Equal To, and set the Value to True. Here's another example. For showing only users older than 30, create a column called Age, set the Relation to Greater Than, and set the Value to 30.
You could choose a filter relation based on your requirements. For example:

- **Equal To**: To show only completed assignments, set the **Field Name** to the column that holds the completion status (e.g., **is_done**), set the **Relation** to **Equal To**, and set the **Value** to **True**.
- **Greater Than**: To show only users older than 30, set the **Field Name** to the **age** column, set the **Relation** to **Greater Than**, and set the **Value** to 30.
- **Like**: For filtering addresses with zip codes starting with '35,' set the **Field Name** to the **zip_code** column, set the **Relation** to **LIKE**, and set the **Value** to **35%**. In the value field, you use the following wildcards to perform flexible pattern matching to filter your data effectively.
- **Percent (`%`) Wildcard**: Represents zero, one, or multiple characters.
- Example: `'A%'` matches any string starting with `'A'` (e.g., `'Apple'`, `'Apex'`).
- Example: `'%A%'` matches any string containing `'A'` (e.g., `'Canada'`, `'Australia'`).
- **Underscore (`_`) Wildcard**: Represents a single character.
- Example: `'A_'` matches any two-character string starting with `'A'` (e.g., `'An'`, `'At'`).
- Example: `'A__'` matches any three-character string starting with `'A'` (e.g., `'Ant'`, `'Art'`).
:::

<div class="video-container"><iframe src="https://www.loom.
Expand Down
Loading