aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt (follow)
Commit message (Expand)AuthorAgeFilesLines
...
| * Add import/export to CLI.•••This commit adds two new commands: bolt import --input INPUT PATH bolt export PATH This exports the database in a simple, nested, key/value JSON document. Each node in the document has a "key", a "value", and an optional "type". The key and value fields are both base64 encoded. Ben Johnson2014-04-1110-24/+306
| * add ldflags on build with main.commit and main.branch to MakefileSteven Normore2014-04-091-1/+3
* | Add nested buckets.•••This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56. Ben Johnson2014-04-114-7/+7
|/
* Remove count and overflow columns for free pages on 'bolt pages'.•••The count and overflow columns are meaningless for freed pages since there could be random overflow data in there. This commit removes those columns for free pages. Ben Johnson2014-04-021-4/+12
* Write freelist after each commit.•••Well, this is embarassing. Somehow the freelist was never getting written after each commit. This commit fixes that and fixes a small reporting issue with "bolt pages". Ben Johnson2014-03-311-1/+4
* Add DB.Check().Ben Johnson2014-03-292-0/+42
* Refactor bolt commands into individual files.Ben Johnson2014-03-2711-316/+395
* Make DB/Tx API more consistent.•••I consolidated the DB.Tx() and DB.RWTx() calls into a single DB.Begin(writable bool) call. This is more consistent with the database/sql library. I also changed the DB.Do() and DB.With() call to DB.Update() and DB.View(), respectively. This is more intuitive and more inline with other database verbiage. Ben Johnson2014-03-242-10/+10
* Fix print.Ben Johnson2014-03-211-6/+31
* Add 'bolt buckets'.Ben Johnson2014-03-212-0/+54
* Add 'bolt set'.Ben Johnson2014-03-212-3/+69
* Add 'bolt pages'.Ben Johnson2014-03-211-0/+45
* Add 'bolt keys'.Ben Johnson2014-03-212-3/+75
* Add 'bolt get'.Ben Johnson2014-03-212-0/+190