|
|
|
|
|
by smallnamespace
1935 days ago
|
|
Right, except if my backend is in JS, there's a cognitive cost to adding another language to the stack. I could use plv8, but there's a more subtle preference here for JS to wrap SQL, rather than the reverse (plus tooling is less convenient, e.g. if you're writing Typescript). My rule of thumb is: SQL great, PL not so much. |
|
Agreed.
However, I don't see why not use one of the other mature "real" extension languages other than pl/pgSQL.
As for typescript, maybe there's (distant) hope:
https://github.com/supabase/postgres-deno