| Commit message (Expand) | Author | Age | Files | Lines |
| * | Remove DB.Open() and only allow bolt.Open().•••Per @tv42's suggestion, this commit removes the ability to reopen an
instance of DB. All open calls go through bolt.Open().
Fixes #103.
| Ben Johnson | 2014-03-31 | 1 | -18/+9 |
| * | 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 Johnson | 2014-03-24 | 1 | -22/+22 |
| * | Remove ease-of-use functions from the DB type.•••Functions such as DB.Put(), DB.Get(), and DB.Delete() were originally
added to be easy to use, however, after implementing Bolt in multiple
projects I have found these ease-of-use functions useless. Nearly
every use case requires multiple calls in a single transaction.
Using the DB ease of use functions turned out to be an antipattern.
| Ben Johnson | 2014-03-21 | 1 | -75/+117 |
| * | Consolidate Tx and RWTx. | Ben Johnson | 2014-03-08 | 1 | -14/+14 |
| * | Rename Transaction to Tx.•••I changed the Transaction/RWTransaction types to Tx/RWTx, respectively. This makes the naming
more consistent with other packages such as database/sql. The txnid is changed to txid as well.
| Ben Johnson | 2014-03-08 | 1 | -9/+9 |
| * | Refactor Bucket. | Ben Johnson | 2014-02-23 | 1 | -7/+10 |
| * | Revert "Refactor Transaction/Bucket API."•••This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9.
| Ben Johnson | 2014-02-22 | 1 | -21/+18 |
| * | Refactor Transaction/Bucket API. | Ben Johnson | 2014-02-21 | 1 | -18/+21 |
| * | Read-only transactional block. | Ben Johnson | 2014-02-16 | 1 | -0/+22 |
| * | Add Transaction.ForEach(). | Ben Johnson | 2014-02-16 | 1 | -0/+24 |
| * | Add transactional blocks. | Ben Johnson | 2014-02-15 | 1 | -0/+27 |
| * | Add examples. | Ben Johnson | 2014-02-14 | 1 | -0/+142 |