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

Function TestInsertBuilderMustSql

insert_test.go:40–47  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

38}
39
40func TestInsertBuilderMustSql(t *testing.T) {
41 defer func() {
42 if r := recover(); r == nil {
43 t.Errorf("TestInsertBuilderMustSql should have panicked!")
44 }
45 }()
46 Insert("").MustSql()
47}
48
49func TestInsertBuilderPlaceholders(t *testing.T) {
50 b := Insert("test").Values(1, 2)

Callers

nothing calls this directly

Calls 2

InsertFunction · 0.85
MustSqlMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…