mljar / piece-of-code

🍰 Coding is piece of cake
https://mljar.com
Other
2 stars 0 forks source link

Improve psql recipes to use SQL string composition #61

Closed a-szulc closed 2 months ago

a-szulc commented 3 months ago

Instead of something like cur.execute("select %s from %s", (column, table)), etc. Use patterns from the docs, mainly sql.identifier for table and column names. Values can be left as is.