Method: ActiveRecord::ConnectionAdapters::OracleEnhanced::OCIConnection#database_version
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb
#database_version ⇒ Object
271 272 273 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb', line 271 def database_version @database_version ||= (version = raw_connection.oracle_server_version) && [version.major, version.minor] end |