classInsertMethodOption
final class InsertMethodOption
implements TableOption
uses Snapshot
Public API: explicitly declared with
@visibility public.The INSERT_METHOD option of a MERGE table.
The equals sign between the option and its value is optional and is not kept. Source: https://dev.mysql.com/doc/refman/8.4/en/create-table.html#create-table-options.
$create = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('CREATE TABLE t (a INT) INSERT_METHOD = LAST');
$create->statement->options[0] instanceof \SqlSemantics\Platform\MySql\Statement\Table\Option\InsertMethodOption // => trueProperties§
public InsertMethod $methodMethods§
public function __construct(public InsertMethod $method)Parameters
$method | InsertMethod | The table that receives inserted rows |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.