Skip to content

Home > extract-pg-schema > PgType

PgType type

Base type for Postgres objects.

Signature:

typescript
type PgType<K extends Kind = Kind> = {
    name: string;
    schemaName: string;
    kind: K;
    comment: string | null;
};

References: Kind