Sha256: 5f4097f6d4241d573159adde135bc73b0bfd37af5e26bb928188da041538c424
Contents?: true
Size: 594 Bytes
Versions: 13
Compression:
Stored size: 594 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module SQLServer module Savepoints def current_savepoint_name current_transaction.savepoint_name end def create_savepoint(name = current_savepoint_name) internal_execute("SAVE TRANSACTION #{name}", "TRANSACTION") end def exec_rollback_to_savepoint(name = current_savepoint_name) internal_execute("ROLLBACK TRANSACTION #{name}", "TRANSACTION") end def release_savepoint(_name) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems