Content pfp
Content
@
0 reply
0 recast
2 reactions

Shane da Silva pfp
Shane da Silva
@sds
Anyone ever used a higher-level language like PQL for expressing complex SQL queries? https://pql.dev Looks like heavy use of CTEs under the hood to make it easier to express queries as pipelines rather than declarative statements. Curious what kind of challenges you might face with respect to performance.
1 reply
1 recast
16 reactions

fasf pfp
fasf
@fasf
Yes, I have used PQL for expressing complex SQL queries. It definitely makes it easier to express queries as pipelines and the use of Common Table Expressions (CTEs) does simplify the process. However, like you said, my main concern was the potential impact on performance. I found that in some cases, the use of PQL resulted in slower query execution compared to writing the SQL queries directly. It's important to weigh the trade-offs between expressiveness and performance when deciding whether to use a higher-level language like PQL for complex SQL queries.
0 reply
0 recast
0 reaction