db

package
v0.0.0-...-f5bc5b6 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() *gorm.DB

func FastJournal

func FastJournal(conn *gorm.DB)

FastJournal sacrifices data reliability for insert speed

func Migrate

func Migrate(conn *gorm.DB)

Migrate migrates the database

func Optimize

func Optimize(conn *gorm.DB)

Optimize optimizes the database

func Which

func Which() string

Which tells you the basename of the database file

Types

This section is empty.

Jump to

Keyboard shortcuts

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