Skip to content

Commit

Permalink
Fix description for Select
Browse files Browse the repository at this point in the history
  • Loading branch information
nic11 authored Sep 12, 2022
1 parent 31d438d commit 339c3fe
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
// Dataset: Will use the SQL generated from that Dataset. If the dataset is aliased it will use that alias as the
Expand All @@ -214,7 +214,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
// Dataset: Will use the SQL generated from that Dataset. If the dataset is aliased it will use that alias as the
Expand Down

0 comments on commit 339c3fe

Please sign in to comment.