Class: OCI8
- Inherits:
-
Object
- Object
- OCI8
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb
Overview
:nodoc:
Direct Known Subclasses
Defined Under Namespace
Classes: Cursor
Instance Method Summary collapse
-
#describe(name) ⇒ Object
Uses the describeAny OCI call to find the target owner and table_name indicated by
name
, parsing through synonynms as necessary.
Instance Method Details
#describe(name) ⇒ Object
Uses the describeAny OCI call to find the target owner and table_name indicated by name
, parsing through synonynms as necessary. Returns an array of [owner, table_name].
373 374 375 376 377 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb', line 373 def describe(name) info = describe_table(name.to_s) raise %Q{"DESC #{name}" failed} if info.nil? [info.obj_schema, info.obj_name] end |