Class: OCI8

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb

Overview

:nodoc:

Direct Known Subclasses

OCI8EnhancedAutoRecover

Instance Method Summary collapse

Instance Method Details

#describe(name) ⇒ Object


360
361
362
363
364
365
366
367
368
# File 'lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb', line 360

def describe(name)
  info = describe_table(name.to_s)
  raise %Q{"DESC #{name}" failed} if info.nil?
  if info.respond_to? :obj_link and info.obj_link
    [info.obj_schema, info.obj_name, '@' + info.obj_link]
  else
    [info.obj_schema, info.obj_name]
  end
end