Created
May 14, 2015 22:40
-
-
Save lopex/0258ca12841791b897d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Sequel::JDBC::Database | |
def metadata_schema_and_table(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 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment