function loadPackageMemberPricingByGroupIds
loadPackageMemberPricingByGroupIds(groupIds: number[]): Promise<Map<number, PackageMemberPricing>>

The full pricing state of SEVERAL package groups, keyed by group id, in two reads however many groups are asked for — an order that books many packages would otherwise spend two round-trips per package and eat the request's subrequest budget. Every requested group is present; one with no membership rows reads as empty maps.

Parameters

groupIds: number[]

Return Type

Promise<Map<number, PackageMemberPricing>>

Usage

import { loadPackageMemberPricingByGroupIds } from "docs/database.ts";