sqlitetest

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package sqlitetest holds the helpers the Chord SQLite driver tests share.

Index

Constants

This section is empty.

Variables

View Source
var RunChangesExpected = map[string]int64{
	"insert": 1, "update": 1, "none": 0, "bulk": 10, "upsert": 1, "delete": 1, "bulkDelete": 10,
}

RunChangesExpected is what RunChanges reports on every driver.

Functions

func RunChanges

func RunChanges(database chordsqlite.SqliteExecutor) (map[string]int64, error)

RunChanges returns the rows each kind of statement changes, as RunCounted reports them: on a table with two indexes, so a driver that counted index writes (a Durable Object cursor's rows written) would report more.

Types

This section is empty.

Jump to

Keyboard shortcuts

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