Class: Db2Session::ApplicationQuery
- Inherits:
-
Object
- Object
- Db2Session::ApplicationQuery
- Includes:
- Db2Query::Config, Db2Query::Core, Db2Query::DbConnection, Db2Query::FieldType, Db2Query::Helper
- Defined in:
- app/queries/db2_session/application_query.rb
Class Method Summary collapse
Class Method Details
.connection ⇒ Object
15 16 17 |
# File 'app/queries/db2_session/application_query.rb', line 15 def self.connection Thread.current[:connection] end |
.establish_connection ⇒ Object
11 12 13 |
# File 'app/queries/db2_session/application_query.rb', line 11 def self.establish_connection load_database_configurations end |