Method: PgQuery::ParserResult#select_tables
- Defined in:
- lib/pg_query/parse.rb
#select_tables ⇒ Object
49 50 51 |
# File 'lib/pg_query/parse.rb', line 49 def select_tables tables_with_details.select { |t| t[:type] == :select }.map { |t| t[:name] }.uniq end |