exp/sql: finish transactions, flesh out types, docs

Fixes #2328 (float, bool)

R=rsc, r
CC=golang-dev
https://golang.org/cl/5294067
This commit is contained in:
Brad Fitzpatrick 2011-11-02 11:46:04 -07:00
parent cefee3c919
commit 8089e57812
8 changed files with 434 additions and 85 deletions

View file

@ -476,7 +476,7 @@ func (rc *rowsCursor) Next(dest []interface{}) error {
for i, v := range rc.rows[rc.pos].cols {
// TODO(bradfitz): convert to subset types? naah, I
// think the subset types should only be input to
// driver, but the db package should be able to handle
// driver, but the sql package should be able to handle
// a wider range of types coming out of drivers. all
// for ease of drivers, and to prevent drivers from
// messing up conversions or doing them differently.