mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 23:49:03 +00:00
## Problem Fixes #50532 The database examples in the Broadcast guide pass the last argument of `realtime.send()` and `realtime.send_binary()` positionally, label it differently each time, and two of them pass `false` without saying that makes the message public. The note at the top calls it the "public flag" and names it `is_private`, but the argument is `private`. ## Solution All three database examples now use named notation with `private => true`, so each call says what the value means and shows the default. The note refers to the `private` argument and lists the default first. The Studio changes from the earlier version of this branch are dropped and will go in their own PR. ## Review instructions 1. Open the Broadcast guide and check the examples under "Broadcast from the Database" and "Broadcasting a message from your database". 2. Run any of them in the SQL editor. Each inserts a private message into `realtime.messages`.