MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / formatStringQuotes

Function formatStringQuotes

pkg/sql/sem/plpgsqltree/statements.go:1390–1394  ·  view source on GitHub ↗

formatStringQuotes is similar to formatString, but surrounds the output with single quotes.

(ctx *tree.FmtCtx, str string)

Source from the content-addressed store, hash-verified

1388// formatStringQuotes is similar to formatString, but surrounds the output with
1389// single quotes.
1390func formatStringQuotes(ctx *tree.FmtCtx, str string) {
1391 ctx.WriteString("'")
1392 formatString(ctx, str)
1393 ctx.WriteString("'")
1394}

Callers 2

FormatMethod · 0.85
FormatMethod · 0.85

Calls 1

formatStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…