Commit 7dfc593
committed
Raise error for invalid fields in sqlmodel_update method
Added an AttributeError in SQLModel.sqlmodel_update when attempting to set a field that does not exist on the model. This improves error visibility and prevents silent failures when invalid fields are provided.1 parent 3e971b2 commit 7dfc593
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
| 1000 | + | |
| 1001 | + | |
1000 | 1002 | | |
1001 | 1003 | | |
1002 | 1004 | | |
| |||
0 commit comments