MCPcopy Index your code
hub / github.com/Masterminds/squirrel / TestRunWithBaseRunner

Function TestRunWithBaseRunner

statement_test.go:58–62  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

56}
57
58func TestRunWithBaseRunner(t *testing.T) {
59 sb := StatementBuilder.RunWith(fakeBaseRunner{})
60 _, err := sb.Select("test").Exec()
61 assert.NoError(t, err)
62}
63
64func TestRunWithBaseRunnerQueryRowError(t *testing.T) {
65 sb := StatementBuilder.RunWith(fakeBaseRunner{})

Callers

nothing calls this directly

Calls 3

ExecMethod · 0.65
RunWithMethod · 0.45
SelectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…