type alias CursorValue
Since 0.2.0

A scalar value retained by a portable keyset cursor.

Dates remain Date instances after decoding so adapters can preserve their comparison semantics instead of treating them as ordinary ISO strings.

Examples

Example 1

const createdAt: CursorValue = new Date('2026-08-31T00:00:00.000Z');

Definition

string | number | Date

See

Usage

import { type CursorValue } from "database-plugin/src/index.ts";