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

Method Format

parser/node.go:392–397  ·  view source on GitHub ↗

Format formats the node.

(buf *nodeBuffer)

Source from the content-addressed store, hash-verified

390
391// Format formats the node.
392func (node *Insert) Format(buf *nodeBuffer) {
393 buf.Printf("%s %v%sinto %v%v%v %v%v",
394 node.Action,
395 node.Comments, node.Ignore,
396 node.Table, node.Partitions, node.Columns, node.Rows, node.OnDup)
397}
398
399// InsertRows represents the rows for an INSERT statement.
400type InsertRows interface {

Callers

nothing calls this directly

Calls 1

PrintfMethod · 0.65

Tested by

no test coverage detected