Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(254)

Issue 7085056: code review 7085056: database/sql: Add an optional Queryer-Interface (like E...

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by julienschmidt
Modified:
12 years, 4 months ago
Reviewers:
bradfitz
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

database/sql: Add an optional Queryer-Interface (like Execer) Completly the same like the Execer-Interface, just for Queries. This allows Drivers to execute Queries without preparing them first

Patch Set 1 #

Patch Set 2 : diff -r 760f1daa6700 https://code.google.com/p/go/ #

Patch Set 3 : diff -r d3ecdec9e184 https://code.google.com/p/go/ #

Patch Set 4 : diff -r d3ecdec9e184 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -26 lines) Patch
M src/pkg/database/sql/driver/driver.go View 1 1 chunk +11 lines, -0 lines 0 comments Download
M src/pkg/database/sql/fakedb_test.go View 1 1 chunk +12 lines, -0 lines 0 comments Download
M src/pkg/database/sql/sql.go View 1 2 3 6 chunks +91 lines, -26 lines 0 comments Download

Messages

Total messages: 10
julienschmidt
All test pass with $GOROOT/src/all.bash. Also tested with https://github.com/bradfitz/go-sql-test and my reference implementation of the ...
12 years, 5 months ago (2013-01-14 01:53:30 UTC) #1
julienschmidt
Hello golang-dev@googlegroups.com (cc: bradfitz@golang.org), I'd like you to review this change to https://code.google.com/p/go/
12 years, 5 months ago (2013-01-14 02:00:23 UTC) #2
bradfitz
Sorry for the slow review... I was backlogged. This looks nice. I thought there was ...
12 years, 5 months ago (2013-01-19 17:03:13 UTC) #3
julienschmidt
Thanks Brad, I wrote about the missing interface on golang-nuts a while ago but I ...
12 years, 5 months ago (2013-01-19 17:25:42 UTC) #4
julienschmidt
Hello golang-dev@googlegroups.com (cc: bradfitz@golang.org, golang-dev@googlegroups.com), Please take another look.
12 years, 5 months ago (2013-01-21 22:55:42 UTC) #5
julienschmidt
Just wondering, the function signature got quite long ... too long? Do you have any ...
12 years, 5 months ago (2013-01-21 23:04:58 UTC) #6
julienschmidt
Is there a chance that this makes it into Go 1.1?
12 years, 4 months ago (2013-02-06 20:42:08 UTC) #7
bradfitz
I think this is still in scope. It started before the cut. I've just been ...
12 years, 4 months ago (2013-02-06 21:00:18 UTC) #8
bradfitz
LGTM
12 years, 4 months ago (2013-02-13 23:25:21 UTC) #9
bradfitz
12 years, 4 months ago (2013-02-13 23:26:33 UTC) #10
*** Submitted as https://code.google.com/p/go/source/detail?r=9b7b9fa92d2c ***

database/sql: Add an optional Queryer-Interface (like Execer)

Completly the same like the Execer-Interface, just for Queries.
This allows Drivers to execute Queries without preparing them first

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7085056

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b