mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
The following changes were made: - Clean up getting-started.mdx for better formatting. - Edited and cleaned up subscribe.mdx based on latest changes. - Introduced from() to all.
38 lines
961 B
Plaintext
38 lines
961 B
Plaintext
import Collapsable from '../../src/components/Collapsable'
|
|
|
|
<!-- prettier-ignore -->
|
|
```js {2}
|
|
supabase
|
|
.from(tableName)
|
|
```
|
|
<div style={{display: props.verb == 'subscribe' ? 'block' : 'none'}}>
|
|
|
|
#### `tableName: string`
|
|
Name of the database table to be listened to. Using the wildcard `"*"` will lead to all tables to be listened to.
|
|
</div>
|
|
|
|
<div style={{display: props.verb == 'get' ? 'block' : 'none'}}>
|
|
|
|
#### `tableName: string`
|
|
Name of the database table that will be read from.
|
|
</div>
|
|
|
|
<div style={{display: props.verb == 'post' ? 'block' : 'none'}}>
|
|
|
|
#### `tableName: string`
|
|
Name of the database table where data will be saved.
|
|
</div>
|
|
|
|
<div style={{display: props.verb == 'patch' ? 'block' : 'none'}}>
|
|
|
|
#### `tableName: string`
|
|
Name of the database table where data will be udpated.
|
|
</div>
|
|
|
|
<div style={{display: props.verb == 'delete' ? 'block' : 'none'}}>
|
|
|
|
#### `tableName: string`
|
|
Name of the database table where data will be deleted.
|
|
</div>
|
|
|
|
--- |