csvdb

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupCSVDBTest

func SetupCSVDBTest(t *testing.T) *database.Database

SetupCSVDBTest creates a csvdb-driver database connection backed by a temp directory of CSV fixture files. The database and temp directory are cleaned up automatically when the test finishes.

Unlike the SQLite integration tests, there is no createTestTables step — the tables are created at Open time from the CSV file headers. There is also no cleanupTestData step — each test gets a fresh temp directory with fresh CSV files, so there is no cross-test data leakage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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