remove step: 3 function refactor

This commit is contained in:
Simon Martín 2018-07-30 15:59:37 +02:00
parent fb683e438d
commit 150658d58d

View File

@ -36,9 +36,9 @@ FilterStatsBackends.prototype.getFilterStats = function (username, unfiltered_qu
if ( filters && !_.isEmpty(filters)) {
var analysisFilter = new AnalysisFilter(filters);
var query = analysisFilter.sql(unfiltered_query);
getEstimatedRows(self.pgQueryRunner, username, query, this);
} else {
this(null, null);
getEstimatedRows(self.pgQueryRunner, username, query, function () {
});
}
})
function receiveFilteredRows(err, rows) {