MCPcopy
hub / github.com/Masterminds/squirrel / ReplacePlaceholders

Method ReplacePlaceholders

placeholder.go:14–14  ·  view source on GitHub ↗
(sql string)

Source from the content-addressed store, hash-verified

12// placeholder with a (possibly different) SQL placeholder.
13type PlaceholderFormat interface {
14 ReplacePlaceholders(sql string) (string, error)
15}
16
17type placeholderDebugger interface {

Callers 11

ToSqlMethod · 0.65
ToSqlMethod · 0.65
TestQuestionFunction · 0.65
TestDollarFunction · 0.65
TestColonFunction · 0.65
TestAtpFunction · 0.65
TestEscapeDollarFunction · 0.65
TestEscapeColonFunction · 0.65
TestEscapeAtpFunction · 0.65
ToSqlMethod · 0.65
ToSqlMethod · 0.65

Implementers 4

questionFormatplaceholder.go
dollarFormatplaceholder.go
colonFormatplaceholder.go
atpFormatplaceholder.go

Calls

no outgoing calls

Tested by 7

TestQuestionFunction · 0.52
TestDollarFunction · 0.52
TestColonFunction · 0.52
TestAtpFunction · 0.52
TestEscapeDollarFunction · 0.52
TestEscapeColonFunction · 0.52
TestEscapeAtpFunction · 0.52