Class: STACI::BindType::CLOB

Inherits:
Object
  • Object
show all
Defined in:
lib/oci8/bindtype.rb

Class Method Summary collapse

Class Method Details

.create(con, val, param, max_array_size) ⇒ Object



176
177
178
179
180
181
182
# File 'lib/oci8/bindtype.rb', line 176

def self.create(con, val, param, max_array_size)
  if param.is_a? STACI::::Base and param.charset_form == :nchar
    STACI::BindType::NCLOB.new(con, val, nil, max_array_size)
  else
    STACI::BindType::CLOB.new(con, val, nil, max_array_size)
  end
end