]> Cypherpunks repositories - gostls13.git/commit
database/sql: add support for multiple result sets
authorDaniel Theophanes <kardianos@gmail.com>
Thu, 6 Oct 2016 18:06:21 +0000 (11:06 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 15 Oct 2016 07:13:17 +0000 (07:13 +0000)
commit86b2f29676c52774d91dda96e0ba5d4d7bcd3b47
tree7c88e2c500d80a1edab4d4b683aa7f3ca787573f
parentbe48aa3f3a16006ab31c424487af352ca374afed
database/sql: add support for multiple result sets

Many database systems allow returning multiple result sets
in a single query. This can be useful when dealing with many
intermediate results on the server and there is a need
to return more then one arity of data to the client.

Fixes #12382

Change-Id: I480a9ac6dadfc8743e0ba8b6d868ccf8442a9ca1
Reviewed-on: https://go-review.googlesource.com/30592
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/database/sql/driver/driver.go
src/database/sql/example_test.go
src/database/sql/fakedb_test.go
src/database/sql/sql.go
src/database/sql/sql_test.go