17 ms·
That was Django, not SQLAlchemy. You can also do it more as you describe, `get(pk=id)` instead of `findOne`. I just find it pointlessly different to SQL, not r
by OJFord 5y ago
That was Django, not SQLAlchemy. You can also do it more as you describe, `get(pk=id)` instead of `findOne`.
I just find it pointlessly different to SQL, not really saying it's worse.
The SQL would be `update table set thing = ? where id = ?`.