MCPcopy Index your code
hub / github.com/upper/db / String

Method String

internal/sqlbuilder/select.go:125–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123}
124
125func (sel *selector) String() string {
126 s, err := sel.Compile()
127 if err != nil {
128 panic(err.Error())
129 }
130 return prepareQueryForDisplay(s)
131}
132
133func (sel *selector) frame(fn func(*selectorQuery) error) *selector {
134 return &selector{prev: sel, fn: fn}

Callers

nothing calls this directly

Calls 3

CompileMethod · 0.95
prepareQueryForDisplayFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected