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

Method SQL

pkg/sql/ast/sql.go:317–322  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

315
316// SQL returns the SQL representation of this ANY expression as "expr op ANY (subquery)".
317func (a *AnyExpression) SQL() string {
318 if a == nil {
319 return ""
320 }
321 return fmt.Sprintf("%s %s ANY (%s)", exprSQL(a.Expr), a.Operator, stmtSQL(a.Subquery))
322}
323
324// SQL returns the SQL representation of this ALL expression as "expr op ALL (subquery)".
325func (a *AllExpression) SQL() string {

Callers

nothing calls this directly

Calls 2

exprSQLFunction · 0.70
stmtSQLFunction · 0.70

Tested by

no test coverage detected