MCPcopy Create free account
hub / github.com/araddon/qlbridge / WriteDialect

Method WriteDialect

rel/sql.go:917–922  ·  view source on GitHub ↗
(w expr.DialectWriter)

Source from the content-addressed store, hash-verified

915 return w.String()
916}
917func (m *PreparedStatement) WriteDialect(w expr.DialectWriter) {
918 io.WriteString(w, "PREPARE ")
919 w.WriteIdentity(m.Alias)
920 io.WriteString(w, " FROM ")
921 m.Statement.WriteDialect(w)
922}
923
924func (m *SqlSelect) Keyword() lex.TokenType { return lex.TokenSelect }
925func (m *SqlSelect) SystemQry() bool { return len(m.From) == 0 && m.schemaqry }

Callers 1

StringMethod · 0.95

Calls 2

WriteIdentityMethod · 0.65
WriteDialectMethod · 0.65

Tested by

no test coverage detected