2
0

Remove Ex versions of Query and QueryRow

Always require context and prepend options to arguments if necessary.
This commit is contained in:
Jack Christensen
2019-04-10 12:12:22 -05:00
parent b69179cebb
commit 7718ee6207
26 changed files with 217 additions and 353 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ func TestLargeObjectsMultipleTransactions(t *testing.T) {
// IMPORTANT: Use the same connection for another query
query := `select n from generate_series(1,10) n`
rows, err := conn.Query(query)
rows, err := conn.Query(context.Background(), query)
if err != nil {
t.Fatal(err)
}