classPartialUniqueIndex
final class PartialUniqueIndex
A unique index whose candidate rows are restricted by a SQL predicate.
Properties§
public non-empty-list<string> $columnspublic string $namepublic string $predicateMethods§
public function __construct(
public string $name,
list<string> $columns,
public string $predicate,
)Parameters
$name | string | |
$columns | list<string> | |
$predicate | string |
Throws
InvalidDefinitionException When the index is missing a name, its columns, or its predicateTest cases 1
Calls 2
- function-call
trimline 29 - new InvalidDefinitionException line 30
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
PartialUniqueIndexTest::testRetainsStructuredIndexMetadatacovers and calls
Other tests reaching this symbol 1
Relations§
Constant reads 1
- class-const packages/ztd-query-core/src/Compatibility/ClassAliases.php packages/ztd-query-core/src/Compatibility/ClassAliases.php:35