Method: Sequel::Database::RunTransactionHooks#run_after_commit_hooks

Defined in:
lib/sequel/extensions/run_transaction_hooks.rb

#run_after_commit_hooks(opts = OPTS) ⇒ Object

Run all savepoint and transaction after_commit hooks for the current transaction, and remove the hooks after running them. Options:

:server

The server/shard to use.

[View source]

34
35
36
# File 'lib/sequel/extensions/run_transaction_hooks.rb', line 34

def run_after_commit_hooks(opts=OPTS)
  _run_transaction_hooks(:after_commit, opts)
end