Nacho Ruiz Martin
07/12/2024, 11:08 AMfilter = FilterOperation("id", <http://FilterOperator.IN|FilterOperator.IN>, ids) //ids is a List<Int>
I had to change it to
filter = FilterOperation("id", <http://FilterOperator.IN|FilterOperator.IN>, "(${ids.joinToString(",")})") //ids is a List<Int>
First one is sending “in.[1,2,3]” in the filter and it should be “in.(1,2,3)“.Jan
07/12/2024, 11:11 AMNacho Ruiz Martin
07/12/2024, 11:12 AMPostgrestFilterBuilder
in selectAsFlow
, can I? Why is the reason for that?Jan
07/12/2024, 11:16 AMSo it’s expected that I need to join that manually, right?Yea, however, we could create an overload for lists
The problem is that I can’t useBecause that filter is going to be used in the realtime channel, and realtime doesn't support multiple filters. The single value variant does support this but only because the filters are only used for the postgrest request, and the realtime filter is just going comparing the primary key.inPostgrestFilterBuilder
, can I? Why is the reason for that?selectAsFlow
Nacho Ruiz Martin
07/12/2024, 11:17 AMjoinToString
for now, then.
Thanks!
we could create an overload for listsLMK if you want that, I’d be able to.