Method: Webhookdb::Replicator::Base#dbadapter_table
- Defined in:
- lib/webhookdb/replicator/base.rb
#dbadapter_table ⇒ Webhookdb::DBAdapter::Table
Return a DBAdapter table based on the schema_and_table_symbols.
99 100 101 102 103 104 |
# File 'lib/webhookdb/replicator/base.rb', line 99 def dbadapter_table sch, tbl = self.schema_and_table_symbols schema = Webhookdb::DBAdapter::Schema.new(name: sch) table = Webhookdb::DBAdapter::Table.new(name: tbl, schema:) return table end |