Use modified sample method

This commit is contained in:
Daniel García Aubert 2019-08-23 17:09:53 +02:00
parent 25e3395580
commit 850bda9669

View File

@ -300,8 +300,8 @@ function (layer, dbConnection, callback) {
Promise.all([
_estimatedFeatureCount(ctx).then(
({ estimatedFeatureCount }) => _sample(ctx, estimatedFeatureCount)
.then(sampleResults => mergeResults([sampleResults, { estimatedFeatureCount }]))
({ estimatedFeatureCount }) => _sample(ctx)
.then(sampleResults => mergeResults([ sampleResults, { estimatedFeatureCount }] ))
),
_featureCount(ctx),
_aggrFeatureCount(ctx),