TypeError: client.unsafe is not a function
Hi Guys
I got a challenge where it said TypeError: client.unsafe is not a function.
so basically i was switching from neondb to supabase, in the drizzle documentations i need to use postgres.js as the packages and remove @Neondatabase/serverless.
but i relized because im using cloudflare pages, that postgres.js is not edge compatible although there is workaround using
but i just do some experimentation to use @Neondatabase/serverless with supabase db, has anyone tried it??
I try it but i get error:
TypeError: client.unsafe is not a function.
although using nodejs_compat is fine, i just want to remove too much complexity because im still begineer and it's more neat not to use nodejs_compat
1 Reply
Anyone tried this?