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

Method SQL

pkg/sql/ast/sql.go:301–306  ·  view source on GitHub ↗

SQL returns the SQL representation of this EXISTS expression as "EXISTS (subquery)".

()

Source from the content-addressed store, hash-verified

299
300// SQL returns the SQL representation of this EXISTS expression as "EXISTS (subquery)".
301func (e *ExistsExpression) SQL() string {
302 if e == nil {
303 return ""
304 }
305 return fmt.Sprintf("EXISTS (%s)", stmtSQL(e.Subquery))
306}
307
308// SQL returns the SQL representation of this scalar subquery as "(SELECT ...)".
309func (s *SubqueryExpression) SQL() string {

Callers

nothing calls this directly

Calls 1

stmtSQLFunction · 0.70

Tested by

no test coverage detected