(exprs []Expression)
| 1273 | } |
| 1274 | |
| 1275 | func exprListSQL(exprs []Expression) string { |
| 1276 | parts := make([]string, len(exprs)) |
| 1277 | for i, e := range exprs { |
| 1278 | parts[i] = exprSQL(e) |
| 1279 | } |
| 1280 | return strings.Join(parts, ", ") |
| 1281 | } |
| 1282 | |
| 1283 | func orderBySQL(orders []OrderByExpression) string { |
| 1284 | parts := make([]string, len(orders)) |