boltq

command module
v0.0.0-...-76c7979 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: MPL-2.0 Imports: 7 Imported by: 0

README

boltq

boltdb command line query interface

$ # list buckets
$ boltq some.db
foo
bar
$ # list keys
$ boltq some.db foo
k1
k2
$ # get value
$ boltq some.db foo k1
value1
$ # set a new value
$ boltq some.db foo k1 value9000
$ boltq -v some.db foo k1
value9000
$ # The -v is verbose mode which when reading values simply appends a newline
$
$ # Sub-buckets can be listed with -v:
$ boltq -v some.db bar
b1 (bucket)
b2 (bucket)
$ boltq some.db bar.b1
eggs
spam

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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