Skip to content

Commit d36ce8b

Browse files
committed
added docstring for WithAliasDeps
1 parent 9f49c56 commit d36ce8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/plan/project.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ func (p *Project) WithIncludesNestedIters(includesNestedIters bool) *Project {
231231
return &np
232232
}
233233

234+
// WithAliasDeps returns a new Project with the AliasDeps field set to the given map.AliasDeps maps string
235+
// representations of projected GetField expressions to whether it is projected alias dependency
234236
func (p *Project) WithAliasDeps(aliasDeps map[string]bool) *Project {
235237
np := *p
236238
np.AliasDeps = aliasDeps

0 commit comments

Comments
 (0)