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.
Click to show internal directories.
Click to hide internal directories.