Fork me on GitHub
#code-reviews
<
2015-12-02
>
srihari05:12:51

@borkdude: how about – represent part of the query separately for legibility, and then compose them for performance? Best of both worlds? simple_smile

borkdude08:12:28

@srihari: compose as in with honeysql or something?

borkdude08:12:44

@srihari: I'm now using yesql, plain sql

srihari08:12:44

@borkdude: I don’t know if it’s possible in your case, but I was just thinking that parts of the sql – subqueries, WITH queries and such could be separately represented for readability and then put together before sending it to the DB.

borkdude08:12:20

@srihari: I'm already writing subqueries, but maybe I should use comments in SQL 😉