FeatureFuel
1

Postgres Realtime Querying hydration and commonality to postgREST

Source: supabase/supabase#14031 · opened by @Towerful
Hello, I would love to see some better hydration options for Postgres Realtime. Would it be possible for a successful connection to also return an initial data set? Alternatively, is there a way to use the supabase-js query builder to return the RealtimePostgresChangesFilter object? so supabase.from('users').select('name').eq('id', 1).toRealtime('*') might return {event: '*', schema: 'public', table: 'users', filter: 'id=eq.1'} This would allow something like: or, perhaps, the result of the await-ed query would have an additional realtime property that would include the information. e.g ---------------- I realise that this breaks down when dealing with multiple relations and complex queries. Using the 2nd method above (after a successful query) might allow for auto-generation of multiple realtime filters, however the complexity would very quickly explode. It might wo…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests