QuestDB JavaScript Client - v5.0.0
    Preparing search index...

    Interface QwpWriterColumn<T, DesignatedTimestamp>

    A reusable, immutable column definition for a compiled QWP table writer.

    interface QwpWriterColumn<T, DesignatedTimestamp extends boolean = false> {
        __qwpWriterInput?: T;
        designatedTimestamp: DesignatedTimestamp;
        kind: QwpWriterColumnKind;
        precisionBits?: number;
        scale?: number;
        unit?: QwpTimestampUnit;
    }

    Type Parameters

    • T
    • DesignatedTimestamp extends boolean = false
    Index

    Properties

    __qwpWriterInput?: T

    Carries the input type without adding a runtime value. Never assigned, and deliberately a plain property rather than a unique symbol: each emitted bundle would declare its own symbol, making the key nominally distinct per entry point. A column built by './qwp' would then satisfy another bundle's QwpWriterColumn without ever matching its phantom key, so QwpWriterColumnInput would infer unknown and every row field would silently accept anything. A shared property name resolves structurally across bundles, which is what keeps row typing alive for consumers of the published package.

    designatedTimestamp: DesignatedTimestamp
    precisionBits?: number

    GEOHASH precision in bits, fixed for the whole column.

    scale?: number

    DECIMAL scale, fixed for the whole column.