d1sql

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package d1sql provides dbterm's database/sql adapter for Cloudflare D1.

The upstream cfd1 database/sql adapter builds columns by ranging over a map and indexes the first row even when a successful query returns no rows. This adapter deliberately uses cfd1's raw endpoint instead: that response carries an ordered column slice and represents empty result sets without panicking.

Index

Constants

View Source
const DriverName = "dbterm-d1"

DriverName is intentionally distinct from cfd1's built-in driver name so dbterm never reaches the map-backed, empty-result-unsafe adapter.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL