The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): use default connection string (#47233)
Kalleby Santosf09701bda088
diff --git a/examples/edge-functions/supabase/functions/postgres-on-the-edge/index.ts b/examples/edge-functions/supabase/functions/postgres-on-the-edge/index.tsindex 5950f81ad1b..e74d547d3a6 100644--- a/examples/edge-functions/supabase/functions/postgres-on-the-edge/index.ts+++ b/examples/edge-functions/supabase/functions/postgres-on-the-edge/index.ts@@ -1,17 +1,7 @@import { Pool } from 'jsr:@db/postgres@^0'// Create a database pool with one connection.-const pool = new Pool(- {- tls: { enabled: false },- database: 'postgres',- hostname: Deno.env.get('DB_HOSTNAME'),- user: Deno.env.get('DB_USER'),- port: 6543,- password: Deno.env.get('DB_PASSWORD'),- },- 1-)+const pool = new Pool(Deno.env.get('SUPABASE_DB_URL')!, 1)export default {fetch: async (_req) => {