MCPcopy
hub / github.com/Masterminds/squirrel / TestInsertBuilderContextNoRunner

Function TestInsertBuilderContextNoRunner

insert_ctx_test.go:30–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28}
29
30func TestInsertBuilderContextNoRunner(t *testing.T) {
31 b := Insert("test").Values(1)
32
33 _, err := b.ExecContext(ctx)
34 assert.Equal(t, RunnerNotSet, err)
35
36 _, err = b.QueryContext(ctx)
37 assert.Equal(t, RunnerNotSet, err)
38
39 err = b.ScanContext(ctx)
40 assert.Equal(t, RunnerNotSet, err)
41}

Callers

nothing calls this directly

Calls 5

InsertFunction · 0.85
ValuesMethod · 0.80
ExecContextMethod · 0.65
QueryContextMethod · 0.65
ScanContextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…