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

Method AppendQuery

orm/query.go:1307–1309  ·  view source on GitHub ↗
(fmter QueryFormatter, b []byte)

Source from the content-addressed store, hash-verified

1305var _ QueryAppender = (*Query)(nil)
1306
1307func (q *Query) AppendQuery(fmter QueryFormatter, b []byte) ([]byte, error) {
1308 return NewSelectQuery(q).AppendQuery(fmter, b)
1309}
1310
1311// Exists returns true or false depending if there are any rows matching the query.
1312func (q *Query) Exists() (bool, error) {

Callers

nothing calls this directly

Calls 2

NewSelectQueryFunction · 0.85
AppendQueryMethod · 0.65

Tested by

no test coverage detected