Skip to content

csknk/write-read-badger-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read & Write to Badger DB

Simple utility that:

  • Writes lines from a source file into a Badger DB database
  • Reads entries from a Badger DB database to stdout/file

Lines in the source file are stored as key-value pairs, with the line number converted to byte slice used as the key and raw bytes of the line data held as the value.

Records are stored in an append-only manner, with the exception of height which tracks DB entries and allows each batch to have unique keys based on an offset.

  • TODO: Add Makefile, build binaries for reading & writing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages