interface D1Result
Since 0.2.0

A D1 statement result.

Type Parameters

T = Record<string, unknown>

The row shape

Properties

readonly
results: readonly T[]

The returned rows; empty for a write.

readonly
success: boolean

Whether the statement succeeded.

Usage

import { type D1Result } from "cloudflare-plugin/src/index.ts";