onInsert MethodProtected Static
Called before a new Model is inserted.
onInsert(arg: OnModelPropsArg): void
@note throw an exception to disallow the insert
@note If you override this method, you must call super.
@note this
is the class of the Model to be inserted
Parameter | Type | Description |
---|---|---|
arg | OnModelPropsArg |
Returns - void
Defined in
- core/backend/src/Model.ts Line 99
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.