Module: Timescaledb::ActsAsHypertable::Core::ClassMethods

Defined in:
lib/timescaledb/acts_as_hypertable/core.rb

Instance Method Summary collapse

Instance Method Details

#time_columnObject



11
12
13
# File 'lib/timescaledb/acts_as_hypertable/core.rb', line 11

def time_column
  @time_column ||= hypertable_options[:time_column] || :created_at
end