Sha256: 40ad75020f5aec586da46685cb373c4603b622b801eef6c7681c4f3747dcafe0
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true require 'table_saw/connection' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
table_saw-0.3.0 | lib/table_saw/queries/materialized_views.rb |