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

Function ExampleNewUnion_template

sql/dml/example_test.go:398–430  ·  view source on GitHub ↗

ExampleNewUnion_template interpolates the SQL string with its placeholders and puts for each placeholder the correct encoded and escaped value into it. Eliminates the need for prepared statements. Avoids an additional round trip to the database server by sending the query and its arguments directly.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 12

writeToSQLAndInterpolateFunction · 0.85
PreserveResultSetMethod · 0.80
StringReplaceMethod · 0.80
FromAliasMethod · 0.80
OrderByMethod · 0.45
AllMethod · 0.45
WhereMethod · 0.45
AddColumnsMethod · 0.45
Int64Method · 0.45
ColumnMethod · 0.45
Int64sMethod · 0.45
InMethod · 0.45

Tested by

no test coverage detected