ListSelect implements ScalarFunction uses ResolvesFromChildren
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- children() : array<int, ScalarFunction>
- Every operand of this node that is an expression, in constructor order.
- eval() : null|array<int, array<string, mixed>>
- resolved() : bool
- returns() : Type<string|int, mixed>
- The type of the column this function produces, before any row is read.
- withChildren() : static
- A copy of this node with $children in place of children(): same count, same order, same per-element narrowing. Never mutates $this.
Methods
__construct()
public
__construct(Reference|string $ref, Reference|string ...$refs) : mixed
Parameters
children()
Every operand of this node that is an expression, in constructor order.
public
children() : array<int, ScalarFunction>
Return values
array<int, ScalarFunction>eval()
public
eval(Row $row, FlowContext $context) : null|array<int, array<string, mixed>>
Parameters
- $row : Row
- $context : FlowContext
Return values
null|array<int, array<string, mixed>>resolved()
public
resolved() : bool
Return values
boolreturns()
The type of the column this function produces, before any row is read.
public
returns() : Type<string|int, mixed>
Return values
Type<string|int, mixed>withChildren()
A copy of this node with $children in place of children(): same count, same order, same per-element narrowing. Never mutates $this.
public
withChildren(array<int, FunctionTree> $children) : static
Parameters
- $children : array<int, FunctionTree>