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

Function newTemplateWithUtils

internal/sqlbuilder/template.go:17–19  ·  view source on GitHub ↗
(template *exql.Template)

Source from the content-addressed store, hash-verified

15}
16
17func newTemplateWithUtils(template *exql.Template) *templateWithUtils {
18 return &templateWithUtils{template}
19}
20
21func (tu *templateWithUtils) PlaceholderValue(in interface{}) (exql.Fragment, []interface{}) {
22 switch t := in.(type) {

Callers 6

TestSelectFunction · 0.85
TestInsertFunction · 0.85
TestUpdateFunction · 0.85
TestPaginateFunction · 0.85
WithSessionFunction · 0.85
WithTemplateFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestSelectFunction · 0.68
TestInsertFunction · 0.68
TestUpdateFunction · 0.68
TestPaginateFunction · 0.68