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

Method SQL

internal/sqlbuilder/insert.go:104–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102var _ = immutable.Immutable(&inserter{})
103
104func (ins *inserter) SQL() *sqlBuilder {
105 if ins.prev == nil {
106 return ins.builder
107 }
108 return ins.prev.SQL()
109}
110
111func (ins *inserter) template() *exql.Template {
112 return ins.SQL().t.Template

Callers 11

templateMethod · 0.95
ExecMethod · 0.95
ExecContextMethod · 0.95
PrepareMethod · 0.95
PrepareContextMethod · 0.95
QueryMethod · 0.95
QueryContextMethod · 0.95
QueryRowMethod · 0.95
QueryRowContextMethod · 0.95
IteratorMethod · 0.95
IteratorContextMethod · 0.95

Calls 1

SQLMethod · 0.65

Tested by

no test coverage detected