Skip to content

Home > extract-pg-schema > TableIndex

TableIndex interface

Index on a table.

Signature:

typescript
export interface TableIndex

Properties

Property

Modifiers

Type

Description

columns

TableIndexColumn[]

Array of index columns in order.

isPrimary

boolean

Whether the index is a primary key.

isUnique

boolean

Whether the index is unique.

name

string

Name of the index.