Method: Webhookdb::Replicator::Base#timestamp_column
- Defined in:
- lib/webhookdb/replicator/base.rb
#timestamp_column ⇒ Webhookdb::DBAdapter::Column
Column to use as the ‘timestamp’ for the row. This is usually some created or updated at timestamp.
449 450 451 452 453 454 |
# File 'lib/webhookdb/replicator/base.rb', line 449 def got = self._denormalized_columns.find { |c| c.name == self. } raise NotImplementedError, "#{self.descriptor.name} has no timestamp column #{self.}" if got.nil? return got.to_dbadapter end |