Module: OracleSqlParser::Grammar::Select::QueryBlock::QueryBlock7

Defined in:
lib/oracle-sql-parser/grammar/select/query_block.rb

Instance Method Summary collapse

Instance Method Details

#astObject



119
120
121
122
123
124
125
126
127
128
# File 'lib/oracle-sql-parser/grammar/select/query_block.rb', line 119

def ast
  OracleSqlParser::Ast::QueryBlock[
    :hint => hint.ast,
    :modifier => mod.try(:modifier).ast,
    :select_list => select_list.ast,
    :select_sources => select.try(:select_sources).ast,
    :where_clause => where.try(:where_clause).ast,
    :group_by_clause => group.try(:group_by_clause).ast,
    :model_clause => model.try(:model_clause).ast]
end