function countDatabaseRoundTrip
countDatabaseRoundTrip(
operation: string,
enforceBudget?: boolean,
): void

enforceBudget: false exempts the call from the budget allowance only — the reserve/allowance cap the migration runner sets below the real limit. The hard round-trip limit below always applies: it mirrors Bunny's platform cap, which no call, cleanup included, can exceed. So a rollback is let past our own stricter reserve to run, but is still blocked if it would be a genuine over-the-platform-limit subrequest — exactly as Bunny would reject it.

Parameters

operation: string
optional
enforceBudget: boolean = true

Return Type

void

Usage

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