© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
1 reply
MDobs

Subscribe to specific row

I'm trying to subscribe to changes on table
game_rooms
game_rooms
where the row has a column named
nickname
nickname
with a value of
x
x

 const gameRooms = supabase
        .from(`game_rooms:nickname=eq.${gameRoomNickname}`)
        .on("*", (payload) => {
            console.log("Change received!", payload)
        })
        .subscribe()
 const gameRooms = supabase
        .from(`game_rooms:nickname=eq.${gameRoomNickname}`)
        .on("*", (payload) => {
            console.log("Change received!", payload)
        })
        .subscribe()

this throws an error though, although it follows the example from the API page. What seems to be wrong with it?
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

Upsert a specific row with API
SupabaseSSupabase / help-and-questions
4y ago
Allow database row to associate to a specific storage file
SupabaseSSupabase / help-and-questions
4y ago
subscribe delay
SupabaseSSupabase / help-and-questions
4y ago
Insert row only for specific discord IDs
SupabaseSSupabase / help-and-questions
4y ago