Module: ActiveRecord::ConnectionAdapters::SQLServer::CoreExt::ODBC::Statement

Defined in:
lib/active_record/connection_adapters/sqlserver/core_ext/odbc.rb

Instance Method Summary collapse

Instance Method Details

#finished?Boolean

Returns:

  • (Boolean)


9
10
11
12
13
14
# File 'lib/active_record/connection_adapters/sqlserver/core_ext/odbc.rb', line 9

def finished?
  connected?
  false
rescue ::ODBC::Error
  true
end