prorm API Reference
    Preparing search index...

    Base class for all data types

    Hierarchy (View Summary)

    Index
    key: "ARRAY" = ...

    The element type of the array (e.g., STRING, INTEGER, 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 PostgreSQL: Uses native array syntax (e.g., TEXT[], INTEGER[]) Other dialects: Falls back to JSON or TEXT

      Parameters

      • Optionaldialect: string

      Returns string