Module: Viewmatic::Model::ClassMethods
- Defined in:
- lib/viewmatic/model.rb
Overview
Class-level helper methods.
Instance Method Summary collapse
-
#refresh! ⇒ Object
Refresh the underlying materialized view.
Instance Method Details
#refresh! ⇒ Object
Refresh the underlying materialized view.
26 27 28 |
# File 'lib/viewmatic/model.rb', line 26 def refresh! connection.execute "REFRESH MATERIALIZED VIEW #{table_name}" end |