Skip to content

Home > extract-pg-schema > TableDetails

TableDetails interface

Table in a schema.

Signature:

typescript
export interface TableDetails extends PgType<"table">

Extends: PgType<"table">

Properties

Property

Modifiers

Type

Description

checks

TableCheck[]

Array of check constraints in the table.

columns

TableColumn[]

Array of columns in the table.

indices

TableIndex[]

Array of indices in the table.

informationSchemaValue

InformationSchemaTable

Information schema value for the table.

isRowLevelSecurityEnabled

boolean

Whether row level security is enabled on the table.

isRowLevelSecurityEnforced

boolean

Whether row level security is enforced on the table.

securityPolicies

TableSecurityPolicy[]

Array of security policies on the table.