Skip to content

Search the guides, deployment pages, and API reference.

D1StatementReport

import type { D1StatementReport } from "@pitlane/data-table-d1";

What one executed statement cost, as D1 reported it.

Properties

durationMs

durationMs: number;

Wall time D1 spent, in milliseconds. 0 when D1 omits it.


kind

kind: string;

The operation that produced it: select, insert, update, and so on.


rowsRead

rowsRead: number;

Rows D1 scanned. 0 when D1 omits the figure, never estimated.


rowsWritten

rowsWritten: number;

Rows D1 persisted. 0 when D1 omits the figure, never estimated.


table

table: string | undefined;

The table it targeted, absent for a raw statement.