- attached sa2413.py
Update clause silently ignores fields which are not present in schema
Issue #2413
resolved
If field "a" is in schema, but "b" is not, the code
some_table.update().values(a=1, b=2)
generates
UPDATE some_table SET a=:a
without any warning.
It would be nice instead to raise an exception indicating that field "b" does not exist.
Comments (3)
-
-
repo owner need to stick with a warning until 0.8, see
#2415 -
repo owner - removed milestone
Removing milestone: 0.7.6 (automated comment)
- Log in to comment
test case