Module: ActiveRecord::ConnectionAdapters::OracleEnhancedCpk
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced_cpk.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#concat(*columns) ⇒ Object
:nodoc:.
-
#supports_count_distinct? ⇒ Boolean
This mightn’t be in Core, but count(distinct x,y) doesn’t work for me.
Instance Method Details
#concat(*columns) ⇒ Object
:nodoc:
11 12 13 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_cpk.rb', line 11 def concat(*columns) #:nodoc: "(#{columns.join('||')})" end |
#supports_count_distinct? ⇒ Boolean
This mightn’t be in Core, but count(distinct x,y) doesn’t work for me. Return that not supported if composite_primary_keys gem is required.
7 8 9 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_cpk.rb', line 7 def supports_count_distinct? #:nodoc: @supports_count_distinct ||= ! defined?(CompositePrimaryKeys) end |