getTriggers

abstract fun getTriggers(transaction: Boolean): KTriggers
  • If trigger type is 'BINLOG_ONLY'
    • If `transaction` is true, throws exception
    • If `transaction` is false, return binlog trigger
  • If trigger type is 'TRANSACTION_ONLY', returns transaction trigger no matter what the `transaction` is
  • If trigger type is 'BOTH'
    • If `transaction` is true, return transaction trigger
    • If `transaction` is false, return binlog trigger
    Note that the objects returned by different parameters are independent of each other.

Return

Trigger

Parameters

transaction