Method: ActiveRecord::ConnectionAdapters::IBM_DB2_I5#columns

Defined in:
lib/active_record/connection_adapters/ibm_db_adapter.rb

#columns(table_name, name = nil) ⇒ Object



3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 3284

def columns(table_name, name = nil)
  columns = super(table_name, name)
  # need a each modified version of below ...
  # IBM i old PTF IBM i returns 'TOAD,
  # but Arabic, Hebrew need single quote start, 
  # so hack below not work (maybe add anyway?)  
  # unless column_default_value.nil?
  #   if column_default_value[0] == "'"
  #     column_default_value = column_default_value[1..-1]
  #   end
  # end
  columns
end