prorm API Reference
    Preparing search index...

    Base class for all data types

    Hierarchy (View Summary)

    Index
    key: "STRUCT" = ...
    fields: Record<string, AbstractDataType>

    The named fields of the struct, in insertion order

    • Serialize a value for storage based on this DataType

      Parameters

      • value: unknown

        The value to serialize

      Returns unknown

      The serialized value

    • Get the SQL string representation based on the dialect DuckDB: native STRUCT(field TYPE, ...) syntax Other dialects: falls back to JSON or TEXT

      Parameters

      • Optionaldialect: string

      Returns string