QueryContext and ExecContext function parameters reorder.
This commit is contained in:
parent
b927769d5a
commit
733614d245
8 changed files with 14 additions and 14 deletions
|
|
@ -273,7 +273,7 @@ func TestExecWithContext(t *testing.T) {
|
|||
CROSS_JOIN(Track).
|
||||
CROSS_JOIN(InvoiceLine).
|
||||
SELECT(Album.AllColumns, Track.AllColumns, InvoiceLine.AllColumns).
|
||||
ExecContext(db, ctx)
|
||||
ExecContext(ctx, db)
|
||||
|
||||
assert.Error(t, err, "pq: canceling statement due to user request")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue