semvec/pypi-packages huggingface dataset:
jinjasql2 0.1.12
Generate SQL Queries and Corresponding Bind Parameters using a Jinja2 Template
License: MIT
Keywords: Jinja2, SQL, Python, Template


Generate SQL Queries using a Jinja Template, without worrying about SQL Injection

JinjaSQL automatically binds parameters that are inserted into the template.
After JinjaSQL evaluates the template, you get 1) Query with placeholders
for parameters, and 2) List of values that need to be bound to the query. 

JinjaSQL doesn't actually execute the query - it only prepares the 
query and the bind parameters. You can execute the query using any 
database engine / driver you are working with.