Skip to main content

foreign_key_function

Function foreign_key_function 

Source
pub fn foreign_key_function(function: u32) -> Option<u32>
Expand description

The place of a function of the foreign keys in the order of ri_triggers.c, from 0 for RI_FKey_check_ins to 11 for RI_FKey_noaction_upd, or None for another function. The functions of the referencing table are 0 and 1. For the referenced table, an even place is a function of DELETE and an odd place a function of UPDATE.