classInsertedRow
final class InsertedRow
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.One parenthesized row of INSERT ... VALUES: values or DEFAULT, one per written column.
An empty row with no column list writes the default of every column. The statement that holds the row derives its values. Source: https://dev.mysql.com/doc/refman/8.4/en/insert.html.
(new \SqlSemantics\Platform\MySql\Semantics())->analyze('INSERT INTO t VALUES (1, 2), ()') // throws \SqlSemantics\Platform\MySql\Model\Diagnostic\SemanticException: Column count doesn't match value count at row 2Properties§
public list<Scalar> $valuesMethods§
public function __construct(list<Scalar> $values)Parameters
$values | list<Scalar> | The values in written order |
Calls 2
- static-call Check::listOf() line 38
- class-const Scalar::class() line 38
public function render(Output $out): voidWrites the parenthesized values.
Parameters
$out | Output |
Test cases 1
Calls 1
- method-call Output::symbol() line 46
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.