Module: OracleSqlParser::Grammar::Insert::InsertValues2

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

Instance Method Summary collapse

Instance Method Details

#astObject



581
582
583
584
585
586
# File 'lib/oracle-sql-parser/grammar/insert.rb', line 581

def ast
  OracleSqlParser::Ast::InsertValuesClause[
    expr_or_default.ast,
    *more_expr_or_defaults.map(&:ast)
  ]
end

#more_expr_or_defaultsObject



588
589
590
# File 'lib/oracle-sql-parser/grammar/insert.rb', line 588

def more_expr_or_defaults
  more.elements.map(&:e)
end