MCPcopy
hub / github.com/sqldef/sqldef / Format

Method Format

parser/node.go:484–491  ·  view source on GitHub ↗

Format formats the MultiStatement

(buf *nodeBuffer)

Source from the content-addressed store, hash-verified

482
483// Format formats the MultiStatement
484func (node *MultiStatement) Format(buf *nodeBuffer) {
485 for i, stmt := range node.Statements {
486 if i > 0 {
487 buf.WriteString("; ")
488 }
489 stmt.Format(buf)
490 }
491}
492
493// Exec represents a EXEC statement.
494type Exec struct {

Callers

nothing calls this directly

Calls 1

FormatMethod · 0.65

Tested by

no test coverage detected