2
0

Rename ForEachScannedRow to ForEachRow

This commit is contained in:
Jack Christensen
2022-07-09 16:47:28 -05:00
parent da192291f7
commit 90c2dc6f68
8 changed files with 89 additions and 89 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ func TestConnSendBatch(t *testing.T) {
rowCount = 0
rows, _ = br.Query()
_, err = pgx.ForEachScannedRow(rows, []any{&id, &description, &amount}, func() error {
_, err = pgx.ForEachRow(rows, []any{&id, &description, &amount}, func() error {
if id != selectFromLedgerExpectedRows[rowCount].id {
t.Errorf("id => %v, want %v", id, selectFromLedgerExpectedRows[rowCount].id)
}