8 Commits

Author SHA1 Message Date
Jack Christensen
04e9fbcc55 Fix some golint errors
- Add comments
- Rename variables
- Remove unnecessary "else"
2016-03-29 15:18:09 -05:00
Jack Christensen
b8486d6749 Fix Tx.status not being set on error on Commit
fixes #131
2016-03-24 15:11:04 -05:00
Jack Christensen
74b33db979 Fix unrecognized commit failure
Also add *Tx.Status() and *Tx.Err()
2016-02-13 12:47:06 -06:00
Jack Christensen
593ab9fde2 Add *Tx.Conn getter method 2016-02-13 11:07:20 -06:00
Jack Christensen
e8dcf5b3ac Add *Tx.AfterClose hook
ConnPool now implements its connection with Tx via this hook instead of
manipulating the internals of Tx.
2016-02-13 11:06:44 -06:00
Jack Christensen
ce3c76408e Tx.QueryRow implemented in terms of Tx.Query 2014-07-14 07:55:20 -05:00
Jack Christensen
ae6a87545b Use database/sql style transaction interface 2014-07-12 07:59:30 -05:00
Jack Christensen
f31665c5db wip 2014-07-12 07:11:16 -05:00