News for hackers. Stuff that matters.
Re:Show HN: PRQL 0.2 – a better SQL by alphanumeric0 on Tuesday June 28, 2022 @02:45AM (#31904850)
I find SQL harder to work with because I'm used to reading and writing functions - functions that have explicit parameters with (hopefully) explicit types, and explicit return types.

So I was hoping PRQL might have some sugar like that.

It'd be nicer for my brain if I could treat any select like a function that transforms a set. Instead, even with PRQL, I'm stuck examining source tables and fully understanding them before being able to understand the query.

Re:Show HN: PRQL 0.2 – a better SQL by mandaputtra on Tuesday June 28, 2022 @02:48AM (#31904866)
Is this like what ORM for?
Re:Show HN: PRQL 0.2 – a better SQL by alphanumeric0 on Tuesday June 28, 2022 @01:03PM (#31910254)
Yeah, but without the objects.