Functions go doc.
This commit is contained in:
parent
13c671fa3f
commit
4ab9d73a8b
7 changed files with 141 additions and 59 deletions
|
|
@ -11,7 +11,7 @@ type Clause interface {
|
|||
type ClauseWithProjections interface {
|
||||
Clause
|
||||
|
||||
projections() []Projection
|
||||
projections() ProjectionList
|
||||
}
|
||||
|
||||
type ClauseSelect struct {
|
||||
|
|
@ -19,7 +19,7 @@ type ClauseSelect struct {
|
|||
Projections []Projection
|
||||
}
|
||||
|
||||
func (s *ClauseSelect) projections() []Projection {
|
||||
func (s *ClauseSelect) projections() ProjectionList {
|
||||
return s.Projections
|
||||
}
|
||||
|
||||
|
|
@ -172,7 +172,7 @@ type ClauseSetStmtOperator struct {
|
|||
Offset ClauseOffset
|
||||
}
|
||||
|
||||
func (s *ClauseSetStmtOperator) projections() []Projection {
|
||||
func (s *ClauseSetStmtOperator) projections() ProjectionList {
|
||||
if len(s.Selects) > 0 {
|
||||
return s.Selects[0].projections()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue