Update clause silently ignores fields which are not present in schema

Issue #2413 resolved
dimsmol created an issue

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)

  1. Log in to comment