sqlite

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempDBFile

func CreateTempDBFile(dbname string) (string, error)

func CreateTemporarySQLiteHostDB

func CreateTemporarySQLiteHostDB(dbPath string, dbOptions string) (*sql.DB, error)

CreateTemporarySQLiteHostDB if dbPath is empty will use a random throwaway temp file, otherwise dbPath is a filepath for the sqldb file, allows for tests that care about persistence between restarts

Types

This section is empty.

Jump to

Keyboard shortcuts

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