ColumnInfo
The `ColumnInfo` entity.
Definition
TypeScript
interface ColumnInfo {
name: string;
type: string;
notNull: boolean;
pk: boolean;
defaultValue: string | null;
}Fields
| Field | Type | Notes |
|---|---|---|
name | string | required — Column name. |
type | string | required — Declared SQL type of the column. |
notNull | boolean | required — True when the column is NOT NULL. |
pk | boolean | required — True when the column is part of the primary key. |
defaultValue | string | null | required — Default value expression as stored, or null if none. |