Error with realtime.send function, says it does not exist
Goal:
Using Supabase real time according to the docs to broadcast a message to client once a row is updated in a table so client can handle it approriately
Problem:
I followed these instructions and setup the connection and the trigger like so:
https://supabase.com/docs/guides/realtime/getting_started?queryGroups=language&language=ts#4-set-up-authorization
But its giving an error:
3 Replies
Looks like the order is wrong in the doc...
I find this definition in the source code. Not the JSONB comes first.

And also this other example in the docs:

thanks for the info!