Rewrite
Methods
- of() : Node
- The replacement for $original, given as $rebuilt over its rewritten children; $rebuilt itself when nothing changes.
Methods
of()
The replacement for $original, given as $rebuilt over its rewritten children; $rebuilt itself when nothing changes.
public
of(Node $original, Node $rebuilt) : Node
Apply it to a plan through LogicalPlan::transformUp(): its memo rewrites a node every consumer shares exactly once, so the shared prefix stays shared. It never reaches into a join's right side.