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

Function NewSelectQuery

orm/select.go:22–26  ·  view source on GitHub ↗
(q *Query)

Source from the content-addressed store, hash-verified

20)
21
22func NewSelectQuery(q *Query) *SelectQuery {
23 return &SelectQuery{
24 q: q,
25 }
26}
27
28func (q *SelectQuery) String() string {
29 b, err := q.AppendQuery(defaultFmter, nil)

Callers 6

WithMethod · 0.85
SelectMethod · 0.85
AppendQueryMethod · 0.85
ExistsMethod · 0.85
selectQueryStringFunction · 0.85
TestLongSelectFormatterFunction · 0.85

Calls

no outgoing calls

Tested by 2

selectQueryStringFunction · 0.68
TestLongSelectFormatterFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…