export function subscribeToInvoiceById(id: string) { return supabaseClient .from(`invoices_invoice:id=eq.${id}`) .on("UPDATE", async (payload) => { if (payload.new) { ...
export function subscribeToInvoiceById(id: string) { return supabaseClient .from(`invoices_invoice:id=eq.${id}`) .on("UPDATE", async (payload) => { if (payload.new) { ...
My use case is that I'd like to listen to single row changes (e.g. by id) - not sure if I missed sth in the docs, but I can't find how I do it with v2-client
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.