final class KeyTerms
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Checks the key terms of extended statistics.

Rule: PG-KEY-TERMS-001. A key term is a column written by name or an expression; there is at least one. Source: https://www.postgresql.org/docs/17/sql-createstatistics.html. Status: Implemented.

Methods§

public function checked(array<array-key, object|scalar|null> $terms): non-empty-list<ColumnKey|ExpressionKey>

Checks a list of key terms.

Parameters

$termsarray<array-key, object|scalar|null>

Returns

non-empty-list<ColumnKey|ExpressionKey>
Test cases 1
Called from 1
Calls 3

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§

Instantiated in 1
Method calls 1