Get the latest tech news
Show HN: SQL-tString a t-string SQL builder in Python
SQL-tString allows for f-string like construction of sql queries - GitHub - pgjones/sql-tstring: SQL-tString allows for f-string like construction of sql queries
The query is a str and values a list[Any], both are then typically passed to a DB connection. In other locations SQL-tString will allow pre defined column or table names to be used, SQL-tString will also remove parameters if they are set to the special value of Absent(or RewritingValue.Absent).
Or read this on Hacker News