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