Skip to content

Search the guides, deployment pages, and API reference.

D1BatchResult

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

What one statement in a D1DatabaseDriver.batch produced.

Properties

affectedRows

affectedRows: number;

insertId

insertId: number;

rows

rows: Record<string, unknown>[];

Rows the statement returned. Empty for a write with no returning.