Method: PgQuery::ParserResult#dml_tables
- Defined in:
- lib/pg_query/parse.rb
#dml_tables ⇒ Object
46 47 48 |
# File 'lib/pg_query/parse.rb', line 46 def dml_tables tables_with_details.select { |t| t[:type] == :dml }.map { |t| t[:name] }.uniq end |