interface KnownAttribute
Public API: explicitly declared with @visibility public.

An attribute name a command recognizes, with the way the command reads its value.

Each command compares the attribute names with the names it knows, respecting case; an unquoted name is folded to lower case first. Each command has its own set: the cases of the enum for that command. Source: https://www.postgresql.org/docs/17/sql-createoperator.html, DefineOperator in src/backend/commands/operatorcmds.c of PostgreSQL 17.

Reading how an operator reads its function attributedoctest
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Known\OperatorAttribute::named('function')?->reading() // => \SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Reading::Function

Methods§

public static function named(string $name): ?self

Answers the member with exactly this name, or null when the command does not recognize the name.

Parameters

$namestring

Returns

?self
public function text(): string

Answers the attribute name the command compares with.

Returns

string

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 11
Method calls 2
Type declarations 3