Back to discussionComment by samwillis[-]samwillis2 years ago2 replies#This is high on my list, I have a few ideas how to do it, one being a "PL/JS" extension that calls out to the host JS environment to run JS functions.isoprophlex2 years ago#I think PG is relatively ideal for that. In a classical data warehousing/ETL context, I've called python directly from inside PG, which has its quirks but is pretty doable, all in all...https://www.postgresql.org/docs/current/plpython.htmlAlexErrant2 years ago#FYI Turso does it with WASM https://turso.tech/blog/webassembly-functions-for-your-sqlit...
samwillis2 years ago2 replies#This is high on my list, I have a few ideas how to do it, one being a "PL/JS" extension that calls out to the host JS environment to run JS functions.
isoprophlex2 years ago#I think PG is relatively ideal for that. In a classical data warehousing/ETL context, I've called python directly from inside PG, which has its quirks but is pretty doable, all in all...https://www.postgresql.org/docs/current/plpython.html
AlexErrant2 years ago#FYI Turso does it with WASM https://turso.tech/blog/webassembly-functions-for-your-sqlit...
https://www.postgresql.org/docs/current/plpython.html