Merge branch 'master' of github.com:supabase/monorepo

This commit is contained in:
Angelico
2020-01-20 13:14:35 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 KiB

After

Width:  |  Height:  |  Size: 1.8 MiB