ParseWithInt parses a sql statement string and returns a list of Statements. The INT token will result in the specified TInt type.
(sql string, nakedIntType *types.T)
| 102 | // ParseWithInt parses a sql statement string and returns a list of |
| 103 | // Statements. The INT token will result in the specified TInt type. |
| 104 | func (p *Parser) ParseWithInt(sql string, nakedIntType *types.T) (Statements, error) { |
| 105 | return p.parseWithDepth(1, sql, nakedIntType) |
| 106 | } |
| 107 | |
| 108 | func (p *Parser) parseOneWithDepth(depth int, sql string) (Statement, error) { |
| 109 | stmts, err := p.parseWithDepth(1, sql, defaultNakedIntType) |
nothing calls this directly
no test coverage detected