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.
495 496 497 498 499 500 |
# File 'lib/webhookdb/replicator/base.rb', line 495 def got = self._denormalized_columns.find { |c| c.name == self. } raise NotImplementedError, "#{self.descriptor.name} has no timestamp column #{self._timestamp_column_name}" if got.nil? return got.to_dbadapter end |