Replies: 2 comments
-
Thank you for opening your first issue in the Canyon-SQL project! |
Beta Was this translation helpful? Give feedback.
-
Hello @qibinlin There's no direct functionality like those For example, after inserting data with a So, if you need something with that, you'll need to procedurally manipulate the Let us know if this helped you. Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request
Is your feature request related to a problem? Please describe.
how do i add a hook method? : Such as modified_field, validate_delete, validate_field,validate_write
Describe the solution you'd like
1, When inserting or updating an entity, the validate_write method is triggered ;
2,When the entity field value is modified, the modified_field and validate_field method is triggered ;
3.When the entity field value is modified, there is a method such as orig() that returns the original record value before modification.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Beta Was this translation helpful? Give feedback.
All reactions