Files
supabase/apps/reference/_supabase_js/generated/db-modifiers-select.mdx
T
Bobbie Soedirgo 7c827376c2 docs(reference/v2): add missing modifiers
These are `abortSignal()`, `csv()`, `explain()`, `geojson()`,
`select()`, `rollback()`.

More detailed description will be in a separate PR.
2022-09-20 21:28:12 +08:00

42 lines
946 B
Plaintext

---
id: db-modifiers-select
title: 'select()'
slug: /db-modifiers-select
custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_js_v2_legacy.yml
---
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
Perform a SELECT on the query result.
By default, `.insert()`, `.update()`, `.upsert()`, and `.delete()` do not
return modified rows. By calling this method, modified rows are returned in
`data`.
## Parameters
<ul className="method-list-group">
<li className="method-list-item">
<h4 className="method-list-item-label">
<span className="method-list-item-label-name">
columns
</span>
<span className="method-list-item-label-badge false">
optional
</span>
<span className="method-list-item-validation">
<code>Query</code>
</span>
</h4>
<div class="method-list-item-description">
The columns to retrieve, separated by commas
</div>
</li>
</ul>