createOrReplaceInsertCompensationTrigger method
List<String>
createOrReplaceInsertCompensationTrigger(
- QualifiedTablename table,
- String childKey,
- QualifiedTablename fkTable,
- String joinedFkPKs,
- ForeignKey foreignKey,
Creates a trigger that logs compensations for insertions into the oplog.
Implementation
List<String> createOrReplaceInsertCompensationTrigger(
QualifiedTablename table,
String childKey,
QualifiedTablename fkTable,
String joinedFkPKs,
ForeignKey foreignKey,
) {
return createOrReplaceFkCompensationTrigger(
'INSERT',
table,
childKey,
fkTable,
joinedFkPKs,
foreignKey,
);
}