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

Method withFlag

orm/query.go:192–195  ·  view source on GitHub ↗
(flag queryFlag)

Source from the content-addressed store, hash-verified

190}
191
192func (q *Query) withFlag(flag queryFlag) *Query {
193 q.flags |= flag
194 return q
195}
196
197func (q *Query) withoutFlag(flag queryFlag) *Query {
198 q.flags &= ^flag

Callers 4

NewMethod · 0.95
DeletedMethod · 0.95
AllWithDeletedMethod · 0.95
ForceDeleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected