classIndexParser
final class IndexParser
implements IndexOption
uses Snapshot
Public API: explicitly declared with
@visibility public.The WITH PARSER option of a full-text index: the full-text parser plugin.
Source: https://dev.mysql.com/doc/refman/8.4/en/create-index.html.
$create = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('CREATE TABLE t (a TEXT, FULLTEXT (a) WITH PARSER ngram)');
$create->statement->elements[1]->options[0] instanceof \SqlSemantics\Platform\MySql\Statement\Table\Key\Option\IndexParser // => trueProperties§
public Name $parserMethods§
public function render(Output $out): voidWrites the option.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 38
- class-const NameUse::Label() line 38
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.