DTDrizzle Team
Created by luis on 6/10/2024 in #help
Drizzle ORM + Supabase Enforce SSL
I'm trying to connect with a direct pool connection (transaction mode). I'm deploying to Supabase Deno functions. This is my URL: postgres://postgres.{user}:[YOUR-PASSWORD] const client = postgres(url, { prepare: false }); const db = drizzle(client); Supabase returns "SSL connection is required" I tried appending the sslmode in the url, but nothing has worked. ?sslmode=no-verify,strict,verify-full etc. How can I connect to Supabase with Drizzle using SSL?
5 replies