kysely
    Preparing search index...

    Interface PostgresCursor<T>

    This interface is pg driver's Cursor class that kysely needs.

    We don't use the type from pg-cursor here to not have a dependency to it.

    https://node-postgres.com/apis/cursor

    interface PostgresCursor<T> {
        close(): Promise<void>;
        read(rowsCount: number): Promise<T[]>;
    }

    Type Parameters

    • T
    Index

    Methods

    Methods