MCPcopy Create free account
hub / github.com/corestoreio/pkg / compareToSQL

Function compareToSQL

sql/dml/dml_pub_test.go:123–158  ·  view source on GitHub ↗

compareToSQL compares a SQL object with a placeholder string and an optional interpolated string. This function also exists in file dml_public_test.go to avoid import cycles when using a single package dedicated for testing.

(
	t testing.TB, qb dml.QueryBuilder, wantErr bool,
	wantSQLPlaceholders, wantSQLInterpolated string,
	wantArgs ...any,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

InterpolateMethod · 0.80
ToSQLMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected