Method: Sequel::Postgres::DatabaseMethods#rollback_prepared_transaction

Defined in:
lib/sequel/adapters/shared/postgres.rb

#rollback_prepared_transaction(transaction_id, opts = OPTS) ⇒ Object

Rollback an existing prepared transaction with the given transaction identifier string.



443
444
445
# File 'lib/sequel/adapters/shared/postgres.rb', line 443

def rollback_prepared_transaction(transaction_id, opts=OPTS)
  run("ROLLBACK PREPARED #{literal(transaction_id)}", opts)
end