Module: OCI8::Metadata
- Defined in:
- lib/oci8/metadata.rb,
ext/oci8/metadata.c
Overview
OCI8 has methods to obtain information about database objects such as tables, views, procedures, functions ans so on. The obtained data are called metadata and retrived as an instance of OCI8::Metadata::Base’s subclass.
List of methods which return OCI8::Metadata::Base.
List of methods which return an array of OCI8::Metadata::Base.
Example:
conn = OCI8.new('username/passord')
table = conn.describe_table('scott.emp')
table.columns.each do |col|
puts "#{col.name} #{col.data_type_string}"
end
Defined Under Namespace
Classes: ArgBase, Argument, Base, Collection, Column, Database, Function, List, Package, Procedure, Schema, Sequence, Subprogram, Synonym, Table, Type, TypeArgument, TypeAttr, TypeMethod, TypeResult, Unknown, View