🎉 October Learning Month — learn a new software term every day!
An interactive flashcard trainer for software engineering terms.

Trigger

In plain terms

Database code that runs automatically on data events.

Going deeper

A trigger executes defined logic when rows are inserted, updated, or deleted, enforcing rules or logging changes. It fires without explicit calls.

Under the hood

Useful for auditing and integrity but can hide logic and hurt performance if overused.

Examples

Audit logging, auto-updating timestamps, enforcing rules, cascading changes.

Think of it like...

Like a motion sensor that automatically acts whenever something moves.

Feedback & Bug Report