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

Function ExampleNewUnion

sql/dml/example_test.go:359–390  ·  view source on GitHub ↗

ExampleNewUnion constructs a UNION with three SELECTs. It preserves the results sets of each SELECT by simply adding an internal index to the columns list and sort ascending with the internal index.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

AppendMethod · 0.95
writeToSQLAndInterpolateFunction · 0.85
FromMethod · 0.80
AddColumnsAliasesMethod · 0.80
PreserveResultSetMethod · 0.80
AddColumnsConditionsMethod · 0.80
ExprMethod · 0.80
WhereMethod · 0.45
Int64Method · 0.45
ColumnMethod · 0.45
AllMethod · 0.45
OrderByDescMethod · 0.45

Tested by

no test coverage detected