Parse parses the sql and returns a list of statements.
(sql string)
| 46 | |
| 47 | // Parse parses the sql and returns a list of statements. |
| 48 | func (p *Parser) Parse(sql string) (statements.PLpgStatement, error) { |
| 49 | return p.parseWithDepth(1, sql, defaultNakedIntType) |
| 50 | } |
| 51 | |
| 52 | func (p *Parser) scanFnBlock() (sql string, tokens []plpgsqlSymType, done bool) { |
| 53 | var lval plpgsqlSymType |
nothing calls this directly
no test coverage detected