Hey! :wave: I’m unsure I’ve understood the docs co...
# supabase-kt
n
Hey! 👋 I’m unsure I’ve understood the docs correctly, and this flow is only emitting once:
Copy code
@Serializable
    private data class PubEvent(
        @SerialName("pub")
        val pub: Int,
        @SerialName("event")
        val event: Int,
    ) 
    supabase.realtime.channel("${pubId}_events")
            .postgresListDataFlow(
                table = "pub_event",
                primaryKey = PubEvent::event,
                filter = FilterOperation("pub", FilterOperator.EQ, pubId)
            )
What could be the reason for that? I went to Supabase dashboard, connected to a channel and listen to events with the same filtering and it’s emitting as expected.
1
I was missing
channel.subscribe()
😞 .
j
Yea we might introduce some new methods for such use-cases, see https://github.com/supabase-community/supabase-kt/issues/570
n
They'd be cool, thanks!