How do I join foreign table in realtime? ```js su...
# help
v
How do I join foreign table in realtime?
Copy code
js
supabase
      .from(`kaguya_rooms:id=eq.${query.id}`)
      .on("UPDATE", (payload) => {
        console.log("Change received!", payload);
      })
      .subscribe();
Is there anyway to join table on the fly with realtime?
n
Hello @VuNguyen! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
No. You will have to do a select call in your payload handler.
n
VuNguyen (2022-03-24)
v
alright thanks
n
Thread was archived by @VuNguyen. Anyone can send a message to unarchive it.