RealtimePostgresFilterBuilder
Fluent builder for Postgres Changes filter strings.
Each method appends a single column=operator.value condition. Multiple conditions are combined with commas, which the Realtime server applies as an AND. Use the DSL in RealtimeChannel.postgresChangeFlow — the SDK serializes it to a string automatically — or call build to obtain the string yourself.
The builder mirrors the postgrest-kt filter API (eq, neq, in, like, not, …) for the operators that Realtime supports. Values containing reserved characters (,, (, ), ", \) — or surrounding whitespace — are automatically double-quoted and escaped the same way PostgREST does, so they survive the server's filter parser; all other values are sent verbatim.
Functions
Match rows where column is one of values (column=in.(a,b,c)). Requires at least one value; duplicates are removed. An element containing a reserved character is double-quoted (in.("a,b",c)), so commas inside an element are preserved. null is intentionally not accepted (IN (null) never matches in SQL) — use is/not('col','is',null) for null checks.
Negate any operator with the not. prefix (column=not.operator.value). in takes an array, is takes an IS keyword/boolean/null, and every other operator takes a scalar value.