Module

x/pg_mem/utils.ts>IteratorHelper#reduce

An in memory postgres DB instance for your unit tests
Latest
method IteratorHelper.prototype.reduce
import { IteratorHelper } from "https://dotland.deno.dev/x/pg_mem@3.0.3/utils.ts";

Parameters

callbackfn: (
previousValue: U,
currentValue: T,
currentIndex: number,
) => U
initialValue: U