Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Take a look at JinjaSQL - https://github.com/hashedin/jinjasql. Beyond a certain complexity, Django ORM gets in the way. Constructing SQL by hand is painful and can lead to SQL injection. And that's where JinjaSQL shines.

You write your query as a string template, and then jinjasql interpolates the variables and provides the bind parameters. Makes it easy to maintain complex queries.






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: