Class: JDBC::Database

Inherits:
Object show all
Defined in:
lib/engine2/pre_bootstrap.rb

Instance Method Summary collapse

Instance Method Details

#metadata_schema_and_table(table, opts) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/engine2/pre_bootstrap.rb', line 6

def (table, opts)
    im = input_identifier_meth(opts[:dataset])
    schema, table = schema_and_table(table)
    schema ||= default_schema
    schema ||= opts[:schema]
    schema = im.call(schema) if schema
    table = im.call(table)
    [schema, table]
end