{"push_id":2430591088,"size":1,"distinct_size":1,"ref":"refs/heads/upstream/master","head":"6f08b9faf2f92752b3246cf52a1f3be76c3882a9","before":"782f9ce52f5e021a8d0b0140919afecf0733c4a7","commits":[{"sha":"6f08b9faf2f92752b3246cf52a1f3be76c3882a9","author":{"name":"Kevin Burke","email":"163c23ec9d215e13ee017256f506e556ec38e49d@inburke.com"},"message":"database/sql: add more examples\n\nThis aims to expand the coverage of examples showing how the sql\npackage works, as well as to address a number of issues I've observed\nwhile explaining how the database package works:\n\n- The best way to issue UPDATE or INSERT queries, that don't need\nto scan anything in return. (Previously, we had no examples for any\nExecute statement).\n\n- How to use prepared statements and transactions.\n\n- How to aggregate arguments from a Query/QueryContext query into\na slice.\n\nFurthermore just having examples in more places should help, as users\nclick on e.g. the \"Rows\" return parameter and are treated with the\nlack of any example about how Rows is used.\n\nSwitch package examples to use QueryContext/QueryRowContext; I think\nit is a good practice to prepare users to issue queries with a timeout\nattached, even if they are not using it immediately.\n\nChange-Id: I4e63af91c7e4fff88b25f820906104ecefde4cc3\nReviewed-on: https://go-review.googlesource.com/91015\nReviewed-by: Daniel Theophanes <kardianos@gmail.com>\nRun-TryBot: Daniel Theophanes <kardianos@gmail.com>\nTryBot-Result: Gobot Gobot <gobot@golang.org>","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/third_party-go/commits/6f08b9faf2f92752b3246cf52a1f3be76c3882a9"}]}
{"actor":{"display_login":"fuchsia-infra-bot"}}