sqlite

package
v0.24.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempDBFile

func CreateTempDBFile() (string, error)

func CreateTemporarySQLiteDB

func CreateTemporarySQLiteDB(dbPath string, dbOptions string, config config.EnclaveConfig, logger gethlog.Logger) (enclavedb.EnclaveDB, error)

CreateTemporarySQLiteDB 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 We create 2 sqlite instances. One R/W with a single connection, and a R/O with multiple connections

Types

This section is empty.

Jump to

Keyboard shortcuts

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