Method: Webhookdb::Replicator::Base#qualified_table_sequel_identifier
- Defined in:
- lib/webhookdb/replicator/base.rb
#qualified_table_sequel_identifier(schema: nil, table: nil) ⇒ Sequel::SQL::QualifiedIdentifier
Return a Sequel identifier using schema_and_table_symbols, or schema or table as overrides if given.
92 93 94 95 |
# File 'lib/webhookdb/replicator/base.rb', line 92 def qualified_table_sequel_identifier(schema: nil, table: nil) sch, tbl = self.schema_and_table_symbols return Sequel[schema || sch][table || tbl] end |