class Index

Methods

__construct(string|null $name, array $columns, array $include = [], string|null $type = null, bool $unique = false, bool $primary = false, bool $constraint = false, bool $nullsNotDistinct = false, Deferral|null $deferral = null, string|null $where = null)

Create an index definition.

Details

at line 15
__construct(string|null $name, array $columns, array $include = [], string|null $type = null, bool $unique = false, bool $primary = false, bool $constraint = false, bool $nullsNotDistinct = false, Deferral|null $deferral = null, string|null $where = null)

Create an index definition.

Parameters

string|null $name
array $columns
array $include

payload columns, not part of the indexed key

string|null $type
bool $unique
bool $primary
bool $constraint
bool $nullsNotDistinct
Deferral|null $deferral
string|null $where