MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / exprListSQL

Function exprListSQL

pkg/formatter/render.go:1219–1225  ·  view source on GitHub ↗

exprListSQL renders a comma-separated list of expressions.

(exprs []ast.Expression)

Source from the content-addressed store, hash-verified

1217
1218// exprListSQL renders a comma-separated list of expressions.
1219func 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.
1228func orderBySQL(orders []ast.OrderByExpression) string {

Callers 6

renderSelectFunction · 0.70
renderInsertFunction · 0.70
renderUpdateFunction · 0.70
renderDeleteFunction · 0.70
windowSpecSQLFunction · 0.70
onConflictSQLFunction · 0.70

Calls 1

exprSQLFunction · 0.70

Tested by

no test coverage detected