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

This commit is contained in:
Angelico committed 2020-01-20 13:14:35 +08:00
commit a5f18f3379
2 files changed
+2 -1

No files matched your search

+2 -1
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