Open fvaldes33 opened 4 months ago
When using realtime postgres_changes, I noticed that filtering on jsonb columns doesn't work. I maybe have a bug somewhere but without the filter or with a filter on a regular text column works.
const channel = supabase .channel(`queue:${organization.id}`) .on( "postgres_changes", { event: "*", schema: "pgboss", table: "job", filter: `data->>organization_id=eq.${organization.id}`, }, (payload) => { console.log("queue/pgboss/job", payload); } ) .subscribe();
Steps to reproduce the behavior, please provide code snippets or a repository:
I would expect the jsonb->>field=eq.value to work as it does with supabase-js or regular postgrest requests.
Bug report
Describe the bug
When using realtime postgres_changes, I noticed that filtering on jsonb columns doesn't work. I maybe have a bug somewhere but without the filter or with a filter on a regular text column works.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
I would expect the jsonb->>field=eq.value to work as it does with supabase-js or regular postgrest requests.
System information