double arguments translations in subqueries #78

Ciki opened this Issue Dec 20, 2012 · 3 comments


None yet
3 participants

Ciki commented Dec 20, 2012

Arguments in subqueries gets translated twice.

use case:


dg commented Apr 3, 2013

I think it this case you must use %SQL instead of %sql.


milo commented Apr 3, 2013

Agree with DG. One confusion thing is that translate() converts " to '. A litte bit annoing with PostgreSQL. But when you keep one simple rule: Everything from translate() or DibiFluent pass as %SQL, because it is already escaped.

dg closed this Apr 3, 2013


Ciki commented Apr 3, 2013

Oh, I wasn't aware of this option. I use quick-start as a quick reference and this option is missing there. Thanks for pointing this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment