MCPcopy Index your code
hub / github.com/upper/db / SQL

Method SQL

internal/sqlbuilder/update.go:74–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72var _ = immutable.Immutable(&updater{})
73
74func (upd *updater) SQL() *sqlBuilder {
75 if upd.prev == nil {
76 return upd.builder
77 }
78 return upd.prev.SQL()
79}
80
81func (upd *updater) template() *exql.Template {
82 return upd.SQL().t.Template

Callers 8

templateMethod · 0.95
SetMethod · 0.95
WhereMethod · 0.95
AndMethod · 0.95
PrepareMethod · 0.95
PrepareContextMethod · 0.95
ExecMethod · 0.95
ExecContextMethod · 0.95

Calls 1

SQLMethod · 0.65

Tested by

no test coverage detected