Polyglot SQL API Documentation - v0.1.0
    Preparing search index...

    Interface ColumnSchema

    Column definition in a table schema.

    interface ColumnSchema {
        name: string;
        nullable?: boolean;
        primaryKey?: boolean;
        references?: { column: string; table: string };
        type: string;
    }
    Index

    Properties

    name: string

    Column name

    nullable?: boolean

    Whether the column allows NULL values

    primaryKey?: boolean

    Whether this column is a primary key

    references?: { column: string; table: string }

    Foreign key reference to another table. Used for validating join conditions.

    type: string

    Column data type (e.g., "integer", "varchar", "timestamp"). Type names are case-insensitive.