Extend set operator to accept sets as parameters.
This commit is contained in:
parent
240ddd65e6
commit
1fd63b8783
4 changed files with 57 additions and 8 deletions
|
|
@ -9,6 +9,7 @@ import (
|
|||
type selectStatement interface {
|
||||
Statement
|
||||
expression
|
||||
hasRows()
|
||||
|
||||
DISTINCT() selectStatement
|
||||
FROM(table readableTable) selectStatement
|
||||
|
|
@ -33,6 +34,7 @@ func SELECT(projection ...projection) selectStatement {
|
|||
// mysql's subquery performance is horrible.
|
||||
type selectStatementImpl struct {
|
||||
expressionInterfaceImpl
|
||||
isRowsType
|
||||
|
||||
table readableTable
|
||||
distinct bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue