Maybe. I already think in terms of transformations (relational algebra and its closure property) when I write SQL and use a lot of CTEs. But I guess the functional way might help people see what's going on.
Re:Show HN: PRQL in PostgreSQL
by CuriouslyC on Monday February 19, 2024 @08:46AM
(#39429653)
I think the debuggability is the #1 issue with database-as-a-platform. Using notices to debug functions is such a poor workflow that even though I'm bullish on putting stuff in PG I avoid writing complex code might need to be debugged as an integrated unit.
I don't think it's suggested that this replaces SQL. Use the right tool (and abstraction) for the job?