ParseExprs parses a comma-delimited sequence of SQL scalar expressions. The caller is responsible for ensuring that the input is, in fact, a comma-delimited sequence of SQL scalar expressions — the results are undefined if the string contains invalid SQL syntax.
(sql []string)
| 370 | // the results are undefined if the string contains invalid SQL |
| 371 | // syntax. |
| 372 | func ParseExprs(sql []string) (tree.Exprs, error) { |
| 373 | if len(sql) == 0 { |
| 374 | return tree.Exprs{}, nil |
| 375 | } |
| 376 | return parseExprsWithInt(sql, defaultNakedIntType) |
| 377 | } |
| 378 | |
| 379 | // ParseExpr parses a SQL scalar expression. The caller is responsible |
| 380 | // for ensuring that the input is, in fact, a valid SQL scalar |
no test coverage detected
searching dependent graphs…