code-reviews

srihari 2015-12-02T05:15:51.000026Z

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

borkdude 2015-12-02T08:14:28.000027Z

@srihari: compose as in with honeysql or something?

borkdude 2015-12-02T08:14:44.000028Z

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

srihari 2015-12-02T08:29:44.000029Z

@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.

borkdude 2015-12-02T08:30:20.000030Z

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

srihari 2015-12-02T08:30:45.000031Z

:simple_smile: