pub fn trigger_when(env: &dyn Env, oid: u32) -> Result<Option<(Query, Expr)>>Expand description
The condition of WHEN of the trigger of the catalog with the OID, with the query that has old and new as its relations, or None when the catalog has no such trigger or the trigger has no condition. pg_get_triggerdef shows the condition.