Documentation ¶
Overview ¶
Package database is a plugin that manages the badger database (e.g. garbage collection).
Index ¶
Constants ¶
View Source
const ( // DBVersion defines the version of the database schema this version of Wasp supports. // Every time there's a breaking change regarding the stored data, this version flag should be adjusted. DBVersion = 0 )
Variables ¶
View Source
var (
CoreComponent *app.CoreComponent
)
View Source
var ErrDBVersionIncompatible = errors.New("database version is not compatible. please delete your database folder and restart")
ErrDBVersionIncompatible is returned when the database has an unexpected version.
View Source
var ParamsDatabase = &ParametersDatabase{}
Functions ¶
func GetRegistryKVStore ¶
Types ¶
type ParametersDatabase ¶
Click to show internal directories.
Click to hide internal directories.