Jack Christensen
|
90ee7b66c1
|
Add QueryEx, QueryRowEx, ExecEx, and RollbackEx to Tx
fixes #303
|
2017-08-18 14:17:53 -05:00 |
|
Jack Christensen
|
8f4178b3d3
|
Use github.com/pkg/errors
|
2017-06-04 21:30:03 -05:00 |
|
Jack Christensen
|
e896e8c311
|
Extract TxOptions beginSQL
|
2017-05-29 19:15:16 -05:00 |
|
Jack Christensen
|
8a7165dd98
|
Add ctx to PrepareEx
Remove PrepareExContext
|
2017-05-20 18:03:59 -05:00 |
|
Jack Christensen
|
d1fd222ca5
|
Add transaction context support
|
2017-05-20 17:58:19 -05:00 |
|
Jack Christensen
|
2a49569747
|
Remove AfterClose() and Conn() from Tx and Rows
|
2017-05-06 10:00:49 -05:00 |
|
Jack Christensen
|
94749e580f
|
Remove CopyTo
|
2017-03-17 14:18:25 -05:00 |
|
Jack Christensen
|
430d4943c7
|
Replace BeginIso with BeginEx
Adds support for read/write mode and deferrable modes.
|
2016-12-31 11:48:45 -06:00 |
|
Jack Christensen
|
5f7d01778e
|
Add CopyTo to support PostgreSQL copy protocol
fixes #102
|
2016-08-10 16:27:44 -05:00 |
|
Jack Christensen
|
40f00f4a82
|
Pass PrepareEx opts as pointer and DRY implementation
|
2016-05-20 08:30:10 -05:00 |
|
Jack Christensen
|
b06560aa03
|
Rename Preparex to PrepareEx
|
2016-05-20 08:14:56 -05:00 |
|
William King
|
a0d005a993
|
Doc update
|
2016-05-18 15:08:09 -07:00 |
|
William King
|
682e688c5b
|
Tx prepare/preparex
|
2016-05-18 15:05:32 -07:00 |
|
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 |
|