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

Function TestDebugSqlizerDeleteColon

squirrel_test.go:118–121  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

116var expectedDebugDeleteSQL = "DELETE FROM table WHERE (column = 'val' AND other = '1')"
117
118func TestDebugSqlizerDeleteColon(t *testing.T) {
119 testDebugDeleteSQL.PlaceholderFormat(Colon)
120 assert.Equal(t, expectedDebugDeleteSQL, DebugSqlizer(testDebugDeleteSQL))
121}
122
123func TestDebugSqlizerDeleteAtp(t *testing.T) {
124 testDebugDeleteSQL.PlaceholderFormat(AtP)

Callers

nothing calls this directly

Calls 2

DebugSqlizerFunction · 0.85
PlaceholderFormatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…