(t *testing.T, rows *sqlx.Rows)
| 642 | } |
| 643 | |
| 644 | func readNextRow(t *testing.T, rows *sqlx.Rows) map[string]interface{} { |
| 645 | row := make(map[string]interface{}) |
| 646 | require.True(t, rows.Next()) |
| 647 | err := rows.MapScan(row) |
| 648 | require.NoError(t, err) |
| 649 | return row |
| 650 | } |
| 651 | |
| 652 | // readAllRowsIntoMaps reads all data from |rows| and returns a slice of maps, where each key |
| 653 | // in the map is the field name, and each value is the string representation of the field value. |
no test coverage detected