MCPcopy Create free account
hub / github.com/go-pg/pg / AppendQuery

Method AppendQuery

orm/format.go:103–108  ·  view source on GitHub ↗
(fmter QueryFormatter, b []byte)

Source from the content-addressed store, hash-verified

101}
102
103func (q *condAppender) AppendQuery(fmter QueryFormatter, b []byte) ([]byte, error) {
104 b = append(b, '(')
105 b = fmter.FormatQuery(b, q.cond, q.params...)
106 b = append(b, ')')
107 return b, nil
108}
109
110//------------------------------------------------------------------------------
111

Callers

nothing calls this directly

Calls 1

FormatQueryMethod · 0.65

Tested by

no test coverage detected