"pre_insert" Trigger
Description
pre_insert
trigger is fired just before an insert sql command issued to the database. If function returns false, SQL command will not be issued.
Declaration
bool block_name.pre_insert();
Example
bool categories.pre_update() {
return false;
}
bool categories.pre_delete() {
return false;
}
bool categories.pre_insert() {
return false;
}
See also
Last updated
Was this helpful?