database

package
v5.0.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpMemoryDBToDisk

func DumpMemoryDBToDisk(db *gorm.DB, sqliteFilePath string) error

DumpMemoryDBToDisk vacuums the in-memory database to a disk file.

func GetSqliteDBStandalone

func GetSqliteDBStandalone(path string) (*gorm.DB, error)

GetSqliteDBStandalone returns a connection to a SQLite database. If path is empty, uses an in-memory database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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