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

Method WithUpdate

orm/query.go:273–275  ·  view source on GitHub ↗
(name string, subq *Query)

Source from the content-addressed store, hash-verified

271}
272
273func (q *Query) WithUpdate(name string, subq *Query) *Query {
274 return q._with(name, NewUpdateQuery(subq, false))
275}
276
277func (q *Query) WithDelete(name string, subq *Query) *Query {
278 return q._with(name, NewDeleteQuery(subq))

Callers

nothing calls this directly

Calls 2

_withMethod · 0.95
NewUpdateQueryFunction · 0.85

Tested by

no test coverage detected