You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pmacs-rails_sql_views, we were able to pass a refresh_schedule option to the create_materialized_view method. This was a convenient way to tell your MVs, at creation time, when to refresh themselves. This is no long available with scenic, but it would be a nice option to build in.
Considerations
Perhaps this is too specific and we should instead add a general options parameter that we pass raw SQL into.
It could be a bad idea to add a MV-only option like refresh_schedule to a general view method like create_view.
The text was updated successfully, but these errors were encountered:
RaymondFallon
changed the title
Create a refresh_schedule Option For Materializedd Views
Create a refresh_schedule Option For Materialized Views
May 25, 2023
When using
pmacs-rails_sql_views
, we were able to pass arefresh_schedule
option to thecreate_materialized_view
method. This was a convenient way to tell your MVs, at creation time, when to refresh themselves. This is no long available withscenic
, but it would be a nice option to build in.Considerations
options
parameter that we pass raw SQL into.refresh_schedule
to a general view method likecreate_view
.The text was updated successfully, but these errors were encountered: