mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
- For all new filters introduced in postgrest-js 0.12.0 - Started with .select() first, the rest should be quicker from here. - Took the liberty as well to group common snippets as well to minimise surface area. - Surface area of examples could be further reduced.
18 lines
321 B
JavaScript
18 lines
321 B
JavaScript
/**
|
|
* Common snippets shared across all examples
|
|
*/
|
|
|
|
export const importJs = `
|
|
import { createClient } from '@supabase/supabase-js'
|
|
|
|
const supabase = createClient('https://world.supabase.co', 'public-key-bOYapLADERfE')
|
|
`
|
|
|
|
export const errorJs = `
|
|
} catch (error) {
|
|
console.log('Error: ', error)
|
|
}
|
|
}
|
|
`.trim()
|
|
|