Method: WidgetList::List.concat_string

Defined in:
lib/widget_list.rb

.concat_string(primary) ⇒ Object



3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
# File 'lib/widget_list.rb', line 3437

def self.concat_string(primary)

  case WidgetList::List.get_db_type(primary)
    when 'mysql'
      ' , '
    when 'oracle','sqlite','postgres'
      ' || '
    else
      ','
  end
end