Skip to content

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

Kaizen: get example missing select()

Paul Copplestone0dc6e2408975
diff --git a/web/docs/library/get.mdx b/web/docs/library/get.mdx
index 18d14de2d3c..1121cf513a4 100644
--- a/web/docs/library/get.mdx
+++ b/web/docs/library/get.mdx
@@ -19,7 +19,7 @@ import DummyData from '../common/DummyData.mdx'
This example shows how to get all the countries in our database:
<!-- prettier-ignore -->
-```js {7-8}
+```js {7-9}
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
@@ -28,6 +28,7 @@ const getCities = async () => {
try {
let cities = await supabase
.from('cities')
+ .select('*')
return cities
} catch (error) {
console.log('Error: ', error)