Closed kigawas closed 4 years ago
Could you please provide an example to describe your use case? Are you trying to overwrite the Model.update()
method?
I'd like to overwrite the default update method sometimes - especially for some base classes.
I misunderstood.
After closer inspection, I realized just need to overwrite _update
, _delete
etc.
UpdateRequest.update
collides withCRUDModel.update
Thus, we cannot redefine the update method at the bottom model level.
I recommend adding an underline to
CRUDModel.create
likecreate_
, as well asupdate
,query
, etc.