Class: OCI8::Metadata::View

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

Overview

Instance Method Summary collapse

Methods inherited from Base

#obj_id, #obj_link, #obj_name, #obj_schema

Instance Method Details

#columnsarray of OCI8::Metadata::Column

Returns column information of the view.

Returns:



526
527
528
# File 'lib/oci8/metadata.rb', line 526

def columns
  @columns ||= list_columns.to_a
end

#num_colsInteger

Returns number of columns

Returns:

  • (Integer)


493
494
495
# File 'lib/oci8/metadata.rb', line 493

def num_cols
  attr_get_ub2(OCI_ATTR_NUM_COLS)
end