Can you use `createClient` with the Transaction pooler?
In node.js, I'm trying to use
In supabase it says to use this URI:
But if I pass that to
Am I meant to be using a different lib by any chance?
@supabase/supabase-js's createClient, however this is in a serverless function so I want to use the Transaction pooler provided by supabase (https://supabase.com/dashboard/project/_?showConnect=true)In supabase it says to use this URI:
postgres://postgres:[YOUR-PASSWORD]@db.xxxxxxxxxxxxxxx.supabase.co:6543/postgresBut if I pass that to
createClient, it errors saying: Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.Am I meant to be using a different lib by any chance?
