DescribeTableResponse

The `DescribeTableResponse` entity.

Definition

TypeScript
interface DescribeTableResponse {
  name: string;
  columns: Array<{
    name: string;
    type: string;
    notNull: boolean;
    pk: boolean;
    defaultValue: string | null;
  }>;
  rowCount: number;
}

Fields

FieldTypeNotes
namestringrequired — Table name.
columnsArray<{ name: string; type: string; notNull: boolean; pk: boolean; defaultValue: string | null; }>required — Ordered list of columns in the table.
rowCountnumberrequired — Current row count of the table.