# Triggers - Overview
Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)
Database triggers provide users with the capability to monitor updates to the database to file level. The three database updates for which triggers are provided are Write, Delete and Clear. Two database trigger events, a pre update event and a post update event are provided for each update type. The pre update event is triggered before the update to the database is executed and the post update event is triggered after the database update.
The following jBASE database trigger utilities enable users to configure and display database triggers for any file within the database.
|CREATE-TRIGGER||create trigger events for a file|
|DELETE-TRIGGER||delete trigger events for a file|
|LIST-TRIGGER||list triggers events on a file|
The trigger events manifest themselves by calling a user supplied subroutine, which can be independently configured for each file. Each user subroutine must make provision for all the event types which could be triggered for that file. The trigger API document gives more information about this. The trigger guidelines document gives more information about best practices when using triggers.
Back to Triggers