4 ms·
> While JinjaSQL can handle insert/update statements, you are better off using your ORM to handle such statements. JinjaSQL is mostly meant for dynamic select s
by marcloney 10y ago
> While JinjaSQL can handle insert/update statements, you are better off using your ORM to handle such statements. JinjaSQL is mostly meant for dynamic select statements that an ORM cannot handle as well.
[1] https://github.com/hashedin/jinjasql#when-to-use-jinjasql https://github.com/hashedin/jinjasql#when-to-use-jinjasql
- asabil 10y agoSorry, but this doesn't answer my question. Prepared statements have nothing to do with ORMs.
- jlogsdon 10y agoThis library doesn't run SQL, its only a template engine that gives you back a parameterized query and parameter array back. It's up to you to actually use them with an adapter, which means you can use prepared statements.