Package Usage: go: github.com/advancemg/badgerhold
Package badgerhold is an indexing and querying layer on top of a badger DB. The goal is to allow easy, persistent storage
and retrieval of Go types. badgerDB is an embedded key-value store, and badgerhold serves a similar use case however with
a higher level interface for common uses of Badger.
BadgerHold deals directly with Go Types. When inserting data, you pass in your structure directly. When querying data you
pass in a pointer to a slice of the type you want to return. By default Gob encoding is used. You can put multiple
different types into the same DB file and they (and their indexes) will be stored separately.
BadgerHold will automatically create an index for any struct fields tags with "badgerholdIndex"
The first field specified in query will be used as the index (if one exists).
Queries are chained together criteria that applies to a set of fields:
2 versions
Latest release: about 3 years ago
1 dependent package
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/advancemg/badgerhold
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/advancemg%2Fbadgerhold
Dependent Repos 1
advancemg/vimb-loader
Сервис коммуникации с ВИМБSize: 905 KB - Last synced: 11 months ago - Pushed: about 2 years ago
