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

Method SQL

pkg/sql/ast/sql.go:325–330  ·  view source on GitHub ↗

SQL returns the SQL representation of this ALL expression as "expr op ALL (subquery)".

()

Source from the content-addressed store, hash-verified

323
324// SQL returns the SQL representation of this ALL expression as "expr op ALL (subquery)".
325func (a *AllExpression) SQL() string {
326 if a == nil {
327 return ""
328 }
329 return fmt.Sprintf("%s %s ALL (%s)", exprSQL(a.Expr), a.Operator, stmtSQL(a.Subquery))
330}
331
332// SQL returns the SQL representation of this function call including arguments,
333// optional DISTINCT modifier, ORDER BY clause (for aggregates like STRING_AGG),

Callers

nothing calls this directly

Calls 2

exprSQLFunction · 0.70
stmtSQLFunction · 0.70

Tested by

no test coverage detected