Describe the bug
Rows does not correctly works for QueryRow.
To Reproduce
pgxRows := pgxpoolmock.NewRows([]string{"server_version"}).AddRow("15.1").ToPgxRows()
pgxRows.Next() // This line is necessary to prevent panic during Scan.
db.EXPECT().QueryRow(gomock.Any(), "SHOW server_version;").Return(pgxRows)
Describe the bug Rows does not correctly works for QueryRow.
To Reproduce
Expected behavior Add
Row
struct that will correctly implementpgx.Row
interface.