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

Function NewSelectWithDerivedTable

sql/dml/select.go:71–80  ·  view source on GitHub ↗

NewSelectWithDerivedTable creates a new derived table (Subquery in the FROM Clause) using the provided sub-select in the FROM part together with an alias name. Appends the arguments of the sub-select to the parent *Select pointer arguments list. SQL result may look like: SELECT a,b FROM (SELECT x,

(subSelect *Select, aliasName string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Calls

no outgoing calls

Tested by 2