NAME

FusqlFS::Backend::PgSQL::Table::Triggers

SYNOPSIS

use FusqlFS::Backend::PgSQL::Table::Triggers

my $triggers = FusqlFS::Backend::PgSQL::Table::Triggers->new();

DESCRIPTION

EXPOSED STRUCTURE

./handler

Symlink to function in ../../../../functions, which executes on trigger event(s).

./create.sql

CREATE TRIGGER clause to create this trigger.

./struct

Additional trigger info with following fields:

for_each

one of row or statement defines if trigger will be triggered for each touched row or once for whole statement.

when

one of before or after defines if trigger is triggered before or after event(s).

events

set of insert, update, delete, truncate list of events trigger will be triggered on.

METHODS

new

Class constructor.

Output: $triggers_instance.

get
list
drop
store
rename