interfaceAttributeArgument
interface AttributeArgument
extends Clause
Public API: explicitly declared with
@visibility public.The value of a recognized definition attribute, read the way its command reads it.
Each class is one way of reading: an object name, a type name, a Boolean, an integer, a type length, text, or one of a fixed set of words. The written value is kept so the attribute is written back as it was given. Source: src/backend/commands/define.c of PostgreSQL 17.
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('CREATE OPERATOR === (rightarg = int4, function = int4eq)');
$operation->statement->definition[1]->value instanceof \SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\AttributeArgument // => trueMethods§
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Implemented by 7
- BooleanArgument packages/sql-semantics-postgres/src/Statement/Object/Attribute/BooleanArgument.php:34
- ChoiceArgument packages/sql-semantics-postgres/src/Statement/Object/Attribute/ChoiceArgument.php:34
- IntegerArgument packages/sql-semantics-postgres/src/Statement/Object/Attribute/IntegerArgument.php:30
- LengthArgument packages/sql-semantics-postgres/src/Statement/Object/Attribute/LengthArgument.php:31
- NameArgument packages/sql-semantics-postgres/src/Statement/Object/Attribute/NameArgument.php:45
- TextArgument packages/sql-semantics-postgres/src/Statement/Object/Attribute/TextArgument.php:32
- TypeArgument packages/sql-semantics-postgres/src/Statement/Object/Attribute/TypeArgument.php:35
Type checks 4
- instanceof SqlSemantics\Platform\PostgreSql\Rules\Routine\AttributeChecks::value() packages/sql-semantics-postgres/src/Rules/Routine/AttributeChecks.php:112
- instanceof SqlSemantics\Platform\PostgreSql\Rules\Routine\ChangeChecks::problem() packages/sql-semantics-postgres/src/Rules/Routine/ChangeChecks.php:69
- instanceof SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Attribute::__construct() packages/sql-semantics-postgres/src/Statement/Object/Attribute/Attribute.php:58
- instanceof SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Attribute::__construct() packages/sql-semantics-postgres/src/Statement/Object/Attribute/Attribute.php:61