DELETING

<< CURRENT_USER | FB 2.5 Language Reference | GDSCODE >>
<< CURRENT_USER | FB 2.1 Language Reference | GDSCODE >>
<< CURRENT_USER | FB 2.0 Language Reference | GDSCODE >>

DELETING

Available in: PSQL

Added in: 1.5

Description

Available in triggers only, DELETING indicates if the trigger fired because of a DELETE operation. Intended for use in multi-action triggers.

Type: Boolean

Example

 if (deleting) then
 begin
   insert into Removed_Cars (id, make, model, removed)
     values (old.id, old.make, old.model, current_timestamp);
 end

back to top of page
<< CURRENT_USER | FB 2.5 Language Reference | GDSCODE >>
<< CURRENT_USER | FB 2.1 Language Reference | GDSCODE >>
<< CURRENT_USER | FB 2.0 Language Reference | GDSCODE >>