mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Include rows count to numeric stats view on table column
This commit is contained in:
parent
c9018e843e
commit
fb7676ab4e
File diff suppressed because one or more lines are too long
@ -677,7 +677,7 @@ function showUniqueColumnsValues(table, column, showCounts) {
|
|||||||
|
|
||||||
// Show numeric stats on the field
|
// Show numeric stats on the field
|
||||||
function showFieldNumStats(table, column) {
|
function showFieldNumStats(table, column) {
|
||||||
var query = 'SELECT min(' + column + '), max(' + column + '), avg(' + column + ') FROM ' + table;
|
var query = 'SELECT count(1), min(' + column + '), max(' + column + '), avg(' + column + ') FROM ' + table;
|
||||||
|
|
||||||
executeQuery(query, function(data) {
|
executeQuery(query, function(data) {
|
||||||
$("#input").hide();
|
$("#input").hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user