diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-24 11:43:06 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-24 11:43:06 -0600 |
commit | f8ad21bad37735eb7e47330383f204d7a49c0ff9 (patch) | |
tree | f264bf174c0ca41218a9cd40025ab90aeaf56ad4 /cmd/bolt/get_test.go | |
parent | Merge pull request #87 from benbjohnson/errors (diff) | |
download | dedo-f8ad21bad37735eb7e47330383f204d7a49c0ff9.tar.gz dedo-f8ad21bad37735eb7e47330383f204d7a49c0ff9.tar.xz |
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.
Diffstat (limited to 'cmd/bolt/get_test.go')
0 files changed, 0 insertions, 0 deletions