Let me elaborate on the title.
Suppose we have two tables, t1
and t2
. t2
has a trigger t2_trg
on it. Same transaction inserts/updates data in t1
, then does insert/update in t2
. t2_trg
is fired and starts doing its thing. Is this trigger able to see all the changes done in t1
?
P.s. I found other topics on this problem, but they we're mostly for SQL Server.
PRAGMA AUTONOMOUS_TRANSACTION