Rename the parent pointer to root, as the pointer often references expression multiple layers above the current expression.
This commit is contained in:
parent
1f3215c879
commit
cfc264221b
41 changed files with 390 additions and 390 deletions
|
|
@ -35,7 +35,7 @@ func CTE(name string, columns ...jet.ColumnExpression) CommonTableExpression {
|
|||
CommonTableExpression: jet.CTE(name, columns...),
|
||||
}
|
||||
|
||||
cte.parent = cte
|
||||
cte.root = cte
|
||||
|
||||
return cte
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue