IndexDef
Index
Properties
optionalclustered
columnNames
optionalcolumns
Advanced column options for the index. When specified, these options override the simple columnNames for index generation.
optionalcomposite
constraint
optionaldeferMode
optionaldisabled
Whether the index is disabled (MSSQL only).
optionalexpression
optionalfillFactor
Fill factor for the index as a percentage 0-100 (PostgreSQL, MSSQL).
optionalinclude
Columns to include in the index but not as part of the key (PostgreSQL, MSSQL).
optionalinvisible
Whether the index is invisible/hidden from the query optimizer (MySQL 8+, MariaDB 10.6+, MongoDB).
Whether the index should be clustered (MariaDB, MSSQL).