Add query execution stats to api endpoint (#629)

This commit is contained in:
Dan Sosedoff
2022-12-25 13:25:18 -06:00
committed by GitHub
parent 12a4bf70c0
commit 239037b4c6
3 changed files with 33 additions and 4 deletions

View File

@@ -416,7 +416,7 @@ function buildTable(results, sortColumn, sortOrder, options) {
$("#results_body").html(rows);
// Show number of rows rendered on the page
$("#result-rows-count").html(results.rows.length + " rows");
$("#result-rows-count").html(results.stats.rows_count + " rows in " + results.stats.query_duration_ms + " ms");
}
function setCurrentTab(id) {