classIndexRows
final class IndexRows
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Collects composite unique-index metadata before filtering unsupported expression indexes.
Methods§
public function append<T>(array<string, T> $uRow): voidAdds one catalog row while retaining invalid-index markers across all its columns.
Parameters
$uRow | array<string, T> |
Test cases 2
Called from 1
public function definitions(): IndexDefinitionsExcludes expression indexes and produces both SQL and partial-index metadata.
Returns
Test cases 2
Called from 1
Calls 3
- function-call
implodeline 74 - new PartialUniqueIndex line 81
- new IndexDefinitions line 83
Private surface 3§
Implementation details, listed for orientation only.
private array<string, list<string>> $uniqueConstraints = []private array<string, array{columns: list<string>, predicate: string}> $partialIndexes = []private array<string, string> $invalidIndexes = []Test cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 4
PgSqlSessionFactoryTestcallsPgSqlSchemaReflectorTestcallsUniqueIndexesTestcallsSchemaInitializerTestcalls
Relations§
Instantiated in 1
Method calls 2
- method-call ZtdQuery\Platform\Postgres\Schema\Reflection\Key\UniqueIndexes::definitions() packages/ztd-query-postgres/src/Schema/Reflection/Key/UniqueIndexes.php:24
- method-call ZtdQuery\Platform\Postgres\Schema\Reflection\Key\UniqueIndexes::definitions() packages/ztd-query-postgres/src/Schema/Reflection/Key/UniqueIndexes.php:27