Trigger
Meaning in software engineering, with examples
In software engineering, trigger means: A piece of code stored in the database that runs automatically when a certain event, such as an insert, update or delete, happens on a table.
In Turkish: tetikleyici, trigger
How it is used
Triggers fire BEFORE or AFTER an event, for example to write audit rows or update a last_modified column. They are powerful but hidden: developers may not know a trigger exists, which makes bugs and slow writes hard to explain. You create, drop, enable and disable triggers.
Example sentences
A trigger writes every price change to the price_history table.
The insert is slow because of a trigger nobody remembered.
Common collocations
- create a trigger
- trigger fires
- AFTER INSERT trigger
- disable a trigger
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Databases and Persistence
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
