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.

Reading the function of an operatordoctest
$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 // => true

Methods§

public function fits(Reading $reading): bool

Tells whether the value is what the reading yields.

Parameters

$readingReading

Returns

bool

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
Type checks 4
Type declarations 2