Subscribe to Sessions
const subscription = supabase
.channel("sessions")
.on("postgres_changes", { event: "*", schema: "public", table: "sessions" }, (payload) => {
console.log(payload);
})
.subscribe();
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Real-time subscriptions
const subscription = supabase
.channel("sessions")
.on("postgres_changes", { event: "*", schema: "public", table: "sessions" }, (payload) => {
console.log(payload);
})
.subscribe();