MattCot...@gmail.com
unread,Oct 1, 2013, 2:15:44 PM10/1/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com, kamil....@gmail.com, golan...@googlegroups.com, re...@codereview-hr.appspotmail.com
Thanks for the review.
PTAL
On 2013/10/01 05:53:38, kisielk wrote:
> I think the type can be omitted here, it doesn't add anything to the
description
> and can be looked up in the API.
Done.
On 2013/10/01 05:53:38, kisielk wrote:
> (see above) can be removed I think.
Done.
> Also the driver string depends on the driver being used but is not
necessarily the package name. eg:
github.com/lib/pq is
> used by specifying "postgres" as the driver.
I don't think this implies any particular format (since, as you mention,
it's up to the driver), but I can re-word it if it's unclear.
On 2013/10/01 05:53:38, kisielk wrote:
> result is a value, not a type. Maybe "result is a value of the Result
type". You
> should probably also note that the availability of the last insert id
and rows
> affected value is database driver-dependant.
Done.
On 2013/10/01 05:53:38, kisielk wrote:
> Not sure if this is a good pattern to encourage. Normally you'd keep a
prepared
> statement around for a while so you can reuse it.
It already says below that Close should be used, so I'll remove this.
https://codereview.appspot.com/14087043/