prorm API Reference
    Preparing search index...

    Base class for all data types

    Hierarchy (View Summary)

    Index
    key: "LIST" = ...

    The element type of the list (e.g., STRING, INTEGER, another LIST, etc.)

    • 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/PostgreSQL: native elementType[] syntax Other dialects: falls back to JSON or TEXT

      Parameters

      • Optionaldialect: string

      Returns string