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 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.
Functions ¶
func GetOrCreateKVStore ¶ added in v0.2.0
func GetRegistryKVStore ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.