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

One row of a VALUES clause.

Reading a row of valuesdoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze("VALUES (1, 'a')");
    $query->statement->rows[0]->values[1]->value // => 'a'

Properties§

public non-empty-list<Scalar> $values

Methods§

public function __construct(list<Scalar> $values)

Parameters

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

Writes the values in parentheses.

Parameters

$outOutput
Calls 1

Test cases 10§

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

Dedicated tests 2
Other tests reaching this symbol 8

Relations§

Instantiated in 1
Constant reads 1
Type checks 4
Type declarations 4