kysely
    Preparing search index...

    Interface PostgresQueryResult<R>

    This interface is the subset of pg driver's Result shape that kysely needs.

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

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

    interface PostgresQueryResult<R> {
        command:
            | "UPDATE"
            | "DELETE"
            | "INSERT"
            | "SELECT"
            | "MERGE"
            | "COMMIT"
            | "ROLLBACK";
        rowCount: number;
        rows: R[];
    }

    Type Parameters

    • R
    Index

    Properties

    Properties

    command:
        | "UPDATE"
        | "DELETE"
        | "INSERT"
        | "SELECT"
        | "MERGE"
        | "COMMIT"
        | "ROLLBACK"
    rowCount: number
    rows: R[]