Triggers¶

A trigger performs a series of instructions whenever a specified event occurs for a table. Possible triggering events are INSERT, UPDATE, and DELETE. A trigger can be set to be executed either BEFORE or AFTER an event. For example, a trigger might be run AFTER INSERT or BEFORE DELETE.

Information on this topic can be found in the MariaDB Public KB.