Skip to content

Commit

Permalink
Merge pull request #354 from nic11/patch-1
Browse files Browse the repository at this point in the history
Fix docstring for Select
  • Loading branch information
funkyshu authored Dec 14, 2023
2 parents 035d999 + 339c3fe commit 21b6e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions select_dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (sd *SelectDataset) WithRecursive(name string, subquery exp.Expression) *Se
return sd.copy(sd.clauses.CommonTablesAppend(exp.NewCommonTableExpression(true, name, subquery)))
}

// Adds columns to the SELECT clause. See examples
// Replaces columns of the SELECT clause. Empty list resets the clause. See examples
// You can pass in the following.
//
// string: Will automatically be turned into an identifier
Expand All @@ -215,7 +215,7 @@ func (sd *SelectDataset) Select(selects ...interface{}) *SelectDataset {
return sd.copy(sd.clauses.SetSelect(exp.NewColumnListExpression(selects...)))
}

// Adds columns to the SELECT DISTINCT clause. See examples
// Replaces columns of the SELECT DISTINCT clause. Empty list resets the clause. See examples
// You can pass in the following.
//
// string: Will automatically be turned into an identifier
Expand Down

0 comments on commit 21b6e6d

Please sign in to comment.