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

Function TestDeleteBuilderContextNoRunner

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

Source from the content-addressed store, hash-verified

28}
29
30func TestDeleteBuilderContextNoRunner(t *testing.T) {
31 b := Delete("test").Where("x != ?", 0).Suffix("RETURNING x")
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 6

DeleteFunction · 0.85
ExecContextMethod · 0.65
QueryContextMethod · 0.65
SuffixMethod · 0.45
WhereMethod · 0.45
ScanContextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…