Sha256: fa83aef90ce5d44407e6ef34cc693bd4b250dceb031f96a04e6abd33dce82aea
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true module TableSaw module Queries class MaterializedViews def call TableSaw::Connection.with do |conn| conn.exec('select matviewname from pg_matviews order by matviewname').map { |row| row['matviewname'] } end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
table_saw-0.5.0 | lib/table_saw/queries/materialized_views.rb |
table_saw-0.4.0 | lib/table_saw/queries/materialized_views.rb |