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

Method SQL

pkg/sql/ast/sql.go:309–314  ·  view source on GitHub ↗

SQL returns the SQL representation of this scalar subquery as "(SELECT ...)".

()

Source from the content-addressed store, hash-verified

307
308// SQL returns the SQL representation of this scalar subquery as "(SELECT ...)".
309func (s *SubqueryExpression) SQL() string {
310 if s == nil {
311 return ""
312 }
313 return fmt.Sprintf("(%s)", stmtSQL(s.Subquery))
314}
315
316// SQL returns the SQL representation of this ANY expression as "expr op ANY (subquery)".
317func (a *AnyExpression) SQL() string {

Callers

nothing calls this directly

Calls 1

stmtSQLFunction · 0.70

Tested by

no test coverage detected