Skip to content

Strategies for handling one-to-many or many-to-many relations #583

Answered by kiwicopple
kapoko asked this question in Questions
Discussion options

You must be logged in to vote

Hey @kapoko - thanks for the patience. We're still brainstorming on this one. I shared some thoughts in another issue, and here is the current thinking: https://paul.copplest.one/blog/realtime-user-store.html

We are working on our CLI this quarter, and I hope that it will incrementally move us towards a solution where we can generate your schema into a set of "subscription rules". This would mean that you can fetch your data using PostgREST, then the data is constantly kept in sync through our Realtime engine. We re-enginered our supabase-js library earlier to have one socket-connection per "client" (previously it would generate a connection per "subscribe()") and so the parts are slowly …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kapoko
Comment options

@braebo
Comment options

@kiwicopple
Comment options

Answer selected by kapoko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants