Skip to content

Commit f476a83

Browse files
authored
Merge pull request #209 from FlutterFlow/pinkesh/supabse-streaming-limitation
Added Supabase Streaming Filter Limitation
2 parents c28eca7 + 78a2402 commit f476a83

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/resources/control-flow/backend-logic/backend-query/query-collection.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ The instructions to query a Supabase table are almost the same, except that for
8080
</iframe>
8181
</div>
8282

83+
:::warning[Limitations of Supabase Streaming with Filters]
84+
When using Supabase query with real-time updates enabled, you have the following limitations:
85+
86+
- **Only One Filter is Supported:** Supabase streaming supports only a single filter. Combining multiple filters (e.g., `isActive = true AND city = 'Los Angeles'`) is not allowed.
87+
- **Delete Events are not Filterable:** Streaming queries do not detect deletions, even if the deleted row matches the filter condition. For example, If you are streaming rows with the filter `city = 'New York’` and a row is deleted, the query output will not reflect the deletion.
88+
- **Updates that remove Rows from Filters are not Tracked:** Changes that make a row no longer match the filter condition (e.g., updating `isActive` from `true` to `false`) will not trigger an update in the query output.
89+
90+
For more details, refer to the limitations mentioned in the [**official Supabase docs**](https://supabase.com/docs/guides/realtime/postgres-changes?queryGroups=language&language=js&queryGroups=database-method&database-method=dashboard#delete-events-are-not-filterable).
91+
:::
92+
8393
## Using Query Data
8494

8595
The documents retrieved from the backend query can be used to set the record values to the widgets

0 commit comments

Comments
 (0)