
redis-cli for boltdb.boltcli [-e script] /path/to/db
Documentation for commands is available with the built-in help command:
/tmp/test.db> help
Commands: buckets, del, delglob, exists, get, help, keys, keyvalues, set, stats
/tmp/test.db> help help
Command: help command
Shows the help output for the given command.
You could run a lua script on specific database like this: boltcli -e your.lua db_path.
boltcli provides a couple of API within the global variable bolt. For example:
bolt.get("bucket", "key") -- return the value of `key` as a lua string
-- is equal to > get bucket key in the command line
See test.lua as a concrete example.
20 commits
2 commits
Go
95.1%
Lua
4.9%

redis-cli for boltdb.boltcli [-e script] /path/to/db
Documentation for commands is available with the built-in help command:
/tmp/test.db> help
Commands: buckets, del, delglob, exists, get, help, keys, keyvalues, set, stats
/tmp/test.db> help help
Command: help command
Shows the help output for the given command.
You could run a lua script on specific database like this: boltcli -e your.lua db_path.
boltcli provides a couple of API within the global variable bolt. For example:
bolt.get("bucket", "key") -- return the value of `key` as a lua string
-- is equal to > get bucket key in the command line
See test.lua as a concrete example.
20 commits
2 commits
Go
95.1%
Lua
4.9%