createOrReplaceDeleteTrigger method

List<String> createOrReplaceDeleteTrigger(
  1. QualifiedTablename table,
  2. String newPKs,
  3. String newRows,
  4. String oldRows,
)

Creates or replaces a trigger that logs deletions into the oplog.

Implementation

List<String> createOrReplaceDeleteTrigger(
  QualifiedTablename table,
  String newPKs,
  String newRows,
  String oldRows,
) {
  return createOrReplaceOplogTrigger(
    SqlOpType.delete,
    table,
    newPKs,
    newRows,
    oldRows,
  );
}