function countDatabaseRoundTrip
countDatabaseRoundTrip(operation: string): void

Count one actual libsql client call and stop before call 51 reaches the network. Unlike advisory N+1 reporting, this stays hard in production because Bunny would reject the same request immediately afterwards anyway.

Parameters

operation: string

Return Type

void

Usage

import { countDatabaseRoundTrip } from "doc.ts";