Class: TableSaw::Queries::MaterializedViews
- Inherits:
-
Object
- Object
- TableSaw::Queries::MaterializedViews
- Defined in:
- lib/table_saw/queries/materialized_views.rb
Constant Summary collapse
- QUERY =
'select matviewname from pg_matviews order by matviewname'
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'lib/table_saw/queries/materialized_views.rb', line 8 def call TableSaw.connection.exec_query(QUERY).map { |row| row['matviewname'] } end |