© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
5 replies
Arne Wiese

Listen to single row changes with v2-client

Previously, I could do sth like this:
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 banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Unable to listen to postgres_changes
SupabaseSSupabase / help-and-questions
2mo ago
Listen changes to a specific column
SupabaseSSupabase / help-and-questions
4y ago
80 mb usage with 1 single row?
SupabaseSSupabase / help-and-questions
3y ago
How to listen for changes and update state?
SupabaseSSupabase / help-and-questions
4y ago