Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Timwi
· 1y ago · 0 comments
But that would require any SQL library you're currently using to make the breaking change of no longer allowing strings.
Comments
[–]
baggiponte
1y ago
sqlalchemy doesn’t really accepts strings - if you do, you need to pass them into a “conn.execute(text(…))”, so end users should not face a breaking change.
[–]
nhumrich
1y ago
Yep. Probably worth it. You could also do this with a monkeypatch method to "opt in" to this change.
[–]
sanderjd
1y ago
Yes. That's exactly what will happen, over time.
[–]
masklinn
1y ago
Yes?