@oxia-db/client - v0.1.0
    Preparing search index...

    Interface Notification

    A single change event emitted by OxiaClient.getNotifications.

    interface Notification {
        key: string;
        type: NotificationType;
        versionId: number;
        keyRangeEnd?: string;
    }
    Index

    Properties

    key: string

    The key whose state changed.

    Kind of change.

    versionId: number

    Current version id of the record, or 0 for delete events.

    keyRangeEnd?: string

    For NotificationType.KEY_RANGE_DELETED, the exclusive end of the deleted range. undefined for other notification types.