classUnknownTableOption
final class UnknownTableOption
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.A table option that is neither WITHOUT ROWID nor STRICT.
The grammar accepts any name as an option; SQLite compares the written text with rowid and strict and rejects every other word, a quoted "rowid" included, with "unknown table option". Source: https://sqlite.org/syntax/table-options.html.
(new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('CREATE TABLE t (a) WITHOUT oid') // throws \SqlSemantics\Platform\Sqlite\Model\Diagnostic\SemanticException: Table option oid is unknown.Properties§
public TableOption $optionMethods§
public function __construct(public TableOption $option)Parameters
$option | TableOption | The option SQLite does not know |
public function message(): stringDescribes the problem.
Returns
stringTest cases 1
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.