d1

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDatabaseNotFound = Err(errPrefix + "database not found")

Functions

func DDLCompiler

func DDLCompiler(conn storage.Conn) (ddl.Compiler, bool)

DDLCompiler returns the ddl.Compiler half of the connection, for callers wiring up ddl.New(conn, d1.DDLCompiler(conn)) — mirrors sqlite.DDLCompiler.

func NewEdge

func NewEdge(bindingName string) (*orm.DB, error)

NewEdge opens the named D1 binding (Cloudflare edge runtime) and returns an *orm.DB.

Types

This section is empty.

Jump to

Keyboard shortcuts

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