Class: OCI8::NCLOB
Overview
This class is a ruby-side class of Oracle CLOB datatype.
Instance Method Summary collapse
-
#initialize(conn, contents = nil) ⇒ OCI8::NCLOB
constructor
Creates a temporary NCLOB when contents is not nil.
Methods inherited from LOB
#available?, #chunk_size, #close, #eof?, #pos, #read, #rewind, #seek, #size, #size=, #truncate, #write
Constructor Details
#initialize(conn, contents = nil) ⇒ OCI8::NCLOB
Creates a temporary NCLOB when contents is not nil. Otherwise, it creates an uninitialized lob, which is used internally to fetch NCLOB column data.
422 423 424 425 426 |
# File 'ext/oci8/lob.c', line 422
static VALUE oci8_nclob_initialize(int argc, VALUE *argv, VALUE self)
{
oci8_lob_do_initialize(argc, argv, self, SQLCS_NCHAR, OCI_TEMP_CLOB);
return Qnil;
}
|