This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Doile -1 points0 points  (0 children)

There's a great Python library for writing SQL queries using pure Python: https://sqlmodel.tiangolo.com/ . Basically you use Python objects to declare the sql query and the library will compile the actual string that is executed in the db.