Class: ActiveRecord::ConnectionAdapters::Column
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::Column
- Defined in:
- lib/active_record/connection_adapters/ibm_db_adapter.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
- #auto_increment? ⇒ Boolean (also: #auto_incremented_by_db?)
Class Method Details
.binary_to_string(value) ⇒ Object
479 480 481 482 483 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 479 def self.binary_to_string(value) puts_log 'binary_to_string' # Returns a string removing the eventual BLOB scalar function value.to_s.gsub(/"SYSIBM"."BLOB"\('(.*)'\)/i, '\1') end |
Instance Method Details
#auto_increment? ⇒ Boolean Also known as: auto_incremented_by_db?
490 491 492 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 490 def auto_increment? true end |