Skip to content

Instance Property

name

The name of the index.
var name: any SQLExpression

Discussion

In some dialects, an index’s name may be required to be unique within an entire database or schema, not just within the same table. This name is also used as the name of the UNIQUE constraint which is added to the table, and thus must also follow the restrictions on constraint naming.