final class ValueRow
    implements Node
    uses Snapshot
Public API: explicitly declared with @visibility public.

One row constructor of a VALUES statement: ROW(value, ...).

The VALUES statement that holds the row derives its values. Source: https://dev.mysql.com/doc/refman/8.4/en/values.html.

Reading the values of a rowdoctest
$row = new \SqlSemantics\Platform\MySql\Statement\Query\ValueRow([new \SqlSemantics\Platform\MySql\Statement\Literal\NumberLiteral('1'), new \SqlSemantics\Platform\MySql\Statement\Literal\NumberLiteral('2')]);
    count($row->values) // => 2

Properties§

public list<Scalar> $values

Methods§

public function __construct(list<Scalar> $values)

Parameters

$valueslist<Scalar>The values in written order
Calls 2
public function render(Output $out): void

Writes the row constructor.

Parameters

$outOutput
Test cases 1
Calls 1

Test cases 6§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 5

Relations§

Instantiated in 1
Constant reads 1