Module

x/pg_mem/interfaces-private.ts>AggregationGroupComputer

An in memory postgres DB instance for your unit tests
Latest
interface AggregationGroupComputer
import { type AggregationGroupComputer } from "https://dotland.deno.dev/x/pg_mem@3.0.3/interfaces-private.ts";

Type Parameters

optional
TRet = any

Methods

feedItem(item: any): void

When iterating, this will be called for each item in this group

finish(): TRet | nil

Finish computation (sets aggregation on result)