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

Function NewUpdateQuery

orm/update.go:22–27  ·  view source on GitHub ↗
(q *Query, omitZero bool)

Source from the content-addressed store, hash-verified

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

Callers 5

WithUpdateMethod · 0.85
updateMethod · 0.85
update_test.goFile · 0.85
updateQueryStringFunction · 0.85

Calls

no outgoing calls

Tested by 2

updateQueryStringFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…