interface PostgresTransaction {
    client: PostgresPoolClientType;
    queryBuffer: {
        text: string;
        values: any[];
    }[];
    begin(): Promise<void>;
    commit(): Promise<void>;
    query(text: string, values?: any[]): Promise<PostgresQueryResultType>;
    release(): void;
    rollback(): Promise<void>;
}

Properties

queryBuffer: {
    text: string;
    values: any[];
}[]

Methods