interfaceOptionArgument
interface OptionArgument
extends Clause
Public API: explicitly declared with
@visibility public.A value given to a named option or to a configuration parameter.
PostgreSQL's option syntax accepts a type name, a word, a reserved keyword, an operator, a signed number or a string constant, and passes each to the command as written. A word and a string constant with the same text are the same value to most commands; they are kept apart because the grammar reads them as different operands. Source: https://www.postgresql.org/docs/17/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS, https://www.postgresql.org/docs/17/sql-set.html.
$number = new \SqlSemantics\Platform\PostgreSql\Statement\Literal\SignedNumber(true, new \SqlSemantics\Platform\PostgreSql\Statement\Literal\IntegerConstant('1'));
$number instanceof \SqlSemantics\Platform\PostgreSql\Statement\Option\OptionArgument // => trueTest cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 2
Relations§
Implemented by 10
- DefaultSetting packages/sql-semantics-postgres/src/Statement/Catalog/Database/DefaultSetting.php:22
- SignedNumber packages/sql-semantics-postgres/src/Statement/Literal/SignedNumber.php:32
- StringConstant packages/sql-semantics-postgres/src/Statement/Literal/StringConstant.php:30
- CopyAllColumns packages/sql-semantics-postgres/src/Statement/Manipulation/Copy/CopyAllColumns.php:24
- CopyArguments packages/sql-semantics-postgres/src/Statement/Manipulation/Copy/CopyArguments.php:31
- OperatorName packages/sql-semantics-postgres/src/Statement/Name/OperatorName.php:33
- KeywordWord packages/sql-semantics-postgres/src/Statement/Option/KeywordWord.php:30
- Toggle packages/sql-semantics-postgres/src/Statement/Option/Toggle.php:22
- Word packages/sql-semantics-postgres/src/Statement/Option/Word.php:25
- TypeName packages/sql-semantics-postgres/src/Statement/Type/TypeName.php:40
Method calls 1
Constant reads 1
Type declarations 5
- type SqlSemantics\Platform\PostgreSql\Lowering\Leaf\Options packages/sql-semantics-postgres/src/Lowering/Leaf/Options.php:243
- type SqlSemantics\Platform\PostgreSql\Lowering\Manipulation\CopyOptionRule packages/sql-semantics-postgres/src/Lowering/Manipulation/CopyOptionRule.php:152
- type SqlSemantics\Platform\PostgreSql\Statement\Catalog\Database\DatabaseOption packages/sql-semantics-postgres/src/Statement/Catalog/Database/DatabaseOption.php:37
- type SqlSemantics\Platform\PostgreSql\Statement\Manipulation\Copy\CopyOption packages/sql-semantics-postgres/src/Statement/Manipulation/Copy/CopyOption.php:43
- type SqlSemantics\Platform\PostgreSql\Statement\Option\Definition packages/sql-semantics-postgres/src/Statement/Option/Definition.php:40