Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TableIndex

Database's table index stored in this class.

Hierarchy

  • TableIndex

Index

Constructors

constructor

Properties

columnNames

columnNames: string[] = []

Columns included in this index.

isFulltext

isFulltext: boolean

The FULLTEXT modifier indexes the entire column and does not allow prefixing. Works only in MySQL.

isSpatial

isSpatial: boolean

The SPATIAL modifier indexes the entire column and does not allow indexed columns to contain NULL values. Works only in MySQL.

isUnique

isUnique: boolean

Indicates if this index is unique.

Optional name

name: string

Index name.

where

where: string

Index filter condition.

Methods

clone

Static create

Generated using TypeDoc