MCPcopy
hub / github.com/cube2222/octosql / BuildParsedQuery

Function BuildParsedQuery

parser/sqlparser/tracked_buffer.go:142–146  ·  view source on GitHub ↗

BuildParsedQuery builds a ParsedQuery from the input.

(in string, vars ...interface{})

Source from the content-addressed store, hash-verified

140
141// BuildParsedQuery builds a ParsedQuery from the input.
142func BuildParsedQuery(in string, vars ...interface{}) *ParsedQuery {
143 buf := NewTrackedBuffer(nil)
144 buf.Myprintf(in, vars...)
145 return buf.ParsedQuery()
146}

Callers

nothing calls this directly

Calls 3

MyprintfMethod · 0.95
ParsedQueryMethod · 0.95
NewTrackedBufferFunction · 0.85

Tested by

no test coverage detected