exprListSQL renders a comma-separated list of expressions.
(exprs []ast.Expression)
| 1217 | |
| 1218 | // exprListSQL renders a comma-separated list of expressions. |
| 1219 | func exprListSQL(exprs []ast.Expression) string { |
| 1220 | parts := make([]string, len(exprs)) |
| 1221 | for i, e := range exprs { |
| 1222 | parts[i] = exprSQL(e) |
| 1223 | } |
| 1224 | return strings.Join(parts, ", ") |
| 1225 | } |
| 1226 | |
| 1227 | // orderBySQL renders ORDER BY expressions. |
| 1228 | func orderBySQL(orders []ast.OrderByExpression) string { |
no test coverage detected