Module: OracleSqlParser::Grammar::Select::Union::SubqueriesWithUnion2
- Defined in:
- lib/oracle-sql-parser/grammar/select/union.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
33 34 35 36 37 38 |
# File 'lib/oracle-sql-parser/grammar/select/union.rb', line 33 def ast OracleSqlParser::Ast::Array[ query_block.ast, *more_queries.map(&:ast), ] end |
#more_queries ⇒ Object
40 41 42 |
# File 'lib/oracle-sql-parser/grammar/select/union.rb', line 40 def more_queries more.elements.map{|e| [e.union_or_intersect_or_minus, e.subquery]}.flatten end |