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