Class PostgresChangesFilter
- Namespace
- Supabase.Realtime.PostgresChanges
- Assembly
- Supabase.Realtime.dll
Optional targeting for an OnPostgresChange listener — which schema, table, and rows to
listen to. The event to listen for is passed separately as a PostgresChangesOptions.ListenType
parameter; this object carries only the remaining, optional criteria (all with safe defaults).
public class PostgresChangesFilter
- Inheritance
-
PostgresChangesFilter
- Inherited Members
Examples
new PostgresChangesFilter { Table = "todos", Filter = "id=eq.1" }
Properties
Filter
An optional row filter in PostgREST syntax, e.g. id=eq.1.
public string? Filter { get; set; }
Property Value
Schema
The Postgres schema to listen to. Defaults to public.
public string Schema { get; set; }
Property Value
Table
The table to listen to. null (the default) listens to every table in the schema.
public string? Table { get; set; }