Sha256: b569bb76c0c3ad60e35b3645184ba674ce02c69783e568d763becbd7eb79d80a
Contents?: true
Size: 589 Bytes
Versions: 12
Compression:
Stored size: 589 Bytes
Contents
# frozen_string_literal: true module ARTest module SQLServer module ConnectionReflection extend ActiveSupport::Concern included { extend ConnectionReflection } def connection ActiveRecord::Base.lease_connection end def connection_options connection.instance_variable_get :@connection_parameters end def connection_tds_73 rc = connection.raw_connection rc.respond_to?(:tds_73?) && rc.tds_73? end def connection_sqlserver_azure? connection.sqlserver_azure? end end end end
Version data entries
12 entries across 12 versions & 1 rubygems