You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the update method will replace the entire row - even for columns not specified in payload. Also, it is based on primary key being present.
I would be better to move the update method to a replace method. This reflects better what it actually does.
Then change the behaviour of update to do a batch update - allowing to pass in a filter.
This feels more natural and is in line with other ORMS.
Something like this:
Feature Description
Currently, the update method will replace the entire row - even for columns not specified in payload. Also, it is based on primary key being present.
I would be better to move the update method to a replace method. This reflects better what it actually does.
Then change the behaviour of update to do a batch update - allowing to pass in a filter.
This feels more natural and is in line with other ORMS.
Something like this:
The text was updated successfully, but these errors were encountered: