prorm API Reference
    Preparing search index...

    Base class for all data types

    Hierarchy (View Summary)

    Index
    key: "UUIDV1" = ...
    • Generate a time-based UUID v1 string (static method) Note: This is a simplified, structurally-valid v1 UUID (RFC 4122 layout: time_low-time_mid-time_hi_and_version-clock_seq-node) derived from the current timestamp. It does not track a persistent MAC address or clock sequence across calls, which is acceptable for use as a unique row id.

      Returns string

    • Serialize a value for storage based on this DataType

      Parameters

      • value: unknown

        The value to serialize

      Returns unknown

      The serialized value

    • Get the default value for UUIDV1 - generates a new UUID v1 string This is called by the dialect when using UUIDV1 as a defaultValue

      Parameters

      • Optional_dialect: string

      Returns string