Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: Put stream() inside Realtime

dshukertjreff3830aca9f
diff --git a/web/sidebar_spec_dart.js b/web/sidebar_spec_dart.js
index c87552a0a64..a5fad0751a3 100644
--- a/web/sidebar_spec_dart.js
+++ b/web/sidebar_spec_dart.js
@@ -21,13 +21,7 @@ module.exports = {
{
type: 'category',
label: 'Realtime',
- items: ['reference/dart/subscribe', 'reference/dart/removesubscription', 'reference/dart/getsubscriptions'],
- collapsed: true,
- },
- {
- type: 'category',
- label: 'Stream',
- items: ['reference/dart/stream'],
+ items: ['reference/dart/subscribe', 'reference/dart/removesubscription', 'reference/dart/getsubscriptions', 'reference/dart/stream'],
collapsed: true,
},
{
diff --git a/web/spec/dart.yml b/web/spec/dart.yml
index f2077bced55..4c209f47e95 100644
--- a/web/spec/dart.yml
+++ b/web/spec/dart.yml
@@ -43,8 +43,6 @@ info:
- subscribe()
- removeSubscription()
- getSubscriptions()
- - name: 'Stream'
- items:
- stream()
- name: 'Storage'
items:
@@ -763,7 +761,6 @@ pages:
title: 'stream()'
notes: |
- `stream()` will emit the initial data as well as any further change on the database as `Stream` of `List<Map<String, dynamic>>` by combining Postgrest and Realtime.
- - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).
examples:
- name: Listening to a specific table
isSpotlight: true