Sha256: fedb7186f533a4b0b6372ab2f77ed302cff5dd3eb918237c9b6262bcce014ac1
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
# frozen_string_literal: true module TableSaw module Queries class MaterializedViews QUERY = 'select matviewname from pg_matviews order by matviewname' def call TableSaw.connection.exec_query(QUERY).map { |row| row['matviewname'] } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
table_saw-3.2.0 | lib/table_saw/queries/materialized_views.rb |