\"Make things as simple as possible, but no simpler.\"
Can we find the solution/s that fix the Python database world?
Update: A
Forget ORM! I like vanilla SQL. The python wrappers like psycopg2
for postgreSQL do automatic type conversion, offer pretty good protection against SQL injection, and are nice and simple.
sql = "SELECT * FROM table WHERE id=%s"
data = (5,)
cursor.execute(sql, data)
What about using Elixir?