Hacker News new | ask | show | jobs
by xupybd 1714 days ago
"In these cases, I’ve elected to write queries using a templating system and describe the tables using the ORM. I get the convenience of an application level description of the table with direct use of SQL. It’s a lot less trouble than anything else I’ve used so far."

This has been the best that I've encountered myself.