module Viewmatic::Model::ClassMethods
Class-level helper methods.
Public Instance Methods
refresh!()
click to toggle source
Refresh the underlying materialized view.
# File lib/viewmatic/model.rb, line 26 def refresh! connection.execute "REFRESH MATERIALIZED VIEW #{table_name}" end