Module: Timescaledb::Rails::ActiveRecord::Base::ClassMethods
- Defined in:
- lib/timescaledb/rails/extensions/active_record/base.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#hypertable? ⇒ Boolean
Returns if the current active record model is a hypertable.
Instance Method Details
#hypertable? ⇒ Boolean
Returns if the current active record model is a hypertable.
13 14 15 |
# File 'lib/timescaledb/rails/extensions/active_record/base.rb', line 13 def hypertable? connection.hypertable_exists?(table_name) end |